#CDC577#CDC577
#CDC577 is a light, moderate yellow. Relative luminance 0.542; OKLCH L 81.3% C 0.100 H 103.3°. Best body text is #000000 at 11.85:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC577 |
|---|---|
| RGB | rgb(205, 197, 119) |
| HSL | hsl(54, 46%, 64%) |
| HSV | hsv(54, 42%, 80%) |
| CMYK | cmyk(0%, 3.9%, 42%, 19.6%) |
| CIE-LAB | lab(78.60, -8.30, 40.05) |
| CIE-LCH | lch(78.60, 40.90, 101.71°) |
| OKLab | oklab(81.27% -0.0229 0.0972) |
| OKLCH | oklch(81.27% 0.1 103.3) |
| XYZ | xyz(48.4738, 54.2449, 25.3660) |
| Luminance | 0.5424 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.80
Greenish Beige
#C9D179
ΔE00 4.95
Sand (survey)
#E2CA76
ΔE00 5.10
Greenish Tan
#BCCB7A
ΔE00 6.19
Pale Olive
#B9CC81
ΔE00 7.40
Sandy
#F1DA7A
ΔE00 7.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC577 #777FCD
analogous
#CD9A77 #CDC577 #AACD77
triadic
#CDC577 #77CDC5 #C577CD
tetradic
#CDC577 #77CD9A #777FCD #CD77AA
square
#CDC577 #77CD9A #777FCD #CD77AA
split-complementary
#CDC577 #77AACD #9A77CD
monochromatic
#938B36 #BDB24A #CDC577 #DDD8A4 #EEEBD0
Accessibility & contrast
On white
1.77
#CDC577 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.85
#CDC577 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC577
11.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC577 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC577 | 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)
#D2C071
Deuteranopia (green-blind)
#D5C57A
Tritanopia (blue-blind)
#D9BBB2
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #cdc577; /* rgb */ color: rgb(205, 197, 119); /* oklch */ color: oklch(81.3% 0.100 103.3);
Tailwind
colors: {
custom: {
50: '#ded69f',
500: '#cdc577',
950: '#000000',
},
}SCSS
$custom: #cdc577; $custom-light: #ded69f; $custom-dark: #000000;
JSON
{
"hex": "#cdc577",
"rgb": {
"r": 205,
"g": 197,
"b": 119
},
"hsl": {
"h": 54.419,
"s": 46.237,
"l": 63.529
},
"oklch": {
"l": 0.81267,
"c": 0.09982,
"h": 103.3
},
"luminance": 0.54244
}Semantic roles & 50–950 ramp
primary
#CDC577
secondary
#4F569A
accent
#39B92C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380