#DCD45C#DCD45C
#DCD45C is a very light, vivid yellow. Relative luminance 0.631; OKLCH L 85.3% C 0.141 H 105.5°. Best body text is #000000 at 13.62:1 contrast (WCAG AA passes).
Color values
| HEX | #DCD45C |
|---|---|
| RGB | rgb(220, 212, 92) |
| HSL | hsl(56, 65%, 61%) |
| HSV | hsv(56, 58%, 86%) |
| CMYK | cmyk(0%, 3.6%, 58.2%, 13.7%) |
| CIE-LAB | lab(83.48, -12.17, 58.98) |
| CIE-LCH | lch(83.48, 60.22, 101.66°) |
| OKLab | oklab(85.34% -0.0376 0.1359) |
| OKLCH | oklch(85.34% 0.141 105.5) |
| XYZ | xyz(54.9922, 63.0771, 19.4015) |
| Luminance | 0.6308 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 3.56
Piss Yellow
#DDD618
ΔE00 5.29
Sandy
#F1DA7A
ΔE00 5.58
Dirty Yellow
#CDC50A
ΔE00 6.02
Khaki (CSS)
#F0E68C
ΔE00 6.12
Sand Yellow
#FCE166
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCD45C #5C64DC
analogous
#DC945C #DCD45C #A4DC5C
triadic
#DCD45C #5CDCD4 #D45CDC
tetradic
#DCD45C #5CDC94 #5C64DC #DC5CA4
square
#DCD45C #5CDC94 #5C64DC #DC5CA4
split-complementary
#DCD45C #5CA4DC #945CDC
monochromatic
#9C9422 #CEC42C #DCD45C #E7E18E #F2EFC1
Accessibility & contrast
On white
1.54
#DCD45C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.62
#DCD45C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCD45C
13.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCD45C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCD45C | 1.00 | 1.54 | 13.62 | 13.62 |
| #FFFFFF | 1.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E5CD4F
Deuteranopia (green-blind)
#E8D363
Tritanopia (blue-blind)
#EBC7BA
Achromatopsia (no color)
#D0D0D0
Design tokens & code
CSS
--color: #dcd45c; /* rgb */ color: rgb(220, 212, 92); /* oklch */ color: oklch(85.3% 0.141 105.5);
Tailwind
colors: {
custom: {
50: '#eae18e',
500: '#dcd45c',
950: '#000000',
},
}SCSS
$custom: #dcd45c; $custom-light: #eae18e; $custom-dark: #000000;
JSON
{
"hex": "#dcd45c",
"rgb": {
"r": 220,
"g": 212,
"b": 92
},
"hsl": {
"h": 56.25,
"s": 64.646,
"l": 61.176
},
"oklch": {
"l": 0.85341,
"c": 0.14105,
"h": 105.5
},
"luminance": 0.63075
}Semantic roles & 50–950 ramp
primary
#DCD45C
secondary
#3C43A0
accent
#24CC19
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F