#CDCDA2#CDCDA2
#CDCDA2 is a very light, muted yellow. Relative luminance 0.593; OKLCH L 83.7% C 0.057 H 107.6°. Best body text is #000000 at 12.85:1 contrast (WCAG AA passes).
Color values
| HEX | #CDCDA2 |
|---|---|
| RGB | rgb(205, 205, 162) |
| HSL | hsl(60, 30%, 72%) |
| HSV | hsv(60, 21%, 80%) |
| CMYK | cmyk(0%, 0%, 21%, 19.6%) |
| CIE-LAB | lab(81.43, -7.04, 21.48) |
| CIE-LCH | lch(81.43, 22.61, 108.15°) |
| OKLab | oklab(83.74% -0.0173 0.0547) |
| OKLCH | oklch(83.74% 0.057 107.6) |
| XYZ | xyz(53.5295, 59.2510, 42.7921) |
| Luminance | 0.5925 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Beige (survey)
#E6DAA6
ΔE00 5.70
Palegoldenrod
#EEE8AA
ΔE00 7.74
Vanilla
#F3E5AB
ΔE00 8.14
Pale Olive
#B9CC81
ΔE00 8.25
Sand
#C2B280
ΔE00 8.61
Greenish Tan
#BCCB7A
ΔE00 8.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDCDA2 #A2A2CD
analogous
#CDB8A2 #CDCDA2 #B8CDA2
triadic
#CDCDA2 #A2CDCD #CDA2CD
tetradic
#CDCDA2 #A2CDB8 #A2A2CD #CDA2B8
square
#CDCDA2 #A2CDB8 #A2A2CD #CDA2B8
split-complementary
#CDCDA2 #A2B8CD #B8A2CD
monochromatic
#9F9F56 #B8B87A #CDCDA2 #E2E2CA #F4F4EB
Accessibility & contrast
On white
1.63
#CDCDA2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.85
#CDCDA2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDCDA2
12.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDCDA2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDCDA2 | 1.00 | 1.63 | 12.85 | 12.85 |
| #FFFFFF | 1.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D4C99F
Deuteranopia (green-blind)
#D5CBA4
Tritanopia (blue-blind)
#D4C7C1
Achromatopsia (no color)
#CACACA
Design tokens & code
CSS
--color: #cdcda2; /* rgb */ color: rgb(205, 205, 162); /* oklch */ color: oklch(83.7% 0.057 107.6);
Tailwind
colors: {
custom: {
50: '#dcdcbd',
500: '#cdcda2',
950: '#000000',
},
}SCSS
$custom: #cdcda2; $custom-light: #dcdcbd; $custom-dark: #000000;
JSON
{
"hex": "#cdcda2",
"rgb": {
"r": 205,
"g": 205,
"b": 162
},
"hsl": {
"h": 60,
"s": 30.07,
"l": 71.961
},
"oklch": {
"l": 0.8374,
"c": 0.05739,
"h": 107.6
},
"luminance": 0.5925
}Semantic roles & 50–950 ramp
primary
#CDCDA2
secondary
#7171A2
accent
#3DA93D
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151512
muted
#848482