#DCD17F#DCD17F
#DCD17F is a very light, moderate yellow. Relative luminance 0.623; OKLCH L 85.2% C 0.104 H 101.7°. Best body text is #000000 at 13.47:1 contrast (WCAG AA passes).
Color values
| HEX | #DCD17F |
|---|---|
| RGB | rgb(220, 209, 127) |
| HSL | hsl(53, 57%, 68%) |
| HSV | hsv(53, 42%, 86%) |
| CMYK | cmyk(0%, 5%, 42.3%, 13.7%) |
| CIE-LAB | lab(83.10, -7.62, 41.96) |
| CIE-LCH | lch(83.10, 42.64, 100.29°) |
| OKLab | oklab(85.17% -0.021 0.1018) |
| OKLCH | oklch(85.17% 0.104 101.7) |
| XYZ | xyz(56.1476, 62.3505, 29.1517) |
| Luminance | 0.6235 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 3.95
Sandy
#F1DA7A
ΔE00 4.61
Khaki (CSS)
#F0E68C
ΔE00 4.83
Greenish Beige
#C9D179
ΔE00 5.24
Wheat (survey)
#FBDD7E
ΔE00 6.50
Beige (survey)
#E6DAA6
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCD17F #7F8ADC
analogous
#DCA27F #DCD17F #B8DC7F
triadic
#DCD17F #7FDCD1 #D17FDC
tetradic
#DCD17F #7FDCA2 #7F8ADC #DC7FB8
square
#DCD17F #7FDCA2 #7F8ADC #DC7FB8
split-complementary
#DCD17F #7FB8DC #A27FDC
monochromatic
#B0A130 #CFC04F #DCD17F #E9E2AF #F6F4DF
Accessibility & contrast
On white
1.56
#DCD17F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.47
#DCD17F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCD17F
13.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCD17F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCD17F | 1.00 | 1.56 | 13.47 | 13.47 |
| #FFFFFF | 1.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DFCC79
Deuteranopia (green-blind)
#E2D182
Tritanopia (blue-blind)
#E9C7BD
Achromatopsia (no color)
#CFCFCF
Design tokens & code
CSS
--color: #dcd17f; /* rgb */ color: rgb(220, 209, 127); /* oklch */ color: oklch(85.2% 0.104 101.7);
Tailwind
colors: {
custom: {
50: '#e8dea5',
500: '#dcd17f',
950: '#000000',
},
}SCSS
$custom: #dcd17f; $custom-light: #e8dea5; $custom-dark: #000000;
JSON
{
"hex": "#dcd17f",
"rgb": {
"r": 220,
"g": 209,
"b": 127
},
"hsl": {
"h": 52.903,
"s": 57.055,
"l": 68.039
},
"oklch": {
"l": 0.85166,
"c": 0.10392,
"h": 101.7
},
"luminance": 0.62349
}Semantic roles & 50–950 ramp
primary
#DCD17F
secondary
#4D59B2
accent
#34C521
background
#FEFEFC
surface
#FDFCF6
border
#D5D5D0
text
#16150F
muted
#848480