#CDC596#CDC596
#CDC596 is a light, moderate yellow. Relative luminance 0.551; OKLCH L 81.8% C 0.063 H 99.5°. Best body text is #000000 at 12.02:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC596 |
|---|---|
| RGB | rgb(205, 197, 150) |
| HSL | hsl(51, 35%, 70%) |
| HSV | hsv(51, 27%, 80%) |
| CMYK | cmyk(0%, 3.9%, 26.8%, 19.6%) |
| CIE-LAB | lab(79.11, -4.58, 24.64) |
| CIE-LCH | lch(79.11, 25.06, 100.53°) |
| OKLab | oklab(81.83% -0.0104 0.0622) |
| OKLCH | oklch(81.83% 0.063 99.5) |
| XYZ | xyz(50.6483, 55.1147, 36.8184) |
| Luminance | 0.5511 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Beige (survey)
#E6DAA6
ΔE00 5.41
Sand
#C2B280
ΔE00 5.46
Putty
#BEAE8A
ΔE00 7.26
Darkkhaki
#BDB76B
ΔE00 7.47
Very Light Brown
#D3B683
ΔE00 7.73
Vanilla
#F3E5AB
ΔE00 8.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC596 #969ECD
analogous
#CDAA96 #CDC596 #BACD96
triadic
#CDC596 #96CDC5 #C596CD
tetradic
#CDC596 #96CDAA #969ECD #CD96BA
square
#CDC596 #96CDAA #969ECD #CD96BA
split-complementary
#CDC596 #96BACD #AA96CD
monochromatic
#9E924B #B9AE6D #CDC596 #E1DCBF #F4F3E9
Accessibility & contrast
On white
1.75
#CDC596 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.02
#CDC596 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC596
12.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC596 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC596 | 1.00 | 1.75 | 12.02 | 12.02 |
| #FFFFFF | 1.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CEC293
Deuteranopia (green-blind)
#D1C598
Tritanopia (blue-blind)
#D6BEB8
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #cdc596; /* rgb */ color: rgb(205, 197, 150); /* oklch */ color: oklch(81.8% 0.063 99.5);
Tailwind
colors: {
custom: {
50: '#ddd6b5',
500: '#cdc596',
950: '#000000',
},
}SCSS
$custom: #cdc596; $custom-light: #ddd6b5; $custom-dark: #000000;
JSON
{
"hex": "#cdc596",
"rgb": {
"r": 205,
"g": 197,
"b": 150
},
"hsl": {
"h": 51.273,
"s": 35.484,
"l": 69.608
},
"oklch": {
"l": 0.81829,
"c": 0.06311,
"h": 99.5
},
"luminance": 0.55114
}Semantic roles & 50–950 ramp
primary
#CDC596
secondary
#656EA2
accent
#48AE37
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381