#CDC976#CDC976
#CDC976 is a very light, moderate yellow. Relative luminance 0.561; OKLCH L 82.1% C 0.105 H 106.1°. Best body text is #000000 at 12.21:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC976 |
|---|---|
| RGB | rgb(205, 201, 118) |
| HSL | hsl(57, 47%, 63%) |
| HSV | hsv(57, 42%, 80%) |
| CMYK | cmyk(0%, 2%, 42.4%, 19.6%) |
| CIE-LAB | lab(79.65, -10.45, 41.86) |
| CIE-LCH | lch(79.65, 43.15, 104.02°) |
| OKLab | oklab(82.09% -0.0292 0.1012) |
| OKLCH | oklch(82.09% 0.105 106.1) |
| XYZ | xyz(49.3344, 56.0616, 25.3582) |
| Luminance | 0.5606 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 3.47
Darkkhaki
#BDB76B
ΔE00 4.66
Greenish Tan
#BCCB7A
ΔE00 5.13
Sand (survey)
#E2CA76
ΔE00 5.89
Pale Olive
#B9CC81
ΔE00 6.48
Light Olive
#ACBF69
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC976 #767ACD
analogous
#CD9D76 #CDC976 #A5CD76
triadic
#CDC976 #76CDC9 #C976CD
tetradic
#CDC976 #76CD9D #767ACD #CD76A5
square
#CDC976 #76CD9D #767ACD #CD76A5
split-complementary
#CDC976 #76A5CD #9D76CD
monochromatic
#938F36 #BDB749 #CDC976 #DDDBA3 #EEECD0
Accessibility & contrast
On white
1.72
#CDC976 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.21
#CDC976 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC976
12.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC976 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC976 | 1.00 | 1.72 | 12.21 | 12.21 |
| #FFFFFF | 1.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D6C36F
Deuteranopia (green-blind)
#D8C77A
Tritanopia (blue-blind)
#D8BFB5
Achromatopsia (no color)
#C5C5C5
Design tokens & code
CSS
--color: #cdc976; /* rgb */ color: rgb(205, 201, 118); /* oklch */ color: oklch(82.1% 0.105 106.1);
Tailwind
colors: {
custom: {
50: '#ded99f',
500: '#cdc976',
950: '#000000',
},
}SCSS
$custom: #cdc976; $custom-light: #ded99f; $custom-dark: #000000;
JSON
{
"hex": "#cdc976",
"rgb": {
"r": 205,
"g": 201,
"b": 118
},
"hsl": {
"h": 57.241,
"s": 46.524,
"l": 63.333
},
"oklch": {
"l": 0.82091,
"c": 0.10531,
"h": 106.1
},
"luminance": 0.5606
}Semantic roles & 50–950 ramp
primary
#CDC976
secondary
#4E5199
accent
#32BA2C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F