#CDC389#CDC389
#CDC389 is a light, moderate yellow. Relative luminance 0.538; OKLCH L 81.2% C 0.077 H 99.6°. Best body text is #000000 at 11.76:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC389 |
|---|---|
| RGB | rgb(205, 195, 137) |
| HSL | hsl(51, 40%, 67%) |
| HSV | hsv(51, 33%, 80%) |
| CMYK | cmyk(0%, 4.9%, 33.2%, 19.6%) |
| CIE-LAB | lab(78.35, -5.22, 30.46) |
| CIE-LCH | lch(78.35, 30.91, 99.72°) |
| OKLab | oklab(81.16% -0.0128 0.0758) |
| OKLCH | oklch(81.16% 0.077 99.6) |
| XYZ | xyz(49.2079, 53.8167, 31.4576) |
| Luminance | 0.5382 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 4.97
Darkkhaki
#BDB76B
ΔE00 5.25
Beige (survey)
#E6DAA6
ΔE00 5.97
Sand (survey)
#E2CA76
ΔE00 6.44
Very Light Brown
#D3B683
ΔE00 7.24
Sandstone
#C9AE74
ΔE00 7.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC389 #8993CD
analogous
#CDA189 #CDC389 #B5CD89
triadic
#CDC389 #89CDC3 #C389CD
tetradic
#CDC389 #89CDA1 #8993CD #CD89B5
square
#CDC389 #89CDA1 #8993CD #CD89B5
split-complementary
#CDC389 #89B5CD #A189CD
monochromatic
#9A8D41 #BBAD5E #CDC389 #DFD9B4 #F1EFDF
Accessibility & contrast
On white
1.79
#CDC389 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.76
#CDC389 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC389
11.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC389 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC389 | 1.00 | 1.79 | 11.76 | 11.76 |
| #FFFFFF | 1.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CEBF85
Deuteranopia (green-blind)
#D1C48B
Tritanopia (blue-blind)
#D7BBB4
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #cdc389; /* rgb */ color: rgb(205, 195, 137); /* oklch */ color: oklch(81.2% 0.077 99.6);
Tailwind
colors: {
custom: {
50: '#ddd5ac',
500: '#cdc389',
950: '#000000',
},
}SCSS
$custom: #cdc389; $custom-light: #ddd5ac; $custom-dark: #000000;
JSON
{
"hex": "#cdc389",
"rgb": {
"r": 205,
"g": 195,
"b": 137
},
"hsl": {
"h": 51.176,
"s": 40.476,
"l": 67.059
},
"oklch": {
"l": 0.81159,
"c": 0.07689,
"h": 99.6
},
"luminance": 0.53815
}Semantic roles & 50–950 ramp
primary
#CDC389
secondary
#5A64A1
accent
#45B432
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381