#DCD37F#DCD37F
#DCD37F is a very light, moderate yellow. Relative luminance 0.633; OKLCH L 85.6% C 0.106 H 103.0°. Best body text is #000000 at 13.67:1 contrast (WCAG AA passes).
Color values
| HEX | #DCD37F |
|---|---|
| RGB | rgb(220, 211, 127) |
| HSL | hsl(54, 57%, 68%) |
| HSV | hsv(54, 42%, 86%) |
| CMYK | cmyk(0%, 4.1%, 42.3%, 13.7%) |
| CIE-LAB | lab(83.62, -8.64, 42.61) |
| CIE-LCH | lch(83.62, 43.48, 101.46°) |
| OKLab | oklab(85.58% -0.0239 0.1033) |
| OKLCH | oklch(85.58% 0.106 103) |
| XYZ | xyz(56.6414, 63.3381, 29.3163) |
| Luminance | 0.6334 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (CSS)
#F0E68C
ΔE00 4.40
Sand (survey)
#E2CA76
ΔE00 4.60
Greenish Beige
#C9D179
ΔE00 4.73
Sandy
#F1DA7A
ΔE00 4.74
Palegoldenrod
#EEE8AA
ΔE00 6.54
Wheat (survey)
#FBDD7E
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCD37F #7F88DC
analogous
#DCA57F #DCD37F #B6DC7F
triadic
#DCD37F #7FDCD3 #D37FDC
tetradic
#DCD37F #7FDCA5 #7F88DC #DC7FB6
square
#DCD37F #7FDCA5 #7F88DC #DC7FB6
split-complementary
#DCD37F #7FB6DC #A57FDC
monochromatic
#B0A430 #CFC24F #DCD37F #E9E4AF #F6F4DF
Accessibility & contrast
On white
1.54
#DCD37F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.67
#DCD37F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCD37F
13.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCD37F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCD37F | 1.00 | 1.54 | 13.67 | 13.67 |
| #FFFFFF | 1.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E1CE78
Deuteranopia (green-blind)
#E4D383
Tritanopia (blue-blind)
#E8C9BF
Achromatopsia (no color)
#D0D0D0
Design tokens & code
CSS
--color: #dcd37f; /* rgb */ color: rgb(220, 211, 127); /* oklch */ color: oklch(85.6% 0.106 103.0);
Tailwind
colors: {
custom: {
50: '#e8e0a5',
500: '#dcd37f',
950: '#000000',
},
}SCSS
$custom: #dcd37f; $custom-light: #e8e0a5; $custom-dark: #000000;
JSON
{
"hex": "#dcd37f",
"rgb": {
"r": 220,
"g": 211,
"b": 127
},
"hsl": {
"h": 54.194,
"s": 57.055,
"l": 68.039
},
"oklch": {
"l": 0.85579,
"c": 0.10599,
"h": 103
},
"luminance": 0.63336
}Semantic roles & 50–950 ramp
primary
#DCD37F
secondary
#4D57B2
accent
#31C521
background
#FEFEFC
surface
#FDFCF6
border
#D5D5D0
text
#16150F
muted
#848480