#CDCD9C#CDCD9C
#CDCD9C is a very light, moderate yellow. Relative luminance 0.590; OKLCH L 83.6% C 0.065 H 107.7°. Best body text is #000000 at 12.81:1 contrast (WCAG AA passes).
Color values
| HEX | #CDCD9C |
|---|---|
| RGB | rgb(205, 205, 156) |
| HSL | hsl(60, 33%, 71%) |
| HSV | hsv(60, 24%, 80%) |
| CMYK | cmyk(0%, 0%, 23.9%, 19.6%) |
| CIE-LAB | lab(81.32, -7.90, 24.49) |
| CIE-LCH | lch(81.32, 25.73, 107.87°) |
| OKLab | oklab(83.61% -0.0198 0.062) |
| OKLCH | oklch(83.61% 0.065 107.7) |
| XYZ | xyz(53.0088, 59.0428, 40.0500) |
| Luminance | 0.5904 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Beige (survey)
#E6DAA6
ΔE00 5.38
Pale Olive
#B9CC81
ΔE00 7.11
Palegoldenrod
#EEE8AA
ΔE00 7.13
Greenish Tan
#BCCB7A
ΔE00 7.38
Greenish Beige
#C9D179
ΔE00 7.66
Vanilla
#F3E5AB
ΔE00 7.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDCD9C #9C9CCD
analogous
#CDB49C #CDCD9C #B4CD9C
triadic
#CDCD9C #9CCDCD #CD9CCD
tetradic
#CDCD9C #9CCDB4 #9C9CCD #CD9CB4
square
#CDCD9C #9CCDB4 #9C9CCD #CD9CB4
split-complementary
#CDCD9C #9CB4CD #B49CCD
monochromatic
#9F9F50 #B8B873 #CDCD9C #E2E2C5 #F5F5EB
Accessibility & contrast
On white
1.64
#CDCD9C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.81
#CDCD9C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDCD9C
12.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDCD9C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDCD9C | 1.00 | 1.64 | 12.81 | 12.81 |
| #FFFFFF | 1.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D5C999
Deuteranopia (green-blind)
#D6CB9E
Tritanopia (blue-blind)
#D4C7C0
Achromatopsia (no color)
#CACACA
Design tokens & code
CSS
--color: #cdcd9c; /* rgb */ color: rgb(205, 205, 156); /* oklch */ color: oklch(83.6% 0.065 107.7);
Tailwind
colors: {
custom: {
50: '#dcdcb9',
500: '#cdcd9c',
950: '#000000',
},
}SCSS
$custom: #cdcd9c; $custom-light: #dcdcb9; $custom-dark: #000000;
JSON
{
"hex": "#cdcd9c",
"rgb": {
"r": 205,
"g": 205,
"b": 156
},
"hsl": {
"h": 60,
"s": 32.886,
"l": 70.784
},
"oklch": {
"l": 0.83612,
"c": 0.06504,
"h": 107.7
},
"luminance": 0.59042
}Semantic roles & 50–950 ramp
primary
#CDCD9C
secondary
#6B6BA2
accent
#3AAC3A
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151511
muted
#848481