#CDC396#CDC396
#CDC396 is a light, moderate yellow. Relative luminance 0.542; OKLCH L 81.4% C 0.061 H 97.0°. Best body text is #000000 at 11.84:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC396 |
|---|---|
| RGB | rgb(205, 195, 150) |
| HSL | hsl(49, 35%, 70%) |
| HSV | hsv(49, 27%, 80%) |
| CMYK | cmyk(0%, 4.9%, 26.8%, 19.6%) |
| CIE-LAB | lab(78.59, -3.54, 23.93) |
| CIE-LCH | lch(78.59, 24.19, 98.41°) |
| OKLab | oklab(81.42% -0.0075 0.0605) |
| OKLCH | oklch(81.42% 0.061 97) |
| XYZ | xyz(50.1972, 54.2124, 36.6680) |
| Luminance | 0.5421 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 4.88
Beige (survey)
#E6DAA6
ΔE00 5.76
Putty
#BEAE8A
ΔE00 6.39
Very Light Brown
#D3B683
ΔE00 6.95
Khaki
#C3B091
ΔE00 7.60
Darkkhaki
#BDB76B
ΔE00 7.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC396 #96A0CD
analogous
#CDA896 #CDC396 #BCCD96
triadic
#CDC396 #96CDC3 #C396CD
tetradic
#CDC396 #96CDA8 #96A0CD #CD96BC
square
#CDC396 #96CDA8 #96A0CD #CD96BC
split-complementary
#CDC396 #96BCCD #A896CD
monochromatic
#9E8F4B #B9AB6D #CDC396 #E1DBBF #F4F2E9
Accessibility & contrast
On white
1.77
#CDC396 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.84
#CDC396 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC396
11.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC396 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC396 | 1.00 | 1.77 | 11.84 | 11.84 |
| #FFFFFF | 1.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CCC093
Deuteranopia (green-blind)
#CFC497
Tritanopia (blue-blind)
#D6BCB7
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #cdc396; /* rgb */ color: rgb(205, 195, 150); /* oklch */ color: oklch(81.4% 0.061 97.0);
Tailwind
colors: {
custom: {
50: '#ddd5b5',
500: '#cdc396',
950: '#000000',
},
}SCSS
$custom: #cdc396; $custom-light: #ddd5b5; $custom-dark: #000000;
JSON
{
"hex": "#cdc396",
"rgb": {
"r": 205,
"g": 195,
"b": 150
},
"hsl": {
"h": 49.091,
"s": 35.484,
"l": 69.608
},
"oklch": {
"l": 0.81417,
"c": 0.06098,
"h": 97
},
"luminance": 0.54211
}Semantic roles & 50–950 ramp
primary
#CDC396
secondary
#6570A2
accent
#4DAE37
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381