#CDC295#CDC295
#CDC295 is a light, moderate yellow. Relative luminance 0.537; OKLCH L 81.2% C 0.061 H 96.0°. Best body text is #000000 at 11.75:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC295 |
|---|---|
| RGB | rgb(205, 194, 149) |
| HSL | hsl(48, 36%, 69%) |
| HSV | hsv(48, 27%, 80%) |
| CMYK | cmyk(0%, 5.4%, 27.3%, 19.6%) |
| CIE-LAB | lab(78.31, -3.15, 24.08) |
| CIE-LCH | lch(78.31, 24.29, 97.46°) |
| OKLab | oklab(81.19% -0.0064 0.0609) |
| OKLCH | oklch(81.19% 0.061 96) |
| XYZ | xyz(49.8937, 53.7338, 36.1713) |
| Luminance | 0.5373 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 4.56
Beige (survey)
#E6DAA6
ΔE00 5.94
Putty
#BEAE8A
ΔE00 6.06
Very Light Brown
#D3B683
ΔE00 6.55
Khaki
#C3B091
ΔE00 7.25
Sandstone
#C9AE74
ΔE00 7.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC295 #95A0CD
analogous
#CDA695 #CDC295 #BCCD95
triadic
#CDC295 #95CDC2 #C295CD
tetradic
#CDC295 #95CDA6 #95A0CD #CD95BC
square
#CDC295 #95CDA6 #95A0CD #CD95BC
split-complementary
#CDC295 #95BCCD #A695CD
monochromatic
#9D8D4A #B9AA6B #CDC295 #E1DABF #F4F2E8
Accessibility & contrast
On white
1.79
#CDC295 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.75
#CDC295 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC295
11.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC295 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC295 | 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)
#CBBF92
Deuteranopia (green-blind)
#CEC396
Tritanopia (blue-blind)
#D6BBB6
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #cdc295; /* rgb */ color: rgb(205, 194, 149); /* oklch */ color: oklch(81.2% 0.061 96.0);
Tailwind
colors: {
custom: {
50: '#ddd4b4',
500: '#cdc295',
950: '#000000',
},
}SCSS
$custom: #cdc295; $custom-light: #ddd4b4; $custom-dark: #000000;
JSON
{
"hex": "#cdc295",
"rgb": {
"r": 205,
"g": 194,
"b": 149
},
"hsl": {
"h": 48.214,
"s": 35.897,
"l": 69.412
},
"oklch": {
"l": 0.8119,
"c": 0.0612,
"h": 96
},
"luminance": 0.53733
}Semantic roles & 50–950 ramp
primary
#CDC295
secondary
#6470A2
accent
#4EAF37
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381