#CDC477#CDC477
#CDC477 is a light, moderate yellow. Relative luminance 0.538; OKLCH L 81.1% C 0.099 H 102.5°. Best body text is #000000 at 11.76:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC477 |
|---|---|
| RGB | rgb(205, 196, 119) |
| HSL | hsl(54, 46%, 64%) |
| HSV | hsv(54, 42%, 80%) |
| CMYK | cmyk(0%, 4.4%, 42%, 19.6%) |
| CIE-LAB | lab(78.34, -7.78, 39.72) |
| CIE-LCH | lch(78.34, 40.47, 101.09°) |
| OKLab | oklab(81.06% -0.0214 0.0964) |
| OKLCH | oklch(81.06% 0.099 102.5) |
| XYZ | xyz(48.2475, 53.7923, 25.2906) |
| Luminance | 0.5379 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.66
Sand (survey)
#E2CA76
ΔE00 4.94
Greenish Beige
#C9D179
ΔE00 5.33
Greenish Tan
#BCCB7A
ΔE00 6.50
Sand
#C2B280
ΔE00 7.25
Sandy
#F1DA7A
ΔE00 7.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC477 #7780CD
analogous
#CD9977 #CDC477 #ABCD77
triadic
#CDC477 #77CDC4 #C477CD
tetradic
#CDC477 #77CD99 #7780CD #CD77AB
square
#CDC477 #77CD99 #7780CD #CD77AB
split-complementary
#CDC477 #77ABCD #9977CD
monochromatic
#938A36 #BDB14A #CDC477 #DDD7A4 #EEEBD0
Accessibility & contrast
On white
1.79
#CDC477 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.76
#CDC477 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC477
11.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC477 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC477 | 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)
#D1BF71
Deuteranopia (green-blind)
#D4C47A
Tritanopia (blue-blind)
#D9BAB1
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #cdc477; /* rgb */ color: rgb(205, 196, 119); /* oklch */ color: oklch(81.1% 0.099 102.5);
Tailwind
colors: {
custom: {
50: '#ded59f',
500: '#cdc477',
950: '#000000',
},
}SCSS
$custom: #cdc477; $custom-light: #ded59f; $custom-dark: #000000;
JSON
{
"hex": "#cdc477",
"rgb": {
"r": 205,
"g": 196,
"b": 119
},
"hsl": {
"h": 53.721,
"s": 46.237,
"l": 63.529
},
"oklch": {
"l": 0.81057,
"c": 0.09876,
"h": 102.5
},
"luminance": 0.53791
}Semantic roles & 50–950 ramp
primary
#CDC477
secondary
#4F569A
accent
#3BB92C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F