#CDC495#CDC495
#CDC495 is a light, moderate yellow. Relative luminance 0.546; OKLCH L 81.6% C 0.063 H 98.5°. Best body text is #000000 at 11.93:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC495 |
|---|---|
| RGB | rgb(205, 196, 149) |
| HSL | hsl(50, 36%, 69%) |
| HSV | hsv(50, 27%, 80%) |
| CMYK | cmyk(0%, 4.4%, 27.3%, 19.6%) |
| CIE-LAB | lab(78.83, -4.20, 24.79) |
| CIE-LCH | lch(78.83, 25.14, 99.60°) |
| OKLab | oklab(81.6% -0.0094 0.0626) |
| OKLCH | oklch(81.6% 0.063 98.5) |
| XYZ | xyz(50.3418, 54.6300, 36.3207) |
| Luminance | 0.5463 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 5.11
Beige (survey)
#E6DAA6
ΔE00 5.53
Putty
#BEAE8A
ΔE00 6.92
Very Light Brown
#D3B683
ΔE00 7.32
Darkkhaki
#BDB76B
ΔE00 7.39
Sandstone
#C9AE74
ΔE00 8.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC495 #959ECD
analogous
#CDA895 #CDC495 #BACD95
triadic
#CDC495 #95CDC4 #C495CD
tetradic
#CDC495 #95CDA8 #959ECD #CD95BA
square
#CDC495 #95CDA8 #959ECD #CD95BA
split-complementary
#CDC495 #95BACD #A895CD
monochromatic
#9D904A #B9AD6B #CDC495 #E1DBBF #F4F2E8
Accessibility & contrast
On white
1.76
#CDC495 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.93
#CDC495 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC495
11.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC495 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC495 | 1.00 | 1.76 | 11.93 | 11.93 |
| #FFFFFF | 1.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDC192
Deuteranopia (green-blind)
#D0C597
Tritanopia (blue-blind)
#D6BDB7
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #cdc495; /* rgb */ color: rgb(205, 196, 149); /* oklch */ color: oklch(81.6% 0.063 98.5);
Tailwind
colors: {
custom: {
50: '#ddd5b4',
500: '#cdc495',
950: '#000000',
},
}SCSS
$custom: #cdc495; $custom-light: #ddd5b4; $custom-dark: #000000;
JSON
{
"hex": "#cdc495",
"rgb": {
"r": 205,
"g": 196,
"b": 149
},
"hsl": {
"h": 50.357,
"s": 35.897,
"l": 69.412
},
"oklch": {
"l": 0.81602,
"c": 0.06328,
"h": 98.5
},
"luminance": 0.54629
}Semantic roles & 50–950 ramp
primary
#CDC495
secondary
#646EA2
accent
#4AAF37
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381