#CDC996#CDC996
#CDC996 is a very light, moderate yellow. Relative luminance 0.570; OKLCH L 82.7% C 0.068 H 104.0°. Best body text is #000000 at 12.39:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC996 |
|---|---|
| RGB | rgb(205, 201, 150) |
| HSL | hsl(56, 35%, 70%) |
| HSV | hsv(56, 27%, 80%) |
| CMYK | cmyk(0%, 2%, 26.8%, 19.6%) |
| CIE-LAB | lab(80.15, -6.65, 26.06) |
| CIE-LCH | lch(80.15, 26.90, 104.32°) |
| OKLab | oklab(82.66% -0.0164 0.0657) |
| OKLCH | oklch(82.66% 0.068 104) |
| XYZ | xyz(51.5686, 56.9553, 37.1251) |
| Luminance | 0.5695 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Beige (survey)
#E6DAA6
ΔE00 5.15
Sand
#C2B280
ΔE00 6.82
Darkkhaki
#BDB76B
ΔE00 7.24
Palegoldenrod
#EEE8AA
ΔE00 7.50
Greenish Tan
#BCCB7A
ΔE00 7.52
Pale Olive
#B9CC81
ΔE00 7.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC996 #969ACD
analogous
#CDAE96 #CDC996 #B6CD96
triadic
#CDC996 #96CDC9 #C996CD
tetradic
#CDC996 #96CDAE #969ACD #CD96B6
square
#CDC996 #96CDAE #969ACD #CD96B6
split-complementary
#CDC996 #96B6CD #AE96CD
monochromatic
#9E984B #B9B46D #CDC996 #E1DEBF #F4F4E9
Accessibility & contrast
On white
1.69
#CDC996 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.39
#CDC996 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC996
12.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC996 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC996 | 1.00 | 1.69 | 12.39 | 12.39 |
| #FFFFFF | 1.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D2C593
Deuteranopia (green-blind)
#D4C898
Tritanopia (blue-blind)
#D5C2BB
Achromatopsia (no color)
#C7C7C7
Design tokens & code
CSS
--color: #cdc996; /* rgb */ color: rgb(205, 201, 150); /* oklch */ color: oklch(82.7% 0.068 104.0);
Tailwind
colors: {
custom: {
50: '#ddd9b5',
500: '#cdc996',
950: '#000000',
},
}SCSS
$custom: #cdc996; $custom-light: #ddd9b5; $custom-dark: #000000;
JSON
{
"hex": "#cdc996",
"rgb": {
"r": 205,
"g": 201,
"b": 150
},
"hsl": {
"h": 55.636,
"s": 35.484,
"l": 69.608
},
"oklch": {
"l": 0.82657,
"c": 0.06767,
"h": 104
},
"luminance": 0.56954
}Semantic roles & 50–950 ramp
primary
#CDC996
secondary
#6569A2
accent
#40AE37
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381