Free Accessible CSS Gradient Generator

← All Colors
#FAFAD2 Light Goldenrod Yellow

Light Goldenrod Yellow Hex Code #FAFAD2

Light Goldenrod Yellow is a very light, muted yellow with the hex code #FAFAD2. In RGB it is 250, 250, 210, and in HSL it is 60°, 80%, 90%. It is one of the 148 named colors in CSS, so you can write “lightgoldenrodyellow” instead of the hex code.

HEX
#FAFAD2
RGB
rgb(250, 250, 210)
HSL
hsl(60, 80%, 90%)
HSV
hsv(60°, 16%, 98%)
CMYK
cmyk(0%, 0%, 16%, 2%)
CSS name
lightgoldenrodyellow

CMYK is a simple screen-to-print estimate. Real print results depend on the printer and paper.

About Light Goldenrod Yellow

On a white background Light Goldenrod Yellow has a contrast ratio of 1.07:1 (Fail), and on black 19.67:1 (AAA). Black text is the better choice on top of it.

It sits on the warm side of the color wheel, a range that tends to feel energetic and appears to advance toward the viewer.

Yellow is the brightest hue, so it is excellent for highlights but difficult to read as text on a white background. Pair it with dark text rather than white.

Shades and tints of Light Goldenrod Yellow

Tints mix Light Goldenrod Yellow with white and shades mix it with black, in steps of 20%. Select a swatch to copy its hex code.

Color harmonies for Light Goldenrod Yellow

These schemes are calculated from Light Goldenrod Yellow on the RGB (screen) color wheel. Select a swatch to copy it, or open any scheme in the color wheel to adjust it.

Analogous

Open in the color wheel

Triadic

Open in the color wheel

Tetradic

Open in the color wheel

Square

Open in the color wheel

On the artist’s RYB wheel, the complement of Light Goldenrod Yellow is #E9D2FA, close to the named color Thistle.

Light Goldenrod Yellow contrast and accessibility

WCAG asks for a contrast ratio of at least 4.5:1 for normal text and 3:1 for large text (AA), and 7:1 and 4.5:1 for AAA. This is how Light Goldenrod Yellow scores against white and black.

Contrast of Light Goldenrod Yellow with white and black
AgainstRatioAA normalAA largeAAA normalAAA large
White (#ffffff) 1.07:1 ✕ Fail ✕ Fail ✕ Fail ✕ Fail
Black (#000000) 19.67:1 ✓ Pass ✓ Pass ✓ Pass ✓ Pass
Aa White text on Light Goldenrod Yellow1.07:1
Aa Black text on Light Goldenrod Yellow19.67:1

Light Goldenrod Yellow and color blindness

These are approximate previews of how Light Goldenrod Yellow can look with the main types of color vision deficiency.

Protanopia #FFF6D0

Light Goldenrod Yellow looks almost the same.

Deuteranopia #FFF8D3

Light Goldenrod Yellow looks almost the same.

Tritanopia #FFF5EF

Light Goldenrod Yellow shifts slightly.

Achromatopsia #F7F7F7

Light Goldenrod Yellow changes noticeably.

Gradients with Light Goldenrod Yellow

Three ready-made starting points. Copy the CSS, or open one in the generator to edit the stops and check contrast.

Light Goldenrod Yellow to a lighter tint

background: linear-gradient(135deg, #fafad2 0%, #fdfded 100%);

Light Goldenrod Yellow to its analogous neighbour

background: linear-gradient(135deg, #fafad2 0%, #e6fad2 100%);

Light Goldenrod Yellow to its complement

background: linear-gradient(135deg, #fafad2 0%, #d2d2fa 100%);

Colors similar to Light Goldenrod Yellow

How each close match differs from Light Goldenrod Yellow.

More yellow colors →

Use Light Goldenrod Yellow in code

CSS
.element {
  color: #fafad2;
  background-color: #fafad2;
  border-color: lightgoldenrodyellow;   /* lightgoldenrodyellow is a valid CSS color name */
}
CSS variable
:root {
  --color-light-goldenrod-yellow: #fafad2;
}
Tailwind
<!-- Tailwind arbitrary values -->
<div class="bg-[#fafad2] text-[#fafad2] border-[#fafad2]"></div>

/* Tailwind v4 theme color */
@theme {
  --color-light-goldenrod-yellow: #fafad2;
}

Light Goldenrod Yellow questions

What is the hex code for Light Goldenrod Yellow?

The hex code for Light Goldenrod Yellow is #FAFAD2. In RGB that is rgb(250, 250, 210), and in HSL it is hsl(60, 80%, 90%).

What is the complementary color of Light Goldenrod Yellow?

On the RGB (screen) color wheel, the complement of Light Goldenrod Yellow is #D2D2FA, which is close to Light Steel Blue. On the artist’s RYB wheel it is #E9D2FA, close to Thistle.

Should I use white or black text on Light Goldenrod Yellow?

Black text. It has a contrast ratio of 19.67:1 against Light Goldenrod Yellow, which is WCAG AAA. The other option scores 1.07:1.

Is Light Goldenrod Yellow accessible as a text color on white?

No. Light Goldenrod Yellow on white scores 1.07:1, which is below the WCAG minimum of 3:1 even for large text.

What are darker and lighter shades of Light Goldenrod Yellow?

Mixing Light Goldenrod Yellow with black gives #C8C8A8, #96967E, #646454, #32322A (20% to 80% black). Mixing it with white gives #FBFBDB, #FCFCE4, #FDFDED, #FEFEF6 (20% to 80% white).

More color tools