#DCD374#DCD374
#DCD374 is a very light, moderate yellow. Relative luminance 0.631; OKLCH L 85.4% C 0.118 H 103.8°. Best body text is #000000 at 13.61:1 contrast (WCAG AA passes).
Color values
| HEX | #DCD374 |
|---|---|
| RGB | rgb(220, 211, 116) |
| HSL | hsl(55, 60%, 66%) |
| HSV | hsv(55, 47%, 86%) |
| CMYK | cmyk(0%, 4.1%, 47.3%, 13.7%) |
| CIE-LAB | lab(83.48, -9.71, 47.84) |
| CIE-LCH | lch(83.48, 48.82, 101.47°) |
| OKLab | oklab(85.42% -0.028 0.1142) |
| OKLCH | oklch(85.42% 0.118 103.8) |
| XYZ | xyz(55.9632, 63.0668, 25.7448) |
| Luminance | 0.6307 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 4.45
Khaki (CSS)
#F0E68C
ΔE00 4.52
Sand (survey)
#E2CA76
ΔE00 4.89
Greenish Beige
#C9D179
ΔE00 4.92
Dull Yellow
#EEDC5B
ΔE00 5.43
Wheat (survey)
#FBDD7E
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCD374 #747DDC
analogous
#DC9F74 #DCD374 #B1DC74
triadic
#DCD374 #74DCD3 #D374DC
tetradic
#DCD374 #74DC9F #747DDC #DC74B1
square
#DCD374 #74DC9F #747DDC #DC74B1
split-complementary
#DCD374 #74B1DC #9F74DC
monochromatic
#ABA02B #D0C443 #DCD374 #E8E2A5 #F5F2D6
Accessibility & contrast
On white
1.54
#DCD374 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.61
#DCD374 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCD374
13.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCD374 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCD374 | 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)
#E2CD6C
Deuteranopia (green-blind)
#E5D278
Tritanopia (blue-blind)
#E9C8BD
Achromatopsia (no color)
#D0D0D0
Design tokens & code
CSS
--color: #dcd374; /* rgb */ color: rgb(220, 211, 116); /* oklch */ color: oklch(85.4% 0.118 103.8);
Tailwind
colors: {
custom: {
50: '#e9e09e',
500: '#dcd374',
950: '#000000',
},
}SCSS
$custom: #dcd374; $custom-light: #e9e09e; $custom-dark: #000000;
JSON
{
"hex": "#dcd374",
"rgb": {
"r": 220,
"g": 211,
"b": 116
},
"hsl": {
"h": 54.808,
"s": 59.77,
"l": 65.882
},
"oklch": {
"l": 0.8542,
"c": 0.11758,
"h": 103.8
},
"luminance": 0.63065
}Semantic roles & 50–950 ramp
primary
#DCD374
secondary
#4750AD
accent
#2DC71E
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F