#CDCD9E#CDCD9E
#CDCD9E is a very light, moderate yellow. Relative luminance 0.591; OKLCH L 83.7% C 0.063 H 107.7°. Best body text is #000000 at 12.82:1 contrast (WCAG AA passes).
Color values
| HEX | #CDCD9E |
|---|---|
| RGB | rgb(205, 205, 158) |
| HSL | hsl(60, 32%, 71%) |
| HSV | hsv(60, 23%, 80%) |
| CMYK | cmyk(0%, 0%, 22.9%, 19.6%) |
| CIE-LAB | lab(81.35, -7.62, 23.49) |
| CIE-LCH | lch(81.35, 24.69, 107.97°) |
| OKLab | oklab(83.65% -0.019 0.0596) |
| OKLCH | oklch(83.65% 0.063 107.7) |
| XYZ | xyz(53.1796, 59.1111, 40.9492) |
| Luminance | 0.5911 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Beige (survey)
#E6DAA6
ΔE00 5.45
Palegoldenrod
#EEE8AA
ΔE00 7.30
Pale Olive
#B9CC81
ΔE00 7.47
Greenish Tan
#BCCB7A
ΔE00 7.80
Vanilla
#F3E5AB
ΔE00 7.83
Greenish Beige
#C9D179
ΔE00 8.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDCD9E #9E9ECD
analogous
#CDB59E #CDCD9E #B5CD9E
triadic
#CDCD9E #9ECDCD #CD9ECD
tetradic
#CDCD9E #9ECDB5 #9E9ECD #CD9EB5
square
#CDCD9E #9ECDB5 #9E9ECD #CD9EB5
split-complementary
#CDCD9E #9EB5CD #B59ECD
monochromatic
#9F9F52 #B8B876 #CDCD9E #E2E2C6 #F5F5EB
Accessibility & contrast
On white
1.64
#CDCD9E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.82
#CDCD9E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDCD9E
12.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDCD9E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDCD9E | 1.00 | 1.64 | 12.82 | 12.82 |
| #FFFFFF | 1.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D5C99B
Deuteranopia (green-blind)
#D6CBA0
Tritanopia (blue-blind)
#D4C7C0
Achromatopsia (no color)
#CACACA
Design tokens & code
CSS
--color: #cdcd9e; /* rgb */ color: rgb(205, 205, 158); /* oklch */ color: oklch(83.7% 0.063 107.7);
Tailwind
colors: {
custom: {
50: '#dcdcbb',
500: '#cdcd9e',
950: '#000000',
},
}SCSS
$custom: #cdcd9e; $custom-light: #dcdcbb; $custom-dark: #000000;
JSON
{
"hex": "#cdcd9e",
"rgb": {
"r": 205,
"g": 205,
"b": 158
},
"hsl": {
"h": 60,
"s": 31.973,
"l": 71.176
},
"oklch": {
"l": 0.83654,
"c": 0.0625,
"h": 107.7
},
"luminance": 0.5911
}Semantic roles & 50–950 ramp
primary
#CDCD9E
secondary
#6D6DA2
accent
#3BAB3B
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151511
muted
#848481