#DCD55C#DCD55C
#DCD55C is a very light, vivid yellow. Relative luminance 0.636; OKLCH L 85.5% C 0.142 H 105.9°. Best body text is #000000 at 13.72:1 contrast (WCAG AA passes).
Color values
| HEX | #DCD55C |
|---|---|
| RGB | rgb(220, 213, 92) |
| HSL | hsl(57, 65%, 61%) |
| HSV | hsv(57, 58%, 86%) |
| CMYK | cmyk(0%, 3.2%, 58.2%, 13.7%) |
| CIE-LAB | lab(83.75, -12.67, 59.27) |
| CIE-LCH | lch(83.75, 60.61, 102.07°) |
| OKLab | oklab(85.55% -0.039 0.1366) |
| OKLCH | oklch(85.55% 0.142 105.9) |
| XYZ | xyz(55.2430, 63.5786, 19.4850) |
| Luminance | 0.6358 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 3.61
Piss Yellow
#DDD618
ΔE00 5.22
Sandy
#F1DA7A
ΔE00 5.75
Yellowish
#FAEE66
ΔE00 6.04
Khaki (CSS)
#F0E68C
ΔE00 6.08
Dirty Yellow
#CDC50A
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCD55C #5C63DC
analogous
#DC955C #DCD55C #A3DC5C
triadic
#DCD55C #5CDCD5 #D55CDC
tetradic
#DCD55C #5CDC95 #5C63DC #DC5CA3
square
#DCD55C #5CDC95 #5C63DC #DC5CA3
split-complementary
#DCD55C #5CA3DC #955CDC
monochromatic
#9C9522 #CEC62C #DCD55C #E7E28E #F2EFC1
Accessibility & contrast
On white
1.53
#DCD55C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.72
#DCD55C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCD55C
13.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCD55C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCD55C | 1.00 | 1.53 | 13.72 | 13.72 |
| #FFFFFF | 1.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E6CE4F
Deuteranopia (green-blind)
#E9D363
Tritanopia (blue-blind)
#EBC8BB
Achromatopsia (no color)
#D1D1D1
Design tokens & code
CSS
--color: #dcd55c; /* rgb */ color: rgb(220, 213, 92); /* oklch */ color: oklch(85.5% 0.142 105.9);
Tailwind
colors: {
custom: {
50: '#eae18e',
500: '#dcd55c',
950: '#000000',
},
}SCSS
$custom: #dcd55c; $custom-light: #eae18e; $custom-dark: #000000;
JSON
{
"hex": "#dcd55c",
"rgb": {
"r": 220,
"g": 213,
"b": 92
},
"hsl": {
"h": 56.719,
"s": 64.646,
"l": 61.176
},
"oklch": {
"l": 0.8555,
"c": 0.14203,
"h": 105.9
},
"luminance": 0.63577
}Semantic roles & 50–950 ramp
primary
#DCD55C
secondary
#3C42A0
accent
#23CC19
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F