#DCD462#DCD462
#DCD462 is a very light, vivid yellow. Relative luminance 0.632; OKLCH L 85.4% C 0.136 H 105.2°. Best body text is #000000 at 13.64:1 contrast (WCAG AA passes).
Color values
| HEX | #DCD462 |
|---|---|
| RGB | rgb(220, 212, 98) |
| HSL | hsl(56, 64%, 62%) |
| HSV | hsv(56, 55%, 86%) |
| CMYK | cmyk(0%, 3.6%, 55.5%, 13.7%) |
| CIE-LAB | lab(83.54, -11.73, 56.37) |
| CIE-LCH | lch(83.54, 57.57, 101.75°) |
| OKLab | oklab(85.41% -0.0357 0.1311) |
| OKLCH | oklch(85.41% 0.136 105.2) |
| XYZ | xyz(55.2650, 63.1862, 20.8379) |
| Luminance | 0.6318 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 3.84
Sandy
#F1DA7A
ΔE00 5.22
Khaki (CSS)
#F0E68C
ΔE00 5.62
Piss Yellow
#DDD618
ΔE00 6.00
Greenish Beige
#C9D179
ΔE00 6.09
Sand Yellow
#FCE166
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCD462 #626ADC
analogous
#DC9762 #DCD462 #A7DC62
triadic
#DCD462 #62DCD4 #D462DC
tetradic
#DCD462 #62DC97 #626ADC #DC62A7
square
#DCD462 #62DC97 #626ADC #DC62A7
split-complementary
#DCD462 #62A7DC #9762DC
monochromatic
#A09824 #D1C630 #DCD462 #E7E294 #F2EFC6
Accessibility & contrast
On white
1.54
#DCD462 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.64
#DCD462 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCD462
13.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCD462 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCD462 | 1.00 | 1.54 | 13.64 | 13.64 |
| #FFFFFF | 1.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E4CD56
Deuteranopia (green-blind)
#E7D368
Tritanopia (blue-blind)
#EAC8BB
Achromatopsia (no color)
#D0D0D0
Design tokens & code
CSS
--color: #dcd462; /* rgb */ color: rgb(220, 212, 98); /* oklch */ color: oklch(85.4% 0.136 105.2);
Tailwind
colors: {
custom: {
50: '#e9e192',
500: '#dcd462',
950: '#000000',
},
}SCSS
$custom: #dcd462; $custom-light: #e9e192; $custom-dark: #000000;
JSON
{
"hex": "#dcd462",
"rgb": {
"r": 220,
"g": 212,
"b": 98
},
"hsl": {
"h": 56.066,
"s": 63.542,
"l": 62.353
},
"oklch": {
"l": 0.85405,
"c": 0.13584,
"h": 105.2
},
"luminance": 0.63184
}Semantic roles & 50–950 ramp
primary
#DCD462
secondary
#3F45A3
accent
#26CB1A
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F