#CDC99D#CDC99D
#CDC99D is a very light, muted yellow. Relative luminance 0.572; OKLCH L 82.8% C 0.059 H 103.3°. Best body text is #000000 at 12.44:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC99D |
|---|---|
| RGB | rgb(205, 201, 157) |
| HSL | hsl(55, 32%, 71%) |
| HSV | hsv(55, 23%, 80%) |
| CMYK | cmyk(0%, 2%, 23.4%, 19.6%) |
| CIE-LAB | lab(80.28, -5.69, 22.55) |
| CIE-LCH | lch(80.28, 23.26, 104.17°) |
| OKLab | oklab(82.8% -0.0135 0.0573) |
| OKLCH | oklch(82.8% 0.059 103.3) |
| XYZ | xyz(52.1492, 57.1876, 40.1829) |
| Luminance | 0.5719 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Beige (survey)
#E6DAA6
ΔE00 5.34
Sand
#C2B280
ΔE00 7.06
Vanilla
#F3E5AB
ΔE00 8.03
Palegoldenrod
#EEE8AA
ΔE00 8.06
Putty
#BEAE8A
ΔE00 8.49
Darkkhaki
#BDB76B
ΔE00 8.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC99D #9DA1CD
analogous
#CDB19D #CDC99D #B9CD9D
triadic
#CDC99D #9DCDC9 #C99DCD
tetradic
#CDC99D #9DCDB1 #9DA1CD #CD9DB9
square
#CDC99D #9DCDB1 #9DA1CD #CD9DB9
split-complementary
#CDC99D #9DB9CD #B19DCD
monochromatic
#9F9851 #B8B374 #CDC99D #E2DFC6 #F5F4EB
Accessibility & contrast
On white
1.69
#CDC99D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.44
#CDC99D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC99D
12.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC99D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC99D | 1.00 | 1.69 | 12.44 | 12.44 |
| #FFFFFF | 1.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D1C69A
Deuteranopia (green-blind)
#D3C89F
Tritanopia (blue-blind)
#D4C3BD
Achromatopsia (no color)
#C7C7C7
Design tokens & code
CSS
--color: #cdc99d; /* rgb */ color: rgb(205, 201, 157); /* oklch */ color: oklch(82.8% 0.059 103.3);
Tailwind
colors: {
custom: {
50: '#dcd9ba',
500: '#cdc99d',
950: '#000000',
},
}SCSS
$custom: #cdc99d; $custom-light: #dcd9ba; $custom-dark: #000000;
JSON
{
"hex": "#cdc99d",
"rgb": {
"r": 205,
"g": 201,
"b": 157
},
"hsl": {
"h": 55,
"s": 32.432,
"l": 70.98
},
"oklch": {
"l": 0.82803,
"c": 0.05883,
"h": 103.3
},
"luminance": 0.57187
}Semantic roles & 50–950 ramp
primary
#CDC99D
secondary
#6C70A2
accent
#44AB3A
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381