#CDC8A8#CDC8A8
#CDC8A8 is a very light, muted yellow. Relative luminance 0.571; OKLCH L 82.8% C 0.043 H 99.9°. Best body text is #000000 at 12.42:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC8A8 |
|---|---|
| RGB | rgb(205, 200, 168) |
| HSL | hsl(52, 27%, 73%) |
| HSV | hsv(52, 18%, 80%) |
| CMYK | cmyk(0%, 2.4%, 18%, 19.6%) |
| CIE-LAB | lab(80.24, -3.57, 16.66) |
| CIE-LCH | lch(80.24, 17.04, 102.08°) |
| OKLab | oklab(82.84% -0.0075 0.0428) |
| OKLCH | oklch(82.84% 0.043 99.9) |
| XYZ | xyz(52.8986, 57.1156, 45.2759) |
| Luminance | 0.5712 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Beige (survey)
#E6DAA6
ΔE00 6.94
Putty
#BEAE8A
ΔE00 7.89
Sand
#C2B280
ΔE00 8.11
Warm Gray
#C9BEB0
ΔE00 8.34
Khaki
#C3B091
ΔE00 8.46
Bland
#AFA88B
ΔE00 8.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC8A8 #A8ADCD
analogous
#CDB5A8 #CDC8A8 #BFCDA8
triadic
#CDC8A8 #A8CDC8 #C8A8CD
tetradic
#CDC8A8 #A8CDB5 #A8ADCD #CDA8BF
square
#CDC8A8 #A8CDB5 #A8ADCD #CDA8BF
split-complementary
#CDC8A8 #A8BFCD #B5A8CD
monochromatic
#9F965B #B7AF81 #CDC8A8 #E3E1CF #F4F3EC
Accessibility & contrast
On white
1.69
#CDC8A8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.42
#CDC8A8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC8A8
12.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC8A8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC8A8 | 1.00 | 1.69 | 12.42 | 12.42 |
| #FFFFFF | 1.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CFC6A6
Deuteranopia (green-blind)
#D0C8A9
Tritanopia (blue-blind)
#D3C3BF
Achromatopsia (no color)
#C7C7C7
Design tokens & code
CSS
--color: #cdc8a8; /* rgb */ color: rgb(205, 200, 168); /* oklch */ color: oklch(82.8% 0.043 99.9);
Tailwind
colors: {
custom: {
50: '#dcd8c2',
500: '#cdc8a8',
950: '#000000',
},
}SCSS
$custom: #cdc8a8; $custom-light: #dcd8c2; $custom-dark: #000000;
JSON
{
"hex": "#cdc8a8",
"rgb": {
"r": 205,
"g": 200,
"b": 168
},
"hsl": {
"h": 51.892,
"s": 27.007,
"l": 73.137
},
"oklch": {
"l": 0.82844,
"c": 0.04349,
"h": 99.9
},
"luminance": 0.57115
}Semantic roles & 50–950 ramp
primary
#CDC8A8
secondary
#777DA2
accent
#4EA640
background
#FEFEFD
surface
#FCFBF9
border
#D5D4D2
text
#151412
muted
#848382