#DCD86F#DCD86F
#DCD86F is a very light, vivid yellow. Relative luminance 0.655; OKLCH L 86.4% C 0.128 H 106.8°. Best body text is #000000 at 14.10:1 contrast (WCAG AA passes).
Color values
| HEX | #DCD86F |
|---|---|
| RGB | rgb(220, 216, 111) |
| HSL | hsl(58, 61%, 65%) |
| HSV | hsv(58, 50%, 86%) |
| CMYK | cmyk(0%, 1.8%, 49.5%, 13.7%) |
| CIE-LAB | lab(84.73, -12.67, 51.74) |
| CIE-LCH | lch(84.73, 53.27, 103.76°) |
| OKLab | oklab(86.4% -0.037 0.1223) |
| OKLCH | oklch(86.4% 0.128 106.8) |
| XYZ | xyz(56.9417, 65.4766, 24.6746) |
| Luminance | 0.6548 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (CSS)
#F0E68C
ΔE00 4.47
Greenish Beige
#C9D179
ΔE00 4.75
Dull Yellow
#EEDC5B
ΔE00 4.98
Sandy
#F1DA7A
ΔE00 5.46
Sandy Yellow
#FDEE73
ΔE00 6.34
Yellowish
#FAEE66
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCD86F #6F73DC
analogous
#DCA16F #DCD86F #AADC6F
triadic
#DCD86F #6FDCD8 #D86FDC
tetradic
#DCD86F #6FDCA1 #6F73DC #DC6FAA
square
#DCD86F #6FDCA1 #6F73DC #DC6FAA
split-complementary
#DCD86F #6FAADC #A16FDC
monochromatic
#A8A329 #D0CB3E #DCD86F #E8E5A0 #F4F3D1
Accessibility & contrast
On white
1.49
#DCD86F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.10
#DCD86F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCD86F
14.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCD86F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCD86F | 1.00 | 1.49 | 14.10 | 14.10 |
| #FFFFFF | 1.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E7D165
Deuteranopia (green-blind)
#E9D674
Tritanopia (blue-blind)
#E9CCC0
Achromatopsia (no color)
#D3D3D3
Design tokens & code
CSS
--color: #dcd86f; /* rgb */ color: rgb(220, 216, 111); /* oklch */ color: oklch(86.4% 0.128 106.8);
Tailwind
colors: {
custom: {
50: '#e9e39b',
500: '#dcd86f',
950: '#000000',
},
}SCSS
$custom: #dcd86f; $custom-light: #e9e39b; $custom-dark: #000000;
JSON
{
"hex": "#dcd86f",
"rgb": {
"r": 220,
"g": 216,
"b": 111
},
"hsl": {
"h": 57.798,
"s": 60.894,
"l": 64.902
},
"oklch": {
"l": 0.86395,
"c": 0.12782,
"h": 106.8
},
"luminance": 0.65475
}Semantic roles & 50–950 ramp
primary
#DCD86F
secondary
#4548AB
accent
#23C91D
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F