Inspect PaleGoldenRod (#EEE8AA) in HEX, RGB, HSL, LCH and OKLCH, check its contrast, and copy the value you need.
PaleGoldenRod
#EEE8AA
Black text reads best on this background, at 16.76:1.
PaleGoldenRod is one of the 148 CSS named colors, and resolves to #EEE8AA in every browser. In numbers that is rgb(238, 232, 170) and hsl(55, 67%, 80%). Perceptually it is a very light, muted color: OKLCH puts its lightness at 92% and its chroma at 0.08. It sits in the yellows at 103 degrees of OKLCH hue, and reads as a warm color.
White text only reaches 1.25:1 here, so black text is the safer pairing at 16.76:1. Because it is this light, PaleGoldenRod works best as a page or card background with dark text over it.
The closest CSS named colors to PaleGoldenRod, measured with CIEDE2000, are Khaki (#F0E68C), LemonChiffon (#FFFACD), LightGoldenRodYellow (#FAFAD2). If PaleGoldenRod is not quite right, those are the nearest keywords to try before reaching for a custom value.
HEX
#EEE8AA
RGB
rgb(238, 232, 170)
HSL
hsl(55, 67%, 80%)
HWB
hwb(55 67% 7%)
CMYK
cmyk(0%, 3%, 29%, 7%)
LAB
lab(91.37 -4.82 31.04)
LCH
lch(91.37 31.42 98.82)
OKLCH
oklch(92.1% 0.0798 103.18)
WCAG asks for 4.5:1 between body text and its background. On #EEE8AA white text measures 1.25:1 and black text 16.76:1, so black clears it and white does not.
White text on PaleGoldenRod
WCAG 2.2
1.25:1
APCA
Lc 14
Fails AA body text
Fails AAA body text
Fails AA large text
Black text on PaleGoldenRod
WCAG 2.2
16.76:1
APCA
Lc 91
Passes AA body text
Passes AAA body text
Passes AA large text
Check PaleGoldenRod against any other color in the contrast checker.
PaleGoldenRod sits at 92% OKLCH lightness. Holding its hue and chroma and moving only that value carries it up to #FFFBCE and down to #070600, which keeps the family recognizable instead of letting it drift toward gray the way a plain HSL ramp does.
#F2ECAE
20% lighter
#F6F0B2
40% lighter
#FAF4B5
60% lighter
#FEF8B9
80% lighter
#FFFBCE
100% lighter
#BAB478
20% darker
#898348
40% darker
#5B5418
60% darker
#2E2A00
80% darker
#070600
100% darker
Build a full accessible scale from #EEE8AA in the shade generator.
Hues rotated around #EEE8AA 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.
PaleGoldenRod sits at 103 degrees. Rotating it a half turn lands on 283 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 PaleGoldenRod at 73 and 133 degrees. They stay close enough to read as the same family, which is what you want for hover states, secondary surfaces and gradients.
103, 223 and 343 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 283 degrees, this pair flanks it at 253 and 313. You keep most of the contrast of a complementary pairing while losing the harshness.
Explore more combinations around PaleGoldenRod on the color wheel.
The biggest shift is under tritanopia, where #EEE8AA reads as #FBDED5, 21.7 CIEDE2000 units away. If PaleGoldenRod is the only thing marking a state or a series, roughly one viewer in twelve will miss it.
Protanopia
#F6E3A7
Deuteranopia
#F8E7AC
Tritanopia
#FBDED5
Achromatopsia
#E5E5E5
The nearest CSS keywords to #EEE8AA, ranked by perceptual distance rather than by how close their hex digits happen to look.