#DCD262#DCD262
#DCD262 is a very light, vivid yellow. Relative luminance 0.622; OKLCH L 85.0% C 0.134 H 104.2°. Best body text is #000000 at 13.44:1 contrast (WCAG AA passes).
Color values
| HEX | #DCD262 |
|---|---|
| RGB | rgb(220, 210, 98) |
| HSL | hsl(55, 64%, 62%) |
| HSV | hsv(55, 55%, 86%) |
| CMYK | cmyk(0%, 4.5%, 55.5%, 13.7%) |
| CIE-LAB | lab(83.02, -10.72, 55.77) |
| CIE-LCH | lch(83.02, 56.79, 100.88°) |
| OKLab | oklab(84.99% -0.0328 0.1298) |
| OKLCH | oklch(84.99% 0.134 104.2) |
| XYZ | xyz(54.7681, 62.1925, 20.6723) |
| Luminance | 0.6219 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 3.85
Sandy
#F1DA7A
ΔE00 4.91
Khaki (CSS)
#F0E68C
ΔE00 5.77
Sand (survey)
#E2CA76
ΔE00 5.82
Sand Yellow
#FCE166
ΔE00 6.12
Piss Yellow
#DDD618
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCD262 #626CDC
analogous
#DC9562 #DCD262 #A9DC62
triadic
#DCD262 #62DCD2 #D262DC
tetradic
#DCD262 #62DC95 #626CDC #DC62A9
square
#DCD262 #62DC95 #626CDC #DC62A9
split-complementary
#DCD262 #62A9DC #9562DC
monochromatic
#A09624 #D1C430 #DCD262 #E7E094 #F2EFC6
Accessibility & contrast
On white
1.56
#DCD262 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.44
#DCD262 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCD262
13.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCD262 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCD262 | 1.00 | 1.56 | 13.44 | 13.44 |
| #FFFFFF | 1.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E2CC57
Deuteranopia (green-blind)
#E6D168
Tritanopia (blue-blind)
#EBC6B9
Achromatopsia (no color)
#CFCFCF
Design tokens & code
CSS
--color: #dcd262; /* rgb */ color: rgb(220, 210, 98); /* oklch */ color: oklch(85.0% 0.134 104.2);
Tailwind
colors: {
custom: {
50: '#e9df92',
500: '#dcd262',
950: '#000000',
},
}SCSS
$custom: #dcd262; $custom-light: #e9df92; $custom-dark: #000000;
JSON
{
"hex": "#dcd262",
"rgb": {
"r": 220,
"g": 210,
"b": 98
},
"hsl": {
"h": 55.082,
"s": 63.542,
"l": 62.353
},
"oklch": {
"l": 0.84988,
"c": 0.13386,
"h": 104.2
},
"luminance": 0.62191
}Semantic roles & 50–950 ramp
primary
#DCD262
secondary
#3F47A3
accent
#29CB1A
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F