#DCD460#DCD460
#DCD460 is a very light, vivid yellow. Relative luminance 0.631; OKLCH L 85.4% C 0.138 H 105.3°. Best body text is #000000 at 13.63:1 contrast (WCAG AA passes).
Color values
| HEX | #DCD460 |
|---|---|
| RGB | rgb(220, 212, 96) |
| HSL | hsl(56, 64%, 62%) |
| HSV | hsv(56, 56%, 86%) |
| CMYK | cmyk(0%, 3.6%, 56.4%, 13.7%) |
| CIE-LAB | lab(83.52, -11.88, 57.24) |
| CIE-LCH | lch(83.52, 58.46, 101.72°) |
| OKLab | oklab(85.38% -0.0363 0.1327) |
| OKLCH | oklch(85.38% 0.138 105.3) |
| XYZ | xyz(55.1717, 63.1489, 20.3468) |
| Luminance | 0.6315 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 3.73
Sandy
#F1DA7A
ΔE00 5.34
Piss Yellow
#DDD618
ΔE00 5.76
Khaki (CSS)
#F0E68C
ΔE00 5.79
Sand Yellow
#FCE166
ΔE00 6.20
Greenish Beige
#C9D179
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCD460 #6068DC
analogous
#DC9660 #DCD460 #A6DC60
triadic
#DCD460 #60DCD4 #D460DC
tetradic
#DCD460 #60DC96 #6068DC #DC60A6
square
#DCD460 #60DC96 #6068DC #DC60A6
split-complementary
#DCD460 #60A6DC #9660DC
monochromatic
#9F9723 #D1C62E #DCD460 #E7E292 #F2EFC4
Accessibility & contrast
On white
1.54
#DCD460 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.63
#DCD460 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCD460
13.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCD460 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCD460 | 1.00 | 1.54 | 13.63 | 13.63 |
| #FFFFFF | 1.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E4CD54
Deuteranopia (green-blind)
#E7D366
Tritanopia (blue-blind)
#EBC7BB
Achromatopsia (no color)
#D0D0D0
Design tokens & code
CSS
--color: #dcd460; /* rgb */ color: rgb(220, 212, 96); /* oklch */ color: oklch(85.4% 0.138 105.3);
Tailwind
colors: {
custom: {
50: '#e9e191',
500: '#dcd460',
950: '#000000',
},
}SCSS
$custom: #dcd460; $custom-light: #e9e191; $custom-dark: #000000;
JSON
{
"hex": "#dcd460",
"rgb": {
"r": 220,
"g": 212,
"b": 96
},
"hsl": {
"h": 56.129,
"s": 63.918,
"l": 61.961
},
"oklch": {
"l": 0.85383,
"c": 0.13761,
"h": 105.3
},
"luminance": 0.63147
}Semantic roles & 50–950 ramp
primary
#DCD460
secondary
#3E44A2
accent
#25CC1A
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F