#DCD373#DCD373
#DCD373 is a very light, moderate yellow. Relative luminance 0.630; OKLCH L 85.4% C 0.119 H 103.8°. Best body text is #000000 at 13.61:1 contrast (WCAG AA passes).
Color values
| HEX | #DCD373 |
|---|---|
| RGB | rgb(220, 211, 115) |
| HSL | hsl(55, 60%, 66%) |
| HSV | hsv(55, 48%, 86%) |
| CMYK | cmyk(0%, 4.1%, 47.7%, 13.7%) |
| CIE-LAB | lab(83.47, -9.80, 48.31) |
| CIE-LCH | lch(83.47, 49.29, 101.47°) |
| OKLab | oklab(85.41% -0.0284 0.1152) |
| OKLCH | oklch(85.41% 0.119 103.8) |
| XYZ | xyz(55.9054, 63.0437, 25.4401) |
| Luminance | 0.6304 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 4.45
Khaki (CSS)
#F0E68C
ΔE00 4.56
Sand (survey)
#E2CA76
ΔE00 4.94
Greenish Beige
#C9D179
ΔE00 4.97
Dull Yellow
#EEDC5B
ΔE00 5.31
Wheat (survey)
#FBDD7E
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCD373 #737CDC
analogous
#DC9E73 #DCD373 #B0DC73
triadic
#DCD373 #73DCD3 #D373DC
tetradic
#DCD373 #73DC9E #737CDC #DC73B0
square
#DCD373 #73DC9E #737CDC #DC73B0
split-complementary
#DCD373 #73B0DC #9E73DC
monochromatic
#AA9F2B #D0C442 #DCD373 #E8E2A4 #F4F2D5
Accessibility & contrast
On white
1.54
#DCD373 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.61
#DCD373 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCD373
13.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCD373 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCD373 | 1.00 | 1.54 | 13.61 | 13.61 |
| #FFFFFF | 1.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E2CD6B
Deuteranopia (green-blind)
#E5D277
Tritanopia (blue-blind)
#E9C8BC
Achromatopsia (no color)
#D0D0D0
Design tokens & code
CSS
--color: #dcd373; /* rgb */ color: rgb(220, 211, 115); /* oklch */ color: oklch(85.4% 0.119 103.8);
Tailwind
colors: {
custom: {
50: '#e9e09d',
500: '#dcd373',
950: '#000000',
},
}SCSS
$custom: #dcd373; $custom-light: #e9e09d; $custom-dark: #000000;
JSON
{
"hex": "#dcd373",
"rgb": {
"r": 220,
"g": 211,
"b": 115
},
"hsl": {
"h": 54.857,
"s": 60,
"l": 65.686
},
"oklch": {
"l": 0.85406,
"c": 0.1186,
"h": 103.8
},
"luminance": 0.63042
}Semantic roles & 50–950 ramp
primary
#DCD373
secondary
#474FAD
accent
#2CC81E
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F