#CDC188#CDC188
#CDC188 is a light, moderate yellow. Relative luminance 0.529; OKLCH L 80.7% C 0.076 H 97.7°. Best body text is #000000 at 11.58:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC188 |
|---|---|
| RGB | rgb(205, 193, 136) |
| HSL | hsl(50, 41%, 67%) |
| HSV | hsv(50, 34%, 80%) |
| CMYK | cmyk(0%, 5.9%, 33.7%, 19.6%) |
| CIE-LAB | lab(77.81, -4.30, 30.27) |
| CIE-LCH | lch(77.81, 30.58, 98.08°) |
| OKLab | oklab(80.73% -0.0102 0.0753) |
| OKLCH | oklch(80.73% 0.076 97.7) |
| XYZ | xyz(48.6914, 52.8979, 30.9332) |
| Luminance | 0.5290 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 4.28
Darkkhaki
#BDB76B
ΔE00 5.34
Beige (survey)
#E6DAA6
ΔE00 6.26
Sand (survey)
#E2CA76
ΔE00 6.37
Very Light Brown
#D3B683
ΔE00 6.45
Sandstone
#C9AE74
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC188 #8894CD
analogous
#CD9F88 #CDC188 #B7CD88
triadic
#CDC188 #88CDC1 #C188CD
tetradic
#CDC188 #88CD9F #8894CD #CD88B7
square
#CDC188 #88CD9F #8894CD #CD88B7
split-complementary
#CDC188 #88B7CD #9F88CD
monochromatic
#9A8A41 #BBAB5D #CDC188 #DFD7B3 #F1EEDE
Accessibility & contrast
On white
1.81
#CDC188 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.58
#CDC188 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC188
11.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC188 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC188 | 1.00 | 1.81 | 11.58 | 11.58 |
| #FFFFFF | 1.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CCBE84
Deuteranopia (green-blind)
#CFC28A
Tritanopia (blue-blind)
#D7B9B2
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #cdc188; /* rgb */ color: rgb(205, 193, 136); /* oklch */ color: oklch(80.7% 0.076 97.7);
Tailwind
colors: {
custom: {
50: '#ddd3ab',
500: '#cdc188',
950: '#000000',
},
}SCSS
$custom: #cdc188; $custom-light: #ddd3ab; $custom-dark: #000000;
JSON
{
"hex": "#cdc188",
"rgb": {
"r": 205,
"g": 193,
"b": 136
},
"hsl": {
"h": 49.565,
"s": 40.828,
"l": 66.863
},
"oklch": {
"l": 0.80727,
"c": 0.07602,
"h": 97.7
},
"luminance": 0.52897
}Semantic roles & 50–950 ramp
primary
#CDC188
secondary
#5965A0
accent
#48B432
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381