#DCD662#DCD662
#DCD662 is a very light, vivid yellow. Relative luminance 0.642; OKLCH L 85.8% C 0.138 H 106.2°. Best body text is #000000 at 13.84:1 contrast (WCAG AA passes).
Color values
| HEX | #DCD662 |
|---|---|
| RGB | rgb(220, 214, 98) |
| HSL | hsl(57, 64%, 62%) |
| HSV | hsv(57, 55%, 86%) |
| CMYK | cmyk(0%, 2.7%, 55.5%, 13.7%) |
| CIE-LAB | lab(84.07, -12.73, 56.96) |
| CIE-LCH | lch(84.07, 58.37, 102.60°) |
| OKLab | oklab(85.82% -0.0385 0.1324) |
| OKLCH | oklch(85.82% 0.138 106.2) |
| XYZ | xyz(55.7680, 64.1923, 21.0056) |
| Luminance | 0.6419 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 3.93
Khaki (CSS)
#F0E68C
ΔE00 5.54
Sandy
#F1DA7A
ΔE00 5.59
Piss Yellow
#DDD618
ΔE00 5.87
Greenish Beige
#C9D179
ΔE00 5.98
Yellowish
#FAEE66
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCD662 #6268DC
analogous
#DC9962 #DCD662 #A5DC62
triadic
#DCD662 #62DCD6 #D662DC
tetradic
#DCD662 #62DC99 #6268DC #DC62A5
square
#DCD662 #62DC99 #6268DC #DC62A5
split-complementary
#DCD662 #62A5DC #9962DC
monochromatic
#A09A24 #D1C930 #DCD662 #E7E394 #F2F0C6
Accessibility & contrast
On white
1.52
#DCD662 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.84
#DCD662 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCD662
13.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCD662 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCD662 | 1.00 | 1.52 | 13.84 | 13.84 |
| #FFFFFF | 1.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E6CF56
Deuteranopia (green-blind)
#E9D468
Tritanopia (blue-blind)
#EACABC
Achromatopsia (no color)
#D2D2D2
Design tokens & code
CSS
--color: #dcd662; /* rgb */ color: rgb(220, 214, 98); /* oklch */ color: oklch(85.8% 0.138 106.2);
Tailwind
colors: {
custom: {
50: '#e9e292',
500: '#dcd662',
950: '#000000',
},
}SCSS
$custom: #dcd662; $custom-light: #e9e292; $custom-dark: #000000;
JSON
{
"hex": "#dcd662",
"rgb": {
"r": 220,
"g": 214,
"b": 98
},
"hsl": {
"h": 57.049,
"s": 63.542,
"l": 62.353
},
"oklch": {
"l": 0.85823,
"c": 0.13785,
"h": 106.2
},
"luminance": 0.64191
}Semantic roles & 50–950 ramp
primary
#DCD662
secondary
#3F44A3
accent
#23CB1A
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F