#DCD456#DCD456
#DCD456 is a very light, vivid yellow. Relative luminance 0.630; OKLCH L 85.3% C 0.146 H 105.7°. Best body text is #000000 at 13.59:1 contrast (WCAG AA passes).
Color values
| HEX | #DCD456 |
|---|---|
| RGB | rgb(220, 212, 86) |
| HSL | hsl(56, 66%, 60%) |
| HSV | hsv(56, 61%, 86%) |
| CMYK | cmyk(0%, 3.6%, 60.9%, 13.7%) |
| CIE-LAB | lab(83.43, -12.58, 61.51) |
| CIE-LCH | lch(83.43, 62.79, 101.56°) |
| OKLab | oklab(85.28% -0.0394 0.1406) |
| OKLCH | oklch(85.28% 0.146 105.7) |
| XYZ | xyz(54.7403, 62.9763, 18.0744) |
| Luminance | 0.6297 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 3.41
Piss Yellow
#DDD618
ΔE00 4.61
Dirty Yellow
#CDC50A
ΔE00 5.50
Sandy
#F1DA7A
ΔE00 5.98
Yellowish
#FAEE66
ΔE00 6.08
Vomit Yellow
#C7C10C
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCD456 #565EDC
analogous
#DC9156 #DCD456 #A1DC56
triadic
#DCD456 #56DCD4 #D456DC
tetradic
#DCD456 #56DC91 #565EDC #DC56A1
square
#DCD456 #56DC91 #565EDC #DC56A1
split-complementary
#DCD456 #56A1DC #9156DC
monochromatic
#989120 #CBC12A #DCD456 #E6E189 #F1EEBB
Accessibility & contrast
On white
1.54
#DCD456 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.59
#DCD456 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCD456
13.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCD456 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCD456 | 1.00 | 1.54 | 13.59 | 13.59 |
| #FFFFFF | 1.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E5CD47
Deuteranopia (green-blind)
#E8D25D
Tritanopia (blue-blind)
#EBC7B9
Achromatopsia (no color)
#D0D0D0
Design tokens & code
CSS
--color: #dcd456; /* rgb */ color: rgb(220, 212, 86); /* oklch */ color: oklch(85.3% 0.146 105.7);
Tailwind
colors: {
custom: {
50: '#eae18b',
500: '#dcd456',
950: '#000000',
},
}SCSS
$custom: #dcd456; $custom-light: #eae18b; $custom-dark: #000000;
JSON
{
"hex": "#dcd456",
"rgb": {
"r": 220,
"g": 212,
"b": 86
},
"hsl": {
"h": 56.418,
"s": 65.686,
"l": 60
},
"oklch": {
"l": 0.85282,
"c": 0.14598,
"h": 105.7
},
"luminance": 0.62974
}Semantic roles & 50–950 ramp
primary
#DCD456
secondary
#3A409C
accent
#49E93F
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F