#CDC591#CDC591
#CDC591 is a light, moderate yellow. Relative luminance 0.550; OKLCH L 81.7% C 0.069 H 100.4°. Best body text is #000000 at 11.99:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC591 |
|---|---|
| RGB | rgb(205, 197, 145) |
| HSL | hsl(52, 38%, 69%) |
| HSV | hsv(52, 29%, 80%) |
| CMYK | cmyk(0%, 3.9%, 29.3%, 19.6%) |
| CIE-LAB | lab(79.02, -5.24, 27.15) |
| CIE-LCH | lch(79.02, 27.66, 100.93°) |
| OKLab | oklab(81.73% -0.0125 0.0682) |
| OKLCH | oklch(81.73% 0.069 100.4) |
| XYZ | xyz(50.2543, 54.9570, 34.7430) |
| Luminance | 0.5496 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 5.39
Beige (survey)
#E6DAA6
ΔE00 5.40
Darkkhaki
#BDB76B
ΔE00 6.48
Sand (survey)
#E2CA76
ΔE00 7.64
Very Light Brown
#D3B683
ΔE00 7.74
Putty
#BEAE8A
ΔE00 7.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC591 #9199CD
analogous
#CDA791 #CDC591 #B7CD91
triadic
#CDC591 #91CDC5 #C591CD
tetradic
#CDC591 #91CDA7 #9199CD #CD91B7
square
#CDC591 #91CDA7 #9199CD #CD91B7
split-complementary
#CDC591 #91B7CD #A791CD
monochromatic
#9C9147 #BAAF67 #CDC591 #E0DBBB #F3F1E5
Accessibility & contrast
On white
1.75
#CDC591 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.99
#CDC591 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC591
11.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC591 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC591 | 1.00 | 1.75 | 11.99 | 11.99 |
| #FFFFFF | 1.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CFC28E
Deuteranopia (green-blind)
#D1C593
Tritanopia (blue-blind)
#D6BEB7
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #cdc591; /* rgb */ color: rgb(205, 197, 145); /* oklch */ color: oklch(81.7% 0.069 100.4);
Tailwind
colors: {
custom: {
50: '#ddd6b1',
500: '#cdc591',
950: '#000000',
},
}SCSS
$custom: #cdc591; $custom-light: #ddd6b1; $custom-dark: #000000;
JSON
{
"hex": "#cdc591",
"rgb": {
"r": 205,
"g": 197,
"b": 145
},
"hsl": {
"h": 52,
"s": 37.5,
"l": 68.627
},
"oklch": {
"l": 0.81728,
"c": 0.06931,
"h": 100.4
},
"luminance": 0.54956
}Semantic roles & 50–950 ramp
primary
#CDC591
secondary
#6069A2
accent
#46B035
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381