#DCD156#DCD156
#DCD156 is a very light, vivid yellow. Relative luminance 0.615; OKLCH L 84.7% C 0.143 H 104.2°. Best body text is #000000 at 13.30:1 contrast (WCAG AA passes).
Color values
| HEX | #DCD156 |
|---|---|
| RGB | rgb(220, 209, 86) |
| HSL | hsl(55, 66%, 60%) |
| HSV | hsv(55, 61%, 86%) |
| CMYK | cmyk(0%, 5%, 60.9%, 13.7%) |
| CIE-LAB | lab(82.64, -11.07, 60.66) |
| CIE-LCH | lch(82.64, 61.66, 100.34°) |
| OKLab | oklab(84.66% -0.0351 0.1387) |
| OKLCH | oklch(84.66% 0.143 104.2) |
| XYZ | xyz(53.9973, 61.4904, 17.8268) |
| Luminance | 0.6149 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 3.40
Piss Yellow
#DDD618
ΔE00 4.95
Dirty Yellow
#CDC50A
ΔE00 5.30
Sandy
#F1DA7A
ΔE00 5.56
Vomit Yellow
#C7C10C
ΔE00 5.87
Ugly Yellow
#D0C101
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCD156 #5661DC
analogous
#DC8E56 #DCD156 #A4DC56
triadic
#DCD156 #56DCD1 #D156DC
tetradic
#DCD156 #56DC8E #5661DC #DC56A4
square
#DCD156 #56DC8E #5661DC #DC56A4
split-complementary
#DCD156 #56A4DC #8E56DC
monochromatic
#988E20 #CBBE2A #DCD156 #E6DF89 #F1EDBB
Accessibility & contrast
On white
1.58
#DCD156 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.30
#DCD156 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCD156
13.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCD156 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCD156 | 1.00 | 1.58 | 13.30 | 13.30 |
| #FFFFFF | 1.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E2CA48
Deuteranopia (green-blind)
#E6D05D
Tritanopia (blue-blind)
#EBC4B7
Achromatopsia (no color)
#CECECE
Design tokens & code
CSS
--color: #dcd156; /* rgb */ color: rgb(220, 209, 86); /* oklch */ color: oklch(84.7% 0.143 104.2);
Tailwind
colors: {
custom: {
50: '#eade8b',
500: '#dcd156',
950: '#000000',
},
}SCSS
$custom: #dcd156; $custom-light: #eade8b; $custom-dark: #000000;
JSON
{
"hex": "#dcd156",
"rgb": {
"r": 220,
"g": 209,
"b": 86
},
"hsl": {
"h": 55.075,
"s": 65.686,
"l": 60
},
"oklch": {
"l": 0.84655,
"c": 0.14312,
"h": 104.2
},
"luminance": 0.61488
}Semantic roles & 50–950 ramp
primary
#DCD156
secondary
#3A429C
accent
#4DE93F
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F