#DCD37C#DCD37C
#DCD37C is a very light, moderate yellow. Relative luminance 0.633; OKLCH L 85.5% C 0.109 H 103.3°. Best body text is #000000 at 13.65:1 contrast (WCAG AA passes).
Color values
| HEX | #DCD37C |
|---|---|
| RGB | rgb(220, 211, 124) |
| HSL | hsl(54, 58%, 67%) |
| HSV | hsv(54, 44%, 86%) |
| CMYK | cmyk(0%, 4.1%, 43.6%, 13.7%) |
| CIE-LAB | lab(83.58, -8.94, 44.05) |
| CIE-LCH | lch(83.58, 44.95, 101.47°) |
| OKLab | oklab(85.53% -0.025 0.1063) |
| OKLCH | oklch(85.53% 0.109 103.3) |
| XYZ | xyz(56.4488, 63.2610, 28.3019) |
| Luminance | 0.6326 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (CSS)
#F0E68C
ΔE00 4.36
Sandy
#F1DA7A
ΔE00 4.60
Sand (survey)
#E2CA76
ΔE00 4.63
Greenish Beige
#C9D179
ΔE00 4.71
Dull Yellow
#EEDC5B
ΔE00 6.42
Wheat (survey)
#FBDD7E
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCD37C #7C85DC
analogous
#DCA37C #DCD37C #B5DC7C
triadic
#DCD37C #7CDCD3 #D37CDC
tetradic
#DCD37C #7CDCA3 #7C85DC #DC7CB5
square
#DCD37C #7CDCA3 #7C85DC #DC7CB5
split-complementary
#DCD37C #7CB5DC #A37CDC
monochromatic
#AFA32F #CFC34C #DCD37C #E9E3AC #F6F3DD
Accessibility & contrast
On white
1.54
#DCD37C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.65
#DCD37C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCD37C
13.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCD37C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCD37C | 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)
#E1CE75
Deuteranopia (green-blind)
#E4D380
Tritanopia (blue-blind)
#E9C8BE
Achromatopsia (no color)
#D0D0D0
Design tokens & code
CSS
--color: #dcd37c; /* rgb */ color: rgb(220, 211, 124); /* oklch */ color: oklch(85.5% 0.109 103.3);
Tailwind
colors: {
custom: {
50: '#e8e0a3',
500: '#dcd37c',
950: '#000000',
},
}SCSS
$custom: #dcd37c; $custom-light: #e8e0a3; $custom-dark: #000000;
JSON
{
"hex": "#dcd37c",
"rgb": {
"r": 220,
"g": 211,
"b": 124
},
"hsl": {
"h": 54.375,
"s": 57.831,
"l": 67.451
},
"oklch": {
"l": 0.85534,
"c": 0.10922,
"h": 103.3
},
"luminance": 0.63259
}Semantic roles & 50–950 ramp
primary
#DCD37C
secondary
#4B55B1
accent
#30C520
background
#FEFEFC
surface
#FDFCF6
border
#D5D5D0
text
#16150F
muted
#848480