#DCD546#DCD546
#DCD546 is a very light, vivid yellow. Relative luminance 0.632; OKLCH L 85.4% C 0.159 H 106.5°. Best body text is #000000 at 13.65:1 contrast (WCAG AA passes).
Color values
| HEX | #DCD546 |
|---|---|
| RGB | rgb(220, 213, 70) |
| HSL | hsl(57, 68%, 57%) |
| HSV | hsv(57, 68%, 86%) |
| CMYK | cmyk(0%, 3.2%, 68.2%, 13.7%) |
| CIE-LAB | lab(83.57, -14.01, 68.08) |
| CIE-LCH | lch(83.57, 69.50, 101.63°) |
| OKLab | oklab(85.36% -0.0451 0.152) |
| OKLCH | oklch(85.36% 0.159 106.5) |
| XYZ | xyz(54.4170, 63.2482, 15.1348) |
| Luminance | 0.6325 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Piss Yellow
#DDD618
ΔE00 2.95
Dull Yellow
#EEDC5B
ΔE00 3.64
Dirty Yellow
#CDC50A
ΔE00 4.58
Vomit Yellow
#C7C10C
ΔE00 5.41
Ugly Yellow
#D0C101
ΔE00 5.64
Yellowish
#FAEE66
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCD546 #464DDC
analogous
#DC8A46 #DCD546 #98DC46
triadic
#DCD546 #46DCD5 #D546DC
tetradic
#DCD546 #46DC8A #464DDC #DC4698
square
#DCD546 #46DC8A #464DDC #DC4698
split-complementary
#DCD546 #4698DC #8A46DC
monochromatic
#8D881B #C0B924 #DCD546 #E6E179 #EFECAD
Accessibility & contrast
On white
1.54
#DCD546 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.65
#DCD546 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCD546
13.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCD546 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCD546 | 1.00 | 1.54 | 13.65 | 13.65 |
| #FFFFFF | 1.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E7CD30
Deuteranopia (green-blind)
#EAD350
Tritanopia (blue-blind)
#ECC7B8
Achromatopsia (no color)
#D0D0D0
Design tokens & code
CSS
--color: #dcd546; /* rgb */ color: rgb(220, 213, 70); /* oklch */ color: oklch(85.4% 0.159 106.5);
Tailwind
colors: {
custom: {
50: '#eae182',
500: '#dcd546',
950: '#000000',
},
}SCSS
$custom: #dcd546; $custom-light: #eae182; $custom-dark: #000000;
JSON
{
"hex": "#dcd546",
"rgb": {
"r": 220,
"g": 213,
"b": 70
},
"hsl": {
"h": 57.2,
"s": 68.182,
"l": 56.863
},
"oklch": {
"l": 0.85357,
"c": 0.15854,
"h": 106.5
},
"luminance": 0.63246
}Semantic roles & 50–950 ramp
primary
#DCD546
secondary
#343892
accent
#45EB3D
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E