#DCD372#DCD372
#DCD372 is a very light, moderate yellow. Relative luminance 0.630; OKLCH L 85.4% C 0.120 H 103.9°. Best body text is #000000 at 13.60:1 contrast (WCAG AA passes).
Color values
| HEX | #DCD372 |
|---|---|
| RGB | rgb(220, 211, 114) |
| HSL | hsl(55, 60%, 65%) |
| HSV | hsv(55, 48%, 86%) |
| CMYK | cmyk(0%, 4.1%, 48.2%, 13.7%) |
| CIE-LAB | lab(83.45, -9.89, 48.78) |
| CIE-LCH | lch(83.45, 49.77, 101.46°) |
| OKLab | oklab(85.39% -0.0287 0.1161) |
| OKLCH | oklch(85.39% 0.12 103.9) |
| XYZ | xyz(55.8482, 63.0208, 25.1387) |
| Luminance | 0.6302 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 4.46
Khaki (CSS)
#F0E68C
ΔE00 4.61
Sand (survey)
#E2CA76
ΔE00 5.00
Greenish Beige
#C9D179
ΔE00 5.02
Dull Yellow
#EEDC5B
ΔE00 5.20
Wheat (survey)
#FBDD7E
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCD372 #727BDC
analogous
#DC9E72 #DCD372 #B0DC72
triadic
#DCD372 #72DCD3 #D372DC
tetradic
#DCD372 #72DC9E #727BDC #DC72B0
square
#DCD372 #72DC9E #727BDC #DC72B0
split-complementary
#DCD372 #72B0DC #9E72DC
monochromatic
#AA9F2A #D0C441 #DCD372 #E8E2A3 #F4F2D4
Accessibility & contrast
On white
1.54
#DCD372 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.60
#DCD372 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCD372
13.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCD372 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCD372 | 1.00 | 1.54 | 13.60 | 13.60 |
| #FFFFFF | 1.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E2CD6A
Deuteranopia (green-blind)
#E5D276
Tritanopia (blue-blind)
#E9C8BC
Achromatopsia (no color)
#D0D0D0
Design tokens & code
CSS
--color: #dcd372; /* rgb */ color: rgb(220, 211, 114); /* oklch */ color: oklch(85.4% 0.120 103.9);
Tailwind
colors: {
custom: {
50: '#e9e09c',
500: '#dcd372',
950: '#000000',
},
}SCSS
$custom: #dcd372; $custom-light: #e9e09c; $custom-dark: #000000;
JSON
{
"hex": "#dcd372",
"rgb": {
"r": 220,
"g": 211,
"b": 114
},
"hsl": {
"h": 54.906,
"s": 60.227,
"l": 65.49
},
"oklch": {
"l": 0.85393,
"c": 0.11961,
"h": 103.9
},
"luminance": 0.63019
}Semantic roles & 50–950 ramp
primary
#DCD372
secondary
#464FAC
accent
#2CC81E
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F