#DCD162#DCD162
#DCD162 is a very light, vivid yellow. Relative luminance 0.617; OKLCH L 84.8% C 0.133 H 103.6°. Best body text is #000000 at 13.34:1 contrast (WCAG AA passes).
Color values
| HEX | #DCD162 |
|---|---|
| RGB | rgb(220, 209, 98) |
| HSL | hsl(55, 64%, 62%) |
| HSV | hsv(55, 55%, 86%) |
| CMYK | cmyk(0%, 5%, 55.5%, 13.7%) |
| CIE-LAB | lab(82.75, -10.22, 55.47) |
| CIE-LCH | lch(82.75, 56.40, 100.44°) |
| OKLab | oklab(84.78% -0.0314 0.1291) |
| OKLCH | oklch(84.78% 0.133 103.6) |
| XYZ | xyz(54.5220, 61.7003, 20.5903) |
| Luminance | 0.6170 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 3.90
Sandy
#F1DA7A
ΔE00 4.77
Sand (survey)
#E2CA76
ΔE00 5.53
Khaki (CSS)
#F0E68C
ΔE00 5.87
Sand Yellow
#FCE166
ΔE00 6.09
Piss Yellow
#DDD618
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCD162 #626DDC
analogous
#DC9462 #DCD162 #AADC62
triadic
#DCD162 #62DCD1 #D162DC
tetradic
#DCD162 #62DC94 #626DDC #DC62AA
square
#DCD162 #62DC94 #626DDC #DC62AA
split-complementary
#DCD162 #62AADC #9462DC
monochromatic
#A09524 #D1C230 #DCD162 #E7E094 #F2EEC6
Accessibility & contrast
On white
1.57
#DCD162 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.34
#DCD162 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCD162
13.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCD162 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCD162 | 1.00 | 1.57 | 13.34 | 13.34 |
| #FFFFFF | 1.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E1CB57
Deuteranopia (green-blind)
#E5D168
Tritanopia (blue-blind)
#EBC5B8
Achromatopsia (no color)
#CECECE
Design tokens & code
CSS
--color: #dcd162; /* rgb */ color: rgb(220, 209, 98); /* oklch */ color: oklch(84.8% 0.133 103.6);
Tailwind
colors: {
custom: {
50: '#e9de92',
500: '#dcd162',
950: '#000000',
},
}SCSS
$custom: #dcd162; $custom-light: #e9de92; $custom-dark: #000000;
JSON
{
"hex": "#dcd162",
"rgb": {
"r": 220,
"g": 209,
"b": 98
},
"hsl": {
"h": 54.59,
"s": 63.542,
"l": 62.353
},
"oklch": {
"l": 0.8478,
"c": 0.13289,
"h": 103.6
},
"luminance": 0.61698
}Semantic roles & 50–950 ramp
primary
#DCD162
secondary
#3F48A3
accent
#2ACB1A
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F