#CDC296#CDC296
#CDC296 is a light, muted yellow. Relative luminance 0.538; OKLCH L 81.2% C 0.060 H 95.7°. Best body text is #000000 at 11.75:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC296 |
|---|---|
| RGB | rgb(205, 194, 150) |
| HSL | hsl(48, 35%, 70%) |
| HSV | hsv(48, 27%, 80%) |
| CMYK | cmyk(0%, 5.4%, 26.8%, 19.6%) |
| CIE-LAB | lab(78.33, -3.02, 23.58) |
| CIE-LCH | lch(78.33, 23.77, 97.29°) |
| OKLab | oklab(81.21% -0.006 0.0597) |
| OKLCH | oklch(81.21% 0.06 95.7) |
| XYZ | xyz(49.9739, 53.7658, 36.5936) |
| Luminance | 0.5376 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 4.64
Putty
#BEAE8A
ΔE00 5.96
Beige (survey)
#E6DAA6
ΔE00 6.00
Very Light Brown
#D3B683
ΔE00 6.58
Khaki
#C3B091
ΔE00 7.10
Sandstone
#C9AE74
ΔE00 7.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC296 #96A1CD
analogous
#CDA796 #CDC296 #BDCD96
triadic
#CDC296 #96CDC2 #C296CD
tetradic
#CDC296 #96CDA7 #96A1CD #CD96BD
square
#CDC296 #96CDA7 #96A1CD #CD96BD
split-complementary
#CDC296 #96BDCD #A796CD
monochromatic
#9E8D4B #B9AA6D #CDC296 #E1DABF #F4F2E9
Accessibility & contrast
On white
1.79
#CDC296 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.75
#CDC296 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC296
11.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC296 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC296 | 1.00 | 1.79 | 11.75 | 11.75 |
| #FFFFFF | 1.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CBC093
Deuteranopia (green-blind)
#CEC397
Tritanopia (blue-blind)
#D6BBB6
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #cdc296; /* rgb */ color: rgb(205, 194, 150); /* oklch */ color: oklch(81.2% 0.060 95.7);
Tailwind
colors: {
custom: {
50: '#ddd4b5',
500: '#cdc296',
950: '#000000',
},
}SCSS
$custom: #cdc296; $custom-light: #ddd4b5; $custom-dark: #000000;
JSON
{
"hex": "#cdc296",
"rgb": {
"r": 205,
"g": 194,
"b": 150
},
"hsl": {
"h": 48,
"s": 35.484,
"l": 69.608
},
"oklch": {
"l": 0.81211,
"c": 0.05996,
"h": 95.7
},
"luminance": 0.53765
}Semantic roles & 50–950 ramp
primary
#CDC296
secondary
#6571A2
accent
#4FAE37
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381