#DCD362#DCD362
#DCD362 is a very light, vivid yellow. Relative luminance 0.627; OKLCH L 85.2% C 0.135 H 104.7°. Best body text is #000000 at 13.54:1 contrast (WCAG AA passes).
Color values
| HEX | #DCD362 |
|---|---|
| RGB | rgb(220, 211, 98) |
| HSL | hsl(56, 64%, 62%) |
| HSV | hsv(56, 55%, 86%) |
| CMYK | cmyk(0%, 4.1%, 55.5%, 13.7%) |
| CIE-LAB | lab(83.28, -11.23, 56.07) |
| CIE-LCH | lch(83.28, 57.18, 101.32°) |
| OKLab | oklab(85.2% -0.0342 0.1304) |
| OKLCH | oklch(85.2% 0.135 104.7) |
| XYZ | xyz(55.0158, 62.6878, 20.7548) |
| Luminance | 0.6269 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 3.83
Sandy
#F1DA7A
ΔE00 5.06
Khaki (CSS)
#F0E68C
ΔE00 5.69
Piss Yellow
#DDD618
ΔE00 6.10
Sand (survey)
#E2CA76
ΔE00 6.11
Sand Yellow
#FCE166
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCD362 #626BDC
analogous
#DC9662 #DCD362 #A8DC62
triadic
#DCD362 #62DCD3 #D362DC
tetradic
#DCD362 #62DC96 #626BDC #DC62A8
square
#DCD362 #62DC96 #626BDC #DC62A8
split-complementary
#DCD362 #62A8DC #9662DC
monochromatic
#A09724 #D1C530 #DCD362 #E7E194 #F2EFC6
Accessibility & contrast
On white
1.55
#DCD362 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.54
#DCD362 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCD362
13.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCD362 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCD362 | 1.00 | 1.55 | 13.54 | 13.54 |
| #FFFFFF | 1.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E3CC57
Deuteranopia (green-blind)
#E7D268
Tritanopia (blue-blind)
#EAC7BA
Achromatopsia (no color)
#CFCFCF
Design tokens & code
CSS
--color: #dcd362; /* rgb */ color: rgb(220, 211, 98); /* oklch */ color: oklch(85.2% 0.135 104.7);
Tailwind
colors: {
custom: {
50: '#e9e092',
500: '#dcd362',
950: '#000000',
},
}SCSS
$custom: #dcd362; $custom-light: #e9e092; $custom-dark: #000000;
JSON
{
"hex": "#dcd362",
"rgb": {
"r": 220,
"g": 211,
"b": 98
},
"hsl": {
"h": 55.574,
"s": 63.542,
"l": 62.353
},
"oklch": {
"l": 0.85197,
"c": 0.13485,
"h": 104.7
},
"luminance": 0.62686
}Semantic roles & 50–950 ramp
primary
#DCD362
secondary
#3F46A3
accent
#27CB1A
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F