#CDC394#CDC394
#CDC394 is a light, moderate yellow. Relative luminance 0.541; OKLCH L 81.4% C 0.063 H 97.5°. Best body text is #000000 at 11.83:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC394 |
|---|---|
| RGB | rgb(205, 195, 148) |
| HSL | hsl(49, 36%, 69%) |
| HSV | hsv(49, 28%, 80%) |
| CMYK | cmyk(0%, 4.9%, 27.8%, 19.6%) |
| CIE-LAB | lab(78.55, -3.81, 24.94) |
| CIE-LCH | lch(78.55, 25.23, 98.68°) |
| OKLab | oklab(81.38% -0.0083 0.0629) |
| OKLCH | oklch(81.38% 0.063 97.5) |
| XYZ | xyz(50.0375, 54.1486, 35.8271) |
| Luminance | 0.5415 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 4.77
Beige (survey)
#E6DAA6
ΔE00 5.69
Putty
#BEAE8A
ΔE00 6.59
Very Light Brown
#D3B683
ΔE00 6.92
Darkkhaki
#BDB76B
ΔE00 7.33
Sandstone
#C9AE74
ΔE00 7.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC394 #949ECD
analogous
#CDA794 #CDC394 #BBCD94
triadic
#CDC394 #94CDC3 #C394CD
tetradic
#CDC394 #94CDA7 #949ECD #CD94BB
square
#CDC394 #94CDA7 #949ECD #CD94BB
split-complementary
#CDC394 #94BBCD #A794CD
monochromatic
#9D8E49 #BAAC6A #CDC394 #E0DABE #F4F2E7
Accessibility & contrast
On white
1.78
#CDC394 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.83
#CDC394 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC394
11.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC394 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC394 | 1.00 | 1.78 | 11.83 | 11.83 |
| #FFFFFF | 1.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CCC091
Deuteranopia (green-blind)
#CFC496
Tritanopia (blue-blind)
#D6BCB6
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #cdc394; /* rgb */ color: rgb(205, 195, 148); /* oklch */ color: oklch(81.4% 0.063 97.5);
Tailwind
colors: {
custom: {
50: '#ddd5b3',
500: '#cdc394',
950: '#000000',
},
}SCSS
$custom: #cdc394; $custom-light: #ddd5b3; $custom-dark: #000000;
JSON
{
"hex": "#cdc394",
"rgb": {
"r": 205,
"g": 195,
"b": 148
},
"hsl": {
"h": 49.474,
"s": 36.306,
"l": 69.216
},
"oklch": {
"l": 0.81376,
"c": 0.06346,
"h": 97.5
},
"luminance": 0.54147
}Semantic roles & 50–950 ramp
primary
#CDC394
secondary
#636EA2
accent
#4CAF36
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381