#DCD76C#DCD76C
#DCD76C is a very light, vivid yellow. Relative luminance 0.649; OKLCH L 86.1% C 0.130 H 106.4°. Best body text is #000000 at 13.98:1 contrast (WCAG AA passes).
Color values
| HEX | #DCD76C |
|---|---|
| RGB | rgb(220, 215, 108) |
| HSL | hsl(57, 62%, 64%) |
| HSV | hsv(57, 51%, 86%) |
| CMYK | cmyk(0%, 2.3%, 50.9%, 13.7%) |
| CIE-LAB | lab(84.43, -12.43, 52.79) |
| CIE-LCH | lch(84.43, 54.24, 103.25°) |
| OKLab | oklab(86.15% -0.0366 0.1244) |
| OKLCH | oklch(86.15% 0.13 106.4) |
| XYZ | xyz(56.5239, 64.9008, 23.7341) |
| Luminance | 0.6490 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 4.66
Khaki (CSS)
#F0E68C
ΔE00 4.70
Greenish Beige
#C9D179
ΔE00 5.04
Sandy
#F1DA7A
ΔE00 5.34
Sandy Yellow
#FDEE73
ΔE00 6.29
Yellowish
#FAEE66
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCD76C #6C71DC
analogous
#DC9F6C #DCD76C #A9DC6C
triadic
#DCD76C #6CDCD7 #D76CDC
tetradic
#DCD76C #6CDC9F #6C71DC #DC6CA9
square
#DCD76C #6CDC9F #6C71DC #DC6CA9
split-complementary
#DCD76C #6CA9DC #9F6CDC
monochromatic
#A6A028 #D0CA3B #DCD76C #E8E49D #F4F2CF
Accessibility & contrast
On white
1.50
#DCD76C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.98
#DCD76C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCD76C
13.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCD76C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCD76C | 1.00 | 1.50 | 13.98 | 13.98 |
| #FFFFFF | 1.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E6D062
Deuteranopia (green-blind)
#E9D571
Tritanopia (blue-blind)
#EACBBF
Achromatopsia (no color)
#D3D3D3
Design tokens & code
CSS
--color: #dcd76c; /* rgb */ color: rgb(220, 215, 108); /* oklch */ color: oklch(86.1% 0.130 106.4);
Tailwind
colors: {
custom: {
50: '#e9e399',
500: '#dcd76c',
950: '#000000',
},
}SCSS
$custom: #dcd76c; $custom-light: #e9e399; $custom-dark: #000000;
JSON
{
"hex": "#dcd76c",
"rgb": {
"r": 220,
"g": 215,
"b": 108
},
"hsl": {
"h": 57.321,
"s": 61.538,
"l": 64.314
},
"oklch": {
"l": 0.86149,
"c": 0.12966,
"h": 106.4
},
"luminance": 0.64899
}Semantic roles & 50–950 ramp
primary
#DCD76C
secondary
#4348A9
accent
#24C91C
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F