#CDC597#CDC597
#CDC597 is a light, moderate yellow. Relative luminance 0.551; OKLCH L 81.8% C 0.062 H 99.3°. Best body text is #000000 at 12.03:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC597 |
|---|---|
| RGB | rgb(205, 197, 151) |
| HSL | hsl(51, 35%, 70%) |
| HSV | hsv(51, 26%, 80%) |
| CMYK | cmyk(0%, 3.9%, 26.3%, 19.6%) |
| CIE-LAB | lab(79.13, -4.45, 24.14) |
| CIE-LCH | lch(79.13, 24.54, 100.43°) |
| OKLab | oklab(81.85% -0.01 0.061) |
| OKLCH | oklch(81.85% 0.062 99.3) |
| XYZ | xyz(50.7292, 55.1470, 37.2443) |
| Luminance | 0.5515 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Beige (survey)
#E6DAA6
ΔE00 5.44
Sand
#C2B280
ΔE00 5.51
Putty
#BEAE8A
ΔE00 7.17
Darkkhaki
#BDB76B
ΔE00 7.68
Very Light Brown
#D3B683
ΔE00 7.74
Vanilla
#F3E5AB
ΔE00 8.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC597 #979FCD
analogous
#CDAA97 #CDC597 #BACD97
triadic
#CDC597 #97CDC5 #C597CD
tetradic
#CDC597 #97CDAA #979FCD #CD97BA
square
#CDC597 #97CDAA #979FCD #CD97BA
split-complementary
#CDC597 #97BACD #AA97CD
monochromatic
#9E924C #B9AE6E #CDC597 #E1DCC0 #F5F3EA
Accessibility & contrast
On white
1.75
#CDC597 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.03
#CDC597 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC597
12.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC597 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC597 | 1.00 | 1.75 | 12.03 | 12.03 |
| #FFFFFF | 1.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CEC294
Deuteranopia (green-blind)
#D1C599
Tritanopia (blue-blind)
#D5BEB9
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #cdc597; /* rgb */ color: rgb(205, 197, 151); /* oklch */ color: oklch(81.8% 0.062 99.3);
Tailwind
colors: {
custom: {
50: '#dcd6b5',
500: '#cdc597',
950: '#000000',
},
}SCSS
$custom: #cdc597; $custom-light: #dcd6b5; $custom-dark: #000000;
JSON
{
"hex": "#cdc597",
"rgb": {
"r": 205,
"g": 197,
"b": 151
},
"hsl": {
"h": 51.111,
"s": 35.065,
"l": 69.804
},
"oklch": {
"l": 0.8185,
"c": 0.06186,
"h": 99.3
},
"luminance": 0.55146
}Semantic roles & 50–950 ramp
primary
#CDC597
secondary
#666FA2
accent
#49AE38
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381