#CDC392#CDC392
#CDC392 is a light, moderate yellow. Relative luminance 0.541; OKLCH L 81.3% C 0.066 H 97.9°. Best body text is #000000 at 11.82:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC392 |
|---|---|
| RGB | rgb(205, 195, 146) |
| HSL | hsl(50, 37%, 69%) |
| HSV | hsv(50, 29%, 80%) |
| CMYK | cmyk(0%, 4.9%, 28.8%, 19.6%) |
| CIE-LAB | lab(78.51, -4.07, 25.95) |
| CIE-LCH | lch(78.51, 26.26, 98.92°) |
| OKLab | oklab(81.34% -0.0091 0.0653) |
| OKLCH | oklch(81.34% 0.066 97.9) |
| XYZ | xyz(49.8806, 54.0858, 35.0005) |
| Luminance | 0.5409 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 4.71
Beige (survey)
#E6DAA6
ΔE00 5.66
Putty
#BEAE8A
ΔE00 6.81
Darkkhaki
#BDB76B
ΔE00 6.91
Very Light Brown
#D3B683
ΔE00 6.92
Sandstone
#C9AE74
ΔE00 7.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC392 #929CCD
analogous
#CDA692 #CDC392 #BACD92
triadic
#CDC392 #92CDC3 #C392CD
tetradic
#CDC392 #92CDA6 #929CCD #CD92BA
square
#CDC392 #92CDA6 #929CCD #CD92BA
split-complementary
#CDC392 #92BACD #A692CD
monochromatic
#9D8E48 #BAAC68 #CDC392 #E0DABC #F3F1E6
Accessibility & contrast
On white
1.78
#CDC392 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.82
#CDC392 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC392
11.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC392 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC392 | 1.00 | 1.78 | 11.82 | 11.82 |
| #FFFFFF | 1.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDC08F
Deuteranopia (green-blind)
#D0C494
Tritanopia (blue-blind)
#D6BCB6
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #cdc392; /* rgb */ color: rgb(205, 195, 146); /* oklch */ color: oklch(81.3% 0.066 97.9);
Tailwind
colors: {
custom: {
50: '#ddd5b2',
500: '#cdc392',
950: '#000000',
},
}SCSS
$custom: #cdc392; $custom-light: #ddd5b2; $custom-dark: #000000;
JSON
{
"hex": "#cdc392",
"rgb": {
"r": 205,
"g": 195,
"b": 146
},
"hsl": {
"h": 49.831,
"s": 37.107,
"l": 68.824
},
"oklch": {
"l": 0.81335,
"c": 0.06593,
"h": 97.9
},
"luminance": 0.54085
}Semantic roles & 50–950 ramp
primary
#CDC392
secondary
#616CA2
accent
#4AB035
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151411
muted
#848381