#CDC176#CDC176
#CDC176 is a light, moderate yellow. Relative luminance 0.524; OKLCH L 80.4% C 0.097 H 100.3°. Best body text is #000000 at 11.49:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC176 |
|---|---|
| RGB | rgb(205, 193, 118) |
| HSL | hsl(52, 47%, 63%) |
| HSV | hsv(52, 42%, 80%) |
| CMYK | cmyk(0%, 5.9%, 42.4%, 19.6%) |
| CIE-LAB | lab(77.54, -6.34, 39.21) |
| CIE-LCH | lch(77.54, 39.72, 99.18°) |
| OKLab | oklab(80.42% -0.0173 0.0952) |
| OKLCH | oklch(80.42% 0.097 100.3) |
| XYZ | xyz(47.5179, 52.4285, 24.7527) |
| Luminance | 0.5243 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.46
Sand (survey)
#E2CA76
ΔE00 4.59
Sand
#C2B280
ΔE00 6.38
Greenish Beige
#C9D179
ΔE00 6.45
Tan (survey)
#D1B26F
ΔE00 6.96
Desert
#CCAD60
ΔE00 7.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC176 #7682CD
analogous
#CD9576 #CDC176 #ADCD76
triadic
#CDC176 #76CDC1 #C176CD
tetradic
#CDC176 #76CD95 #7682CD #CD76AD
square
#CDC176 #76CD95 #7682CD #CD76AD
split-complementary
#CDC176 #76ADCD #9576CD
monochromatic
#938636 #BDAD49 #CDC176 #DDD5A3 #EEEAD0
Accessibility & contrast
On white
1.83
#CDC176 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.49
#CDC176 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC176
11.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC176 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC176 | 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)
#CEBD70
Deuteranopia (green-blind)
#D2C279
Tritanopia (blue-blind)
#D9B7AF
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #cdc176; /* rgb */ color: rgb(205, 193, 118); /* oklch */ color: oklch(80.4% 0.097 100.3);
Tailwind
colors: {
custom: {
50: '#ded39e',
500: '#cdc176',
950: '#000000',
},
}SCSS
$custom: #cdc176; $custom-light: #ded39e; $custom-dark: #000000;
JSON
{
"hex": "#cdc176",
"rgb": {
"r": 205,
"g": 193,
"b": 118
},
"hsl": {
"h": 51.724,
"s": 46.524,
"l": 63.333
},
"oklch": {
"l": 0.80416,
"c": 0.09677,
"h": 100.3
},
"luminance": 0.52427
}Semantic roles & 50–950 ramp
primary
#CDC176
secondary
#4E5899
accent
#3FBA2C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F