#CDC696#CDC696
#CDC696 is a very light, moderate yellow. Relative luminance 0.556; OKLCH L 82.0% C 0.064 H 100.7°. Best body text is #000000 at 12.11:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC696 |
|---|---|
| RGB | rgb(205, 198, 150) |
| HSL | hsl(52, 35%, 70%) |
| HSV | hsv(52, 27%, 80%) |
| CMYK | cmyk(0%, 3.4%, 26.8%, 19.6%) |
| CIE-LAB | lab(79.37, -5.10, 25.00) |
| CIE-LCH | lch(79.37, 25.51, 101.53°) |
| OKLab | oklab(82.04% -0.0119 0.0631) |
| OKLCH | oklch(82.04% 0.064 100.7) |
| XYZ | xyz(50.8761, 55.5703, 36.8943) |
| Luminance | 0.5557 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Beige (survey)
#E6DAA6
ΔE00 5.29
Sand
#C2B280
ΔE00 5.78
Darkkhaki
#BDB76B
ΔE00 7.36
Putty
#BEAE8A
ΔE00 7.69
Vanilla
#F3E5AB
ΔE00 7.98
Very Light Brown
#D3B683
ΔE00 8.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC696 #969DCD
analogous
#CDAB96 #CDC696 #B9CD96
triadic
#CDC696 #96CDC6 #C696CD
tetradic
#CDC696 #96CDAB #969DCD #CD96B9
square
#CDC696 #96CDAB #969DCD #CD96B9
split-complementary
#CDC696 #96B9CD #AB96CD
monochromatic
#9E934B #B9AF6D #CDC696 #E1DDBF #F4F3E9
Accessibility & contrast
On white
1.73
#CDC696 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.11
#CDC696 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC696
12.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC696 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC696 | 1.00 | 1.73 | 12.11 | 12.11 |
| #FFFFFF | 1.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CFC393
Deuteranopia (green-blind)
#D1C698
Tritanopia (blue-blind)
#D5BFB9
Achromatopsia (no color)
#C5C5C5
Design tokens & code
CSS
--color: #cdc696; /* rgb */ color: rgb(205, 198, 150); /* oklch */ color: oklch(82.0% 0.064 100.7);
Tailwind
colors: {
custom: {
50: '#ddd7b5',
500: '#cdc696',
950: '#000000',
},
}SCSS
$custom: #cdc696; $custom-light: #ddd7b5; $custom-dark: #000000;
JSON
{
"hex": "#cdc696",
"rgb": {
"r": 205,
"g": 198,
"b": 150
},
"hsl": {
"h": 52.364,
"s": 35.484,
"l": 69.608
},
"oklch": {
"l": 0.82036,
"c": 0.06421,
"h": 100.7
},
"luminance": 0.55569
}Semantic roles & 50–950 ramp
primary
#CDC696
secondary
#656DA2
accent
#46AE37
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381