#CDC077#CDC077
#CDC077 is a light, moderate yellow. Relative luminance 0.520; OKLCH L 80.2% C 0.095 H 99.4°. Best body text is #000000 at 11.40:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC077 |
|---|---|
| RGB | rgb(205, 192, 119) |
| HSL | hsl(51, 46%, 64%) |
| HSV | hsv(51, 42%, 80%) |
| CMYK | cmyk(0%, 6.3%, 42%, 19.6%) |
| CIE-LAB | lab(77.29, -5.72, 38.38) |
| CIE-LCH | lch(77.29, 38.81, 98.47°) |
| OKLab | oklab(80.22% -0.0155 0.0934) |
| OKLCH | oklch(80.22% 0.095 99.4) |
| XYZ | xyz(47.3573, 52.0118, 24.9939) |
| Luminance | 0.5201 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.52
Sand (survey)
#E2CA76
ΔE00 4.60
Sand
#C2B280
ΔE00 5.92
Tan (survey)
#D1B26F
ΔE00 6.51
Greenish Beige
#C9D179
ΔE00 6.91
Desert
#CCAD60
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC077 #7784CD
analogous
#CD9577 #CDC077 #AFCD77
triadic
#CDC077 #77CDC0 #C077CD
tetradic
#CDC077 #77CD95 #7784CD #CD77AF
square
#CDC077 #77CD95 #7784CD #CD77AF
split-complementary
#CDC077 #77AFCD #9577CD
monochromatic
#938536 #BDAB4A #CDC077 #DDD5A4 #EEE9D0
Accessibility & contrast
On white
1.84
#CDC077 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.40
#CDC077 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC077
11.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC077 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC077 | 1.00 | 1.84 | 11.40 | 11.40 |
| #FFFFFF | 1.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDBC71
Deuteranopia (green-blind)
#D1C17A
Tritanopia (blue-blind)
#D9B6AE
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #cdc077; /* rgb */ color: rgb(205, 192, 119); /* oklch */ color: oklch(80.2% 0.095 99.4);
Tailwind
colors: {
custom: {
50: '#ded29f',
500: '#cdc077',
950: '#000000',
},
}SCSS
$custom: #cdc077; $custom-light: #ded29f; $custom-dark: #000000;
JSON
{
"hex": "#cdc077",
"rgb": {
"r": 205,
"g": 192,
"b": 119
},
"hsl": {
"h": 50.93,
"s": 46.237,
"l": 63.529
},
"oklch": {
"l": 0.80223,
"c": 0.09466,
"h": 99.4
},
"luminance": 0.5201
}Semantic roles & 50–950 ramp
primary
#CDC077
secondary
#4F5A9A
accent
#41B92C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F