#DCD47F#DCD47F
#DCD47F is a very light, moderate yellow. Relative luminance 0.638; OKLCH L 85.8% C 0.107 H 103.7°. Best body text is #000000 at 13.77:1 contrast (WCAG AA passes).
Color values
| HEX | #DCD47F |
|---|---|
| RGB | rgb(220, 212, 127) |
| HSL | hsl(55, 57%, 68%) |
| HSV | hsv(55, 42%, 86%) |
| CMYK | cmyk(0%, 3.6%, 42.3%, 13.7%) |
| CIE-LAB | lab(83.88, -9.14, 42.94) |
| CIE-LCH | lch(83.88, 43.90, 102.02°) |
| OKLab | oklab(85.79% -0.0254 0.104) |
| OKLCH | oklch(85.79% 0.107 103.7) |
| XYZ | xyz(56.8906, 63.8365, 29.3994) |
| Luminance | 0.6383 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (CSS)
#F0E68C
ΔE00 4.22
Greenish Beige
#C9D179
ΔE00 4.50
Sandy
#F1DA7A
ΔE00 4.85
Sand (survey)
#E2CA76
ΔE00 4.93
Palegoldenrod
#EEE8AA
ΔE00 6.48
Dull Yellow
#EEDC5B
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCD47F #7F87DC
analogous
#DCA57F #DCD47F #B5DC7F
triadic
#DCD47F #7FDCD4 #D47FDC
tetradic
#DCD47F #7FDCA5 #7F87DC #DC7FB5
square
#DCD47F #7FDCA5 #7F87DC #DC7FB5
split-complementary
#DCD47F #7FB5DC #A57FDC
monochromatic
#B0A530 #CFC44F #DCD47F #E9E4AF #F6F4DF
Accessibility & contrast
On white
1.53
#DCD47F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.77
#DCD47F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCD47F
13.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCD47F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCD47F | 1.00 | 1.53 | 13.77 | 13.77 |
| #FFFFFF | 1.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E2CF78
Deuteranopia (green-blind)
#E5D383
Tritanopia (blue-blind)
#E8CABF
Achromatopsia (no color)
#D1D1D1
Design tokens & code
CSS
--color: #dcd47f; /* rgb */ color: rgb(220, 212, 127); /* oklch */ color: oklch(85.8% 0.107 103.7);
Tailwind
colors: {
custom: {
50: '#e8e1a5',
500: '#dcd47f',
950: '#000000',
},
}SCSS
$custom: #dcd47f; $custom-light: #e8e1a5; $custom-dark: #000000;
JSON
{
"hex": "#dcd47f",
"rgb": {
"r": 220,
"g": 212,
"b": 127
},
"hsl": {
"h": 54.839,
"s": 57.055,
"l": 68.039
},
"oklch": {
"l": 0.85786,
"c": 0.10704,
"h": 103.7
},
"luminance": 0.63835
}Semantic roles & 50–950 ramp
primary
#DCD47F
secondary
#4D55B2
accent
#2FC521
background
#FEFEFC
surface
#FDFCF6
border
#D5D5D0
text
#16150F
muted
#848480