#DCD562#DCD562
#DCD562 is a very light, vivid yellow. Relative luminance 0.637; OKLCH L 85.6% C 0.137 H 105.7°. Best body text is #000000 at 13.74:1 contrast (WCAG AA passes).
Color values
| HEX | #DCD562 |
|---|---|
| RGB | rgb(220, 213, 98) |
| HSL | hsl(57, 64%, 62%) |
| HSV | hsv(57, 55%, 86%) |
| CMYK | cmyk(0%, 3.2%, 55.5%, 13.7%) |
| CIE-LAB | lab(83.80, -12.23, 56.66) |
| CIE-LCH | lch(83.80, 57.97, 102.18°) |
| OKLab | oklab(85.61% -0.0371 0.1317) |
| OKLCH | oklch(85.61% 0.137 105.7) |
| XYZ | xyz(55.5157, 63.6877, 20.9215) |
| Luminance | 0.6369 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 3.87
Sandy
#F1DA7A
ΔE00 5.40
Khaki (CSS)
#F0E68C
ΔE00 5.57
Piss Yellow
#DDD618
ΔE00 5.93
Greenish Beige
#C9D179
ΔE00 6.03
Sandy Yellow
#FDEE73
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCD562 #6269DC
analogous
#DC9862 #DCD562 #A6DC62
triadic
#DCD562 #62DCD5 #D562DC
tetradic
#DCD562 #62DC98 #6269DC #DC62A6
square
#DCD562 #62DC98 #6269DC #DC62A6
split-complementary
#DCD562 #62A6DC #9862DC
monochromatic
#A09924 #D1C830 #DCD562 #E7E294 #F2F0C6
Accessibility & contrast
On white
1.53
#DCD562 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.74
#DCD562 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCD562
13.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCD562 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCD562 | 1.00 | 1.53 | 13.74 | 13.74 |
| #FFFFFF | 1.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E5CE56
Deuteranopia (green-blind)
#E8D368
Tritanopia (blue-blind)
#EAC9BC
Achromatopsia (no color)
#D1D1D1
Design tokens & code
CSS
--color: #dcd562; /* rgb */ color: rgb(220, 213, 98); /* oklch */ color: oklch(85.6% 0.137 105.7);
Tailwind
colors: {
custom: {
50: '#e9e192',
500: '#dcd562',
950: '#000000',
},
}SCSS
$custom: #dcd562; $custom-light: #e9e192; $custom-dark: #000000;
JSON
{
"hex": "#dcd562",
"rgb": {
"r": 220,
"g": 213,
"b": 98
},
"hsl": {
"h": 56.557,
"s": 63.542,
"l": 62.353
},
"oklch": {
"l": 0.85614,
"c": 0.13684,
"h": 105.7
},
"luminance": 0.63686
}Semantic roles & 50–950 ramp
primary
#DCD562
secondary
#3F45A3
accent
#24CB1A
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F