#CDC496#CDC496
#CDC496 is a light, moderate yellow. Relative luminance 0.547; OKLCH L 81.6% C 0.062 H 98.3°. Best body text is #000000 at 11.93:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC496 |
|---|---|
| RGB | rgb(205, 196, 150) |
| HSL | hsl(50, 35%, 70%) |
| HSV | hsv(50, 27%, 80%) |
| CMYK | cmyk(0%, 4.4%, 26.8%, 19.6%) |
| CIE-LAB | lab(78.85, -4.06, 24.29) |
| CIE-LCH | lch(78.85, 24.62, 99.49°) |
| OKLab | oklab(81.62% -0.0089 0.0614) |
| OKLCH | oklch(81.62% 0.062 98.3) |
| XYZ | xyz(50.4220, 54.6620, 36.7429) |
| Luminance | 0.5466 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 5.16
Beige (survey)
#E6DAA6
ΔE00 5.57
Putty
#BEAE8A
ΔE00 6.83
Very Light Brown
#D3B683
ΔE00 7.34
Darkkhaki
#BDB76B
ΔE00 7.60
Sandstone
#C9AE74
ΔE00 8.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC496 #969FCD
analogous
#CDA996 #CDC496 #BBCD96
triadic
#CDC496 #96CDC4 #C496CD
tetradic
#CDC496 #96CDA9 #969FCD #CD96BB
square
#CDC496 #96CDA9 #969FCD #CD96BB
split-complementary
#CDC496 #96BBCD #A996CD
monochromatic
#9E904B #B9AD6D #CDC496 #E1DBBF #F4F3E9
Accessibility & contrast
On white
1.76
#CDC496 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.93
#CDC496 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC496
11.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC496 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC496 | 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)
#CDC193
Deuteranopia (green-blind)
#D0C598
Tritanopia (blue-blind)
#D6BDB8
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #cdc496; /* rgb */ color: rgb(205, 196, 150); /* oklch */ color: oklch(81.6% 0.062 98.3);
Tailwind
colors: {
custom: {
50: '#ddd5b5',
500: '#cdc496',
950: '#000000',
},
}SCSS
$custom: #cdc496; $custom-light: #ddd5b5; $custom-dark: #000000;
JSON
{
"hex": "#cdc496",
"rgb": {
"r": 205,
"g": 196,
"b": 150
},
"hsl": {
"h": 50.182,
"s": 35.484,
"l": 69.608
},
"oklch": {
"l": 0.81623,
"c": 0.06203,
"h": 98.3
},
"luminance": 0.54661
}Semantic roles & 50–950 ramp
primary
#CDC496
secondary
#656FA2
accent
#4BAE37
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381