#CDC598#CDC598
#CDC598 is a light, moderate yellow. Relative luminance 0.552; OKLCH L 81.9% C 0.061 H 99.1°. Best body text is #000000 at 12.04:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC598 |
|---|---|
| RGB | rgb(205, 197, 152) |
| HSL | hsl(51, 35%, 70%) |
| HSV | hsv(51, 26%, 80%) |
| CMYK | cmyk(0%, 3.9%, 25.9%, 19.6%) |
| CIE-LAB | lab(79.14, -4.31, 23.64) |
| CIE-LCH | lch(79.14, 24.02, 100.33°) |
| OKLab | oklab(81.87% -0.0096 0.0598) |
| OKLCH | oklch(81.87% 0.061 99.1) |
| XYZ | xyz(50.8107, 55.1796, 37.6738) |
| Luminance | 0.5518 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Beige (survey)
#E6DAA6
ΔE00 5.48
Sand
#C2B280
ΔE00 5.56
Putty
#BEAE8A
ΔE00 7.09
Very Light Brown
#D3B683
ΔE00 7.77
Darkkhaki
#BDB76B
ΔE00 7.89
Vanilla
#F3E5AB
ΔE00 8.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC598 #98A0CD
analogous
#CDAA98 #CDC598 #BBCD98
triadic
#CDC598 #98CDC5 #C598CD
tetradic
#CDC598 #98CDAA #98A0CD #CD98BB
square
#CDC598 #98CDAA #98A0CD #CD98BB
split-complementary
#CDC598 #98BBCD #AA98CD
monochromatic
#9E924D #B9AE6F #CDC598 #E1DCC1 #F5F3EA
Accessibility & contrast
On white
1.74
#CDC598 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.04
#CDC598 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC598
12.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC598 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC598 | 1.00 | 1.74 | 12.04 | 12.04 |
| #FFFFFF | 1.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CEC295
Deuteranopia (green-blind)
#D0C59A
Tritanopia (blue-blind)
#D5BFB9
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #cdc598; /* rgb */ color: rgb(205, 197, 152); /* oklch */ color: oklch(81.9% 0.061 99.1);
Tailwind
colors: {
custom: {
50: '#dcd6b6',
500: '#cdc598',
950: '#000000',
},
}SCSS
$custom: #cdc598; $custom-light: #dcd6b6; $custom-dark: #000000;
JSON
{
"hex": "#cdc598",
"rgb": {
"r": 205,
"g": 197,
"b": 152
},
"hsl": {
"h": 50.943,
"s": 34.641,
"l": 70
},
"oklch": {
"l": 0.81871,
"c": 0.0606,
"h": 99.1
},
"luminance": 0.55179
}Semantic roles & 50–950 ramp
primary
#CDC598
secondary
#6770A2
accent
#4AAD38
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381