#CDC488#CDC488
#CDC488 is a light, moderate yellow. Relative luminance 0.542; OKLCH L 81.3% C 0.079 H 100.7°. Best body text is #000000 at 11.85:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC488 |
|---|---|
| RGB | rgb(205, 196, 136) |
| HSL | hsl(52, 41%, 67%) |
| HSV | hsv(52, 34%, 80%) |
| CMYK | cmyk(0%, 4.4%, 33.7%, 19.6%) |
| CIE-LAB | lab(78.60, -5.86, 31.31) |
| CIE-LCH | lch(78.60, 31.85, 100.60°) |
| OKLab | oklab(81.35% -0.0147 0.0778) |
| OKLCH | oklch(81.35% 0.079 100.7) |
| XYZ | xyz(49.3613, 54.2378, 31.1565) |
| Luminance | 0.5424 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 5.03
Sand
#C2B280
ΔE00 5.42
Beige (survey)
#E6DAA6
ΔE00 5.98
Sand (survey)
#E2CA76
ΔE00 6.31
Greenish Beige
#C9D179
ΔE00 6.96
Greenish Tan
#BCCB7A
ΔE00 7.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC488 #8891CD
analogous
#CDA288 #CDC488 #B4CD88
triadic
#CDC488 #88CDC4 #C488CD
tetradic
#CDC488 #88CDA2 #8891CD #CD88B4
square
#CDC488 #88CDA2 #8891CD #CD88B4
split-complementary
#CDC488 #88B4CD #A288CD
monochromatic
#9A8E41 #BBAF5D #CDC488 #DFD9B3 #F1EFDE
Accessibility & contrast
On white
1.77
#CDC488 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.85
#CDC488 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC488
11.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC488 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC488 | 1.00 | 1.77 | 11.85 | 11.85 |
| #FFFFFF | 1.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CFC084
Deuteranopia (green-blind)
#D2C48A
Tritanopia (blue-blind)
#D7BCB5
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #cdc488; /* rgb */ color: rgb(205, 196, 136); /* oklch */ color: oklch(81.3% 0.079 100.7);
Tailwind
colors: {
custom: {
50: '#ddd5ab',
500: '#cdc488',
950: '#000000',
},
}SCSS
$custom: #cdc488; $custom-light: #ddd5ab; $custom-dark: #000000;
JSON
{
"hex": "#cdc488",
"rgb": {
"r": 205,
"g": 196,
"b": 136
},
"hsl": {
"h": 52.174,
"s": 40.828,
"l": 66.863
},
"oklch": {
"l": 0.81348,
"c": 0.07915,
"h": 100.7
},
"luminance": 0.54237
}Semantic roles & 50–950 ramp
primary
#CDC488
secondary
#5962A0
accent
#43B432
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381