#CDCDAB#CDCDAB
#CDCDAB is a very light, muted yellow. Relative luminance 0.596; OKLCH L 83.9% C 0.046 H 107.3°. Best body text is #000000 at 12.92:1 contrast (WCAG AA passes).
Color values
| HEX | #CDCDAB |
|---|---|
| RGB | rgb(205, 205, 171) |
| HSL | hsl(60, 25%, 74%) |
| HSV | hsv(60, 17%, 80%) |
| CMYK | cmyk(0%, 0%, 16.6%, 19.6%) |
| CIE-LAB | lab(81.61, -5.71, 16.98) |
| CIE-LCH | lch(81.61, 17.91, 108.58°) |
| OKLab | oklab(83.94% -0.0136 0.0436) |
| OKLCH | oklch(83.94% 0.046 107.3) |
| XYZ | xyz(54.3583, 59.5826, 47.1571) |
| Luminance | 0.5958 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Beige (survey)
#E6DAA6
ΔE00 6.88
Palegoldenrod
#EEE8AA
ΔE00 9.18
Eggshell
#F0EAD6
ΔE00 9.25
Vanilla
#F3E5AB
ΔE00 9.29
Sand
#C2B280
ΔE00 9.54
Beige
#F5F5DC
ΔE00 9.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDCDAB #ABABCD
analogous
#CDBCAB #CDCDAB #BCCDAB
triadic
#CDCDAB #ABCDCD #CDABCD
tetradic
#CDCDAB #ABCDBC #ABABCD #CDABBC
square
#CDCDAB #ABCDBC #ABABCD #CDABBC
split-complementary
#CDCDAB #ABBCCD #BCABCD
monochromatic
#9F9F5F #B6B685 #CDCDAB #E4E4D1 #F4F4EC
Accessibility & contrast
On white
1.63
#CDCDAB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.92
#CDCDAB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDCDAB
12.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDCDAB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDCDAB | 1.00 | 1.63 | 12.92 | 12.92 |
| #FFFFFF | 1.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D3CAA9
Deuteranopia (green-blind)
#D4CCAC
Tritanopia (blue-blind)
#D2C8C3
Achromatopsia (no color)
#CBCBCB
Design tokens & code
CSS
--color: #cdcdab; /* rgb */ color: rgb(205, 205, 171); /* oklch */ color: oklch(83.9% 0.046 107.3);
Tailwind
colors: {
custom: {
50: '#dcdcc4',
500: '#cdcdab',
950: '#000000',
},
}SCSS
$custom: #cdcdab; $custom-light: #dcdcc4; $custom-dark: #000000;
JSON
{
"hex": "#cdcdab",
"rgb": {
"r": 205,
"g": 205,
"b": 171
},
"hsl": {
"h": 60,
"s": 25.373,
"l": 73.725
},
"oklch": {
"l": 0.83944,
"c": 0.04571,
"h": 107.3
},
"luminance": 0.59582
}Semantic roles & 50–950 ramp
primary
#CDCDAB
secondary
#7A7AA2
accent
#42A442
background
#FEFEFD
surface
#FCFCF9
border
#D5D5D2
text
#151512
muted
#848482