#DCD560#DCD560
#DCD560 is a very light, vivid yellow. Relative luminance 0.636; OKLCH L 85.6% C 0.139 H 105.8°. Best body text is #000000 at 13.73:1 contrast (WCAG AA passes).
Color values
| HEX | #DCD560 |
|---|---|
| RGB | rgb(220, 213, 96) |
| HSL | hsl(57, 64%, 62%) |
| HSV | hsv(57, 56%, 86%) |
| CMYK | cmyk(0%, 3.2%, 56.4%, 13.7%) |
| CIE-LAB | lab(83.78, -12.38, 57.54) |
| CIE-LCH | lch(83.78, 58.86, 102.14°) |
| OKLab | oklab(85.59% -0.0378 0.1334) |
| OKLCH | oklch(85.59% 0.139 105.8) |
| XYZ | xyz(55.4225, 63.6504, 20.4304) |
| Luminance | 0.6365 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 3.77
Sandy
#F1DA7A
ΔE00 5.51
Piss Yellow
#DDD618
ΔE00 5.68
Khaki (CSS)
#F0E68C
ΔE00 5.74
Yellowish
#FAEE66
ΔE00 6.17
Greenish Beige
#C9D179
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCD560 #6067DC
analogous
#DC9760 #DCD560 #A5DC60
triadic
#DCD560 #60DCD5 #D560DC
tetradic
#DCD560 #60DC97 #6067DC #DC60A5
square
#DCD560 #60DC97 #6067DC #DC60A5
split-complementary
#DCD560 #60A5DC #9760DC
monochromatic
#9F9823 #D1C82E #DCD560 #E7E292 #F2EFC4
Accessibility & contrast
On white
1.53
#DCD560 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.73
#DCD560 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCD560
13.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCD560 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCD560 | 1.00 | 1.53 | 13.73 | 13.73 |
| #FFFFFF | 1.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E5CE54
Deuteranopia (green-blind)
#E8D366
Tritanopia (blue-blind)
#EAC8BB
Achromatopsia (no color)
#D1D1D1
Design tokens & code
CSS
--color: #dcd560; /* rgb */ color: rgb(220, 213, 96); /* oklch */ color: oklch(85.6% 0.139 105.8);
Tailwind
colors: {
custom: {
50: '#e9e191',
500: '#dcd560',
950: '#000000',
},
}SCSS
$custom: #dcd560; $custom-light: #e9e191; $custom-dark: #000000;
JSON
{
"hex": "#dcd560",
"rgb": {
"r": 220,
"g": 213,
"b": 96
},
"hsl": {
"h": 56.613,
"s": 63.918,
"l": 61.961
},
"oklch": {
"l": 0.85592,
"c": 0.1386,
"h": 105.8
},
"luminance": 0.63649
}Semantic roles & 50–950 ramp
primary
#DCD560
secondary
#3E44A2
accent
#24CC1A
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F