#DCD17C#DCD17C
#DCD17C is a very light, moderate yellow. Relative luminance 0.623; OKLCH L 85.1% C 0.107 H 101.9°. Best body text is #000000 at 13.45:1 contrast (WCAG AA passes).
Color values
| HEX | #DCD17C |
|---|---|
| RGB | rgb(220, 209, 124) |
| HSL | hsl(53, 58%, 67%) |
| HSV | hsv(53, 44%, 86%) |
| CMYK | cmyk(0%, 5%, 43.6%, 13.7%) |
| CIE-LAB | lab(83.06, -7.92, 43.40) |
| CIE-LCH | lch(83.06, 44.12, 100.35°) |
| OKLab | oklab(85.12% -0.0221 0.1049) |
| OKLCH | oklch(85.12% 0.107 101.9) |
| XYZ | xyz(55.9550, 62.2735, 28.1373) |
| Luminance | 0.6227 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 3.95
Sandy
#F1DA7A
ΔE00 4.43
Khaki (CSS)
#F0E68C
ΔE00 4.76
Greenish Beige
#C9D179
ΔE00 5.19
Wheat (survey)
#FBDD7E
ΔE00 6.42
Dull Yellow
#EEDC5B
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCD17C #7C87DC
analogous
#DCA17C #DCD17C #B7DC7C
triadic
#DCD17C #7CDCD1 #D17CDC
tetradic
#DCD17C #7CDCA1 #7C87DC #DC7CB7
square
#DCD17C #7CDCA1 #7C87DC #DC7CB7
split-complementary
#DCD17C #7CB7DC #A17CDC
monochromatic
#AFA02F #CFC04C #DCD17C #E9E2AC #F6F3DD
Accessibility & contrast
On white
1.56
#DCD17C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.45
#DCD17C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCD17C
13.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCD17C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCD17C | 1.00 | 1.56 | 13.45 | 13.45 |
| #FFFFFF | 1.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DFCC75
Deuteranopia (green-blind)
#E3D180
Tritanopia (blue-blind)
#E9C6BC
Achromatopsia (no color)
#CFCFCF
Design tokens & code
CSS
--color: #dcd17c; /* rgb */ color: rgb(220, 209, 124); /* oklch */ color: oklch(85.1% 0.107 101.9);
Tailwind
colors: {
custom: {
50: '#e8dea3',
500: '#dcd17c',
950: '#000000',
},
}SCSS
$custom: #dcd17c; $custom-light: #e8dea3; $custom-dark: #000000;
JSON
{
"hex": "#dcd17c",
"rgb": {
"r": 220,
"g": 209,
"b": 124
},
"hsl": {
"h": 53.125,
"s": 57.831,
"l": 67.451
},
"oklch": {
"l": 0.85121,
"c": 0.10716,
"h": 101.9
},
"luminance": 0.62272
}Semantic roles & 50–950 ramp
primary
#DCD17C
secondary
#4B57B1
accent
#33C520
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150F
muted
#848480