#CDC177#CDC177
#CDC177 is a light, moderate yellow. Relative luminance 0.525; OKLCH L 80.4% C 0.096 H 100.2°. Best body text is #000000 at 11.49:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC177 |
|---|---|
| RGB | rgb(205, 193, 119) |
| HSL | hsl(52, 46%, 64%) |
| HSV | hsv(52, 42%, 80%) |
| CMYK | cmyk(0%, 5.9%, 42%, 19.6%) |
| CIE-LAB | lab(77.55, -6.23, 38.72) |
| CIE-LCH | lch(77.55, 39.21, 99.15°) |
| OKLab | oklab(80.43% -0.017 0.0942) |
| OKLCH | oklch(80.43% 0.096 100.2) |
| XYZ | xyz(47.5776, 52.4524, 25.0673) |
| Luminance | 0.5245 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.49
Sand (survey)
#E2CA76
ΔE00 4.64
Sand
#C2B280
ΔE00 6.25
Greenish Beige
#C9D179
ΔE00 6.50
Tan (survey)
#D1B26F
ΔE00 6.91
Desert
#CCAD60
ΔE00 7.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC177 #7783CD
analogous
#CD9677 #CDC177 #AECD77
triadic
#CDC177 #77CDC1 #C177CD
tetradic
#CDC177 #77CD96 #7783CD #CD77AE
square
#CDC177 #77CD96 #7783CD #CD77AE
split-complementary
#CDC177 #77AECD #9677CD
monochromatic
#938636 #BDAD4A #CDC177 #DDD5A4 #EEEAD0
Accessibility & contrast
On white
1.83
#CDC177 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.49
#CDC177 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC177
11.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC177 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC177 | 1.00 | 1.83 | 11.49 | 11.49 |
| #FFFFFF | 1.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CEBD71
Deuteranopia (green-blind)
#D2C27A
Tritanopia (blue-blind)
#D9B7AF
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #cdc177; /* rgb */ color: rgb(205, 193, 119); /* oklch */ color: oklch(80.4% 0.096 100.2);
Tailwind
colors: {
custom: {
50: '#ded39f',
500: '#cdc177',
950: '#000000',
},
}SCSS
$custom: #cdc177; $custom-light: #ded39f; $custom-dark: #000000;
JSON
{
"hex": "#cdc177",
"rgb": {
"r": 205,
"g": 193,
"b": 119
},
"hsl": {
"h": 51.628,
"s": 46.237,
"l": 63.529
},
"oklch": {
"l": 0.80431,
"c": 0.09567,
"h": 100.2
},
"luminance": 0.52451
}Semantic roles & 50–950 ramp
primary
#CDC177
secondary
#4F599A
accent
#40B92C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F