#CDC376#CDC376
#CDC376 is a light, moderate yellow. Relative luminance 0.533; OKLCH L 80.8% C 0.099 H 101.9°. Best body text is #000000 at 11.66:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC376 |
|---|---|
| RGB | rgb(205, 195, 118) |
| HSL | hsl(53, 47%, 63%) |
| HSV | hsv(53, 42%, 80%) |
| CMYK | cmyk(0%, 4.9%, 42.4%, 19.6%) |
| CIE-LAB | lab(78.06, -7.37, 39.87) |
| CIE-LCH | lch(78.06, 40.55, 100.48°) |
| OKLab | oklab(80.83% -0.0203 0.0967) |
| OKLCH | oklch(80.83% 0.099 101.9) |
| XYZ | xyz(47.9630, 53.3187, 24.9010) |
| Luminance | 0.5332 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.55
Sand (survey)
#E2CA76
ΔE00 4.78
Greenish Beige
#C9D179
ΔE00 5.67
Greenish Tan
#BCCB7A
ΔE00 6.82
Sand
#C2B280
ΔE00 7.04
Sandy
#F1DA7A
ΔE00 7.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC376 #7680CD
analogous
#CD9776 #CDC376 #ABCD76
triadic
#CDC376 #76CDC3 #C376CD
tetradic
#CDC376 #76CD97 #7680CD #CD76AB
square
#CDC376 #76CD97 #7680CD #CD76AB
split-complementary
#CDC376 #76ABCD #9776CD
monochromatic
#938836 #BDAF49 #CDC376 #DDD7A3 #EEEAD0
Accessibility & contrast
On white
1.80
#CDC376 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.66
#CDC376 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC376
11.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC376 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC376 | 1.00 | 1.80 | 11.66 | 11.66 |
| #FFFFFF | 1.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0BE70
Deuteranopia (green-blind)
#D3C379
Tritanopia (blue-blind)
#D9B9B0
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #cdc376; /* rgb */ color: rgb(205, 195, 118); /* oklch */ color: oklch(80.8% 0.099 101.9);
Tailwind
colors: {
custom: {
50: '#ded59f',
500: '#cdc376',
950: '#000000',
},
}SCSS
$custom: #cdc376; $custom-light: #ded59f; $custom-dark: #000000;
JSON
{
"hex": "#cdc376",
"rgb": {
"r": 205,
"g": 195,
"b": 118
},
"hsl": {
"h": 53.103,
"s": 46.524,
"l": 63.333
},
"oklch": {
"l": 0.80833,
"c": 0.09881,
"h": 101.9
},
"luminance": 0.53317
}Semantic roles & 50–950 ramp
primary
#CDC376
secondary
#4E5799
accent
#3CBA2C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F