#CDC498#CDC498
#CDC498 is a light, muted yellow. Relative luminance 0.547; OKLCH L 81.7% C 0.060 H 97.8°. Best body text is #000000 at 11.95:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC498 |
|---|---|
| RGB | rgb(205, 196, 152) |
| HSL | hsl(50, 35%, 70%) |
| HSV | hsv(50, 26%, 80%) |
| CMYK | cmyk(0%, 4.4%, 25.9%, 19.6%) |
| CIE-LAB | lab(78.88, -3.79, 23.28) |
| CIE-LCH | lch(78.88, 23.59, 99.24°) |
| OKLab | oklab(81.66% -0.0081 0.059) |
| OKLCH | oklch(81.66% 0.06 97.8) |
| XYZ | xyz(50.5844, 54.7270, 37.5983) |
| Luminance | 0.5473 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 5.29
Beige (survey)
#E6DAA6
ΔE00 5.67
Putty
#BEAE8A
ΔE00 6.65
Very Light Brown
#D3B683
ΔE00 7.39
Khaki
#C3B091
ΔE00 7.84
Darkkhaki
#BDB76B
ΔE00 8.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC498 #98A1CD
analogous
#CDA998 #CDC498 #BCCD98
triadic
#CDC498 #98CDC4 #C498CD
tetradic
#CDC498 #98CDA9 #98A1CD #CD98BC
square
#CDC498 #98CDA9 #98A1CD #CD98BC
split-complementary
#CDC498 #98BCCD #A998CD
monochromatic
#9E904D #B9AC6F #CDC498 #E1DCC1 #F5F3EA
Accessibility & contrast
On white
1.76
#CDC498 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.95
#CDC498 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC498
11.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC498 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC498 | 1.00 | 1.76 | 11.95 | 11.95 |
| #FFFFFF | 1.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDC195
Deuteranopia (green-blind)
#D0C599
Tritanopia (blue-blind)
#D5BEB8
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #cdc498; /* rgb */ color: rgb(205, 196, 152); /* oklch */ color: oklch(81.7% 0.060 97.8);
Tailwind
colors: {
custom: {
50: '#dcd5b6',
500: '#cdc498',
950: '#000000',
},
}SCSS
$custom: #cdc498; $custom-light: #dcd5b6; $custom-dark: #000000;
JSON
{
"hex": "#cdc498",
"rgb": {
"r": 205,
"g": 196,
"b": 152
},
"hsl": {
"h": 49.811,
"s": 34.641,
"l": 70
},
"oklch": {
"l": 0.81665,
"c": 0.05953,
"h": 97.8
},
"luminance": 0.54726
}Semantic roles & 50–950 ramp
primary
#CDC498
secondary
#6771A2
accent
#4CAD38
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381