#CDC189#CDC189
#CDC189 is a light, moderate yellow. Relative luminance 0.529; OKLCH L 80.7% C 0.075 H 97.5°. Best body text is #000000 at 11.59:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC189 |
|---|---|
| RGB | rgb(205, 193, 137) |
| HSL | hsl(49, 40%, 67%) |
| HSV | hsv(49, 33%, 80%) |
| CMYK | cmyk(0%, 5.9%, 33.2%, 19.6%) |
| CIE-LAB | lab(77.83, -4.18, 29.77) |
| CIE-LCH | lch(77.83, 30.06, 97.99°) |
| OKLab | oklab(80.75% -0.0098 0.0742) |
| OKLCH | oklch(80.75% 0.075 97.5) |
| XYZ | xyz(48.7628, 52.9265, 31.3092) |
| Luminance | 0.5292 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 4.21
Darkkhaki
#BDB76B
ΔE00 5.51
Beige (survey)
#E6DAA6
ΔE00 6.21
Very Light Brown
#D3B683
ΔE00 6.39
Sand (survey)
#E2CA76
ΔE00 6.52
Sandstone
#C9AE74
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC189 #8995CD
analogous
#CD9F89 #CDC189 #B7CD89
triadic
#CDC189 #89CDC1 #C189CD
tetradic
#CDC189 #89CD9F #8995CD #CD89B7
square
#CDC189 #89CD9F #8995CD #CD89B7
split-complementary
#CDC189 #89B7CD #9F89CD
monochromatic
#9A8B41 #BBAA5E #CDC189 #DFD8B4 #F1EEDF
Accessibility & contrast
On white
1.81
#CDC189 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.59
#CDC189 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC189
11.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC189 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC189 | 1.00 | 1.81 | 11.59 | 11.59 |
| #FFFFFF | 1.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CCBE85
Deuteranopia (green-blind)
#CFC28B
Tritanopia (blue-blind)
#D7B9B2
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #cdc189; /* rgb */ color: rgb(205, 193, 137); /* oklch */ color: oklch(80.7% 0.075 97.5);
Tailwind
colors: {
custom: {
50: '#ddd3ac',
500: '#cdc189',
950: '#000000',
},
}SCSS
$custom: #cdc189; $custom-light: #ddd3ac; $custom-dark: #000000;
JSON
{
"hex": "#cdc189",
"rgb": {
"r": 205,
"g": 193,
"b": 137
},
"hsl": {
"h": 49.412,
"s": 40.476,
"l": 67.059
},
"oklch": {
"l": 0.80746,
"c": 0.07483,
"h": 97.5
},
"luminance": 0.52925
}Semantic roles & 50–950 ramp
primary
#CDC189
secondary
#5A66A1
accent
#49B432
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381