Inspect LightGoldenRodYellow (#FAFAD2) in HEX, RGB, HSL, LCH and OKLCH, check its contrast, and copy the value you need.
LightGoldenRodYellow
#FAFAD2
Black text reads best on this background, at 19.67:1.
LightGoldenRodYellow is one of the 148 CSS named colors, and resolves to #FAFAD2 in every browser. In numbers that is rgb(250, 250, 210) and hsl(60, 80%, 90%). Perceptually it is a very light, muted color: OKLCH puts its lightness at 98% and its chroma at 0.052. It sits in the yellows at 107 degrees of OKLCH hue, and reads as a warm color.
White text only reaches 1.07:1 here, so black text is the safer pairing at 19.67:1. Because it is this light, LightGoldenRodYellow works best as a page or card background with dark text over it.
The closest CSS named colors to LightGoldenRodYellow, measured with CIEDE2000, are LemonChiffon (#FFFACD), LightYellow (#FFFFE0), Beige (#F5F5DC). If LightGoldenRodYellow is not quite right, those are the nearest keywords to try before reaching for a custom value.
HEX
#FAFAD2
RGB
rgb(250, 250, 210)
HSL
hsl(60, 80%, 90%)
HWB
hwb(60 82% 2%)
CMYK
cmyk(0%, 0%, 16%, 2%)
LAB
lab(97.51 -4.8 19.29)
LCH
lch(97.51 19.88 103.98)
OKLCH
oklch(97.5% 0.0518 107.32)
WCAG asks for 4.5:1 between body text and its background. On #FAFAD2 white text measures 1.07:1 and black text 19.67:1, so black clears it and white does not.
White text on LightGoldenRodYellow
WCAG 2.2
1.07:1
APCA
Lc 0
Fails AA body text
Fails AAA body text
Fails AA large text
Black text on LightGoldenRodYellow
WCAG 2.2
19.67:1
APCA
Lc 101
Passes AA body text
Passes AAA body text
Passes AA large text
Check LightGoldenRodYellow against any other color in the contrast checker.
LightGoldenRodYellow sits at 98% OKLCH lightness. Holding its hue and chroma and moving only that value carries it down to #070600, which keeps the family recognizable instead of letting it drift toward gray the way a plain HSL ramp does.
#C2C29C
20% darker
#8D8D68
40% darker
#5C5B38
60% darker
#2E2D0B
80% darker
#070600
100% darker
Build a full accessible scale from #FAFAD2 in the shade generator.
Hues rotated around #FAFAD2 in OKLCH, then pulled back into the sRGB gamut. Each swatch is labelled with the nearest CSS named color so you have a keyword to start from.
LightGoldenRodYellow sits at 107 degrees. Rotating it a half turn lands on 287 degrees, the hue directly opposite. It is the strongest pairing you can make without changing lightness, and the one most likely to vibrate if you use both at full chroma.
The neighbors of LightGoldenRodYellow at 77 and 137 degrees. They stay close enough to read as the same family, which is what you want for hover states, secondary surfaces and gradients.
107, 227 and 347 degrees divide the wheel into thirds. Balanced enough to carry a whole palette without one color dominating the other two.
Instead of the complement at 287 degrees, this pair flanks it at 257 and 317. You keep most of the contrast of a complementary pairing while losing the harshness.
Explore more combinations around LightGoldenRodYellow on the color wheel.
The biggest shift is under tritanopia, where #FAFAD2 reads as #FFF4EE, 14.8 CIEDE2000 units away. If LightGoldenRodYellow is the only thing marking a state or a series, roughly one viewer in twelve will miss it.
Protanopia
#FFF6D0
Deuteranopia
#FFF8D3
Tritanopia
#FFF4EE
Achromatopsia
#F7F7F7
The nearest CSS keywords to #FAFAD2, ranked by perceptual distance rather than by how close their hex digits happen to look.