#CDCDA8#CDCDA8
#CDCDA8 is a very light, muted yellow. Relative luminance 0.595; OKLCH L 83.9% C 0.050 H 107.4°. Best body text is #000000 at 12.89:1 contrast (WCAG AA passes).
Color values
| HEX | #CDCDA8 |
|---|---|
| RGB | rgb(205, 205, 168) |
| HSL | hsl(60, 27%, 73%) |
| HSV | hsv(60, 18%, 80%) |
| CMYK | cmyk(0%, 0%, 18%, 19.6%) |
| CIE-LAB | lab(81.55, -6.16, 18.48) |
| CIE-LCH | lch(81.55, 19.48, 108.44°) |
| OKLab | oklab(83.87% -0.0149 0.0474) |
| OKLCH | oklch(83.87% 0.05 107.4) |
| XYZ | xyz(54.0756, 59.4695, 45.6682) |
| Luminance | 0.5947 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Beige (survey)
#E6DAA6
ΔE00 6.40
Palegoldenrod
#EEE8AA
ΔE00 8.63
Vanilla
#F3E5AB
ΔE00 8.84
Sand
#C2B280
ΔE00 9.17
Pale Olive
#B9CC81
ΔE00 9.60
Eggshell
#F0EAD6
ΔE00 9.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDCDA8 #A8A8CD
analogous
#CDBAA8 #CDCDA8 #BACDA8
triadic
#CDCDA8 #A8CDCD #CDA8CD
tetradic
#CDCDA8 #A8CDBA #A8A8CD #CDA8BA
square
#CDCDA8 #A8CDBA #A8A8CD #CDA8BA
split-complementary
#CDCDA8 #A8BACD #BAA8CD
monochromatic
#9F9F5B #B7B781 #CDCDA8 #E3E3CF #F4F4EC
Accessibility & contrast
On white
1.63
#CDCDA8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.89
#CDCDA8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDCDA8
12.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDCDA8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDCDA8 | 1.00 | 1.63 | 12.89 | 12.89 |
| #FFFFFF | 1.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D4CAA6
Deuteranopia (green-blind)
#D4CBA9
Tritanopia (blue-blind)
#D3C8C3
Achromatopsia (no color)
#CBCBCB
Design tokens & code
CSS
--color: #cdcda8; /* rgb */ color: rgb(205, 205, 168); /* oklch */ color: oklch(83.9% 0.050 107.4);
Tailwind
colors: {
custom: {
50: '#dcdcc2',
500: '#cdcda8',
950: '#000000',
},
}SCSS
$custom: #cdcda8; $custom-light: #dcdcc2; $custom-dark: #000000;
JSON
{
"hex": "#cdcda8",
"rgb": {
"r": 205,
"g": 205,
"b": 168
},
"hsl": {
"h": 60,
"s": 27.007,
"l": 73.137
},
"oklch": {
"l": 0.83874,
"c": 0.04963,
"h": 107.4
},
"luminance": 0.59469
}Semantic roles & 50–950 ramp
primary
#CDCDA8
secondary
#7777A2
accent
#40A640
background
#FEFEFD
surface
#FCFCF9
border
#D5D5D2
text
#151512
muted
#848482