#DFC866#DFC866
#DFC866 is a very light, vivid yellow. Relative luminance 0.580; OKLCH L 83.2% C 0.121 H 96.4°. Best body text is #000000 at 12.59:1 contrast (WCAG AA passes).
Color values
| HEX | #DFC866 |
|---|---|
| RGB | rgb(223, 200, 102) |
| HSL | hsl(49, 65%, 64%) |
| HSV | hsv(49, 54%, 87%) |
| CMYK | cmyk(0%, 10.3%, 54.3%, 12.5%) |
| CIE-LAB | lab(80.72, -4.08, 51.31) |
| CIE-LCH | lch(80.72, 51.47, 94.55°) |
| OKLab | oklab(83.24% -0.0135 0.1205) |
| OKLCH | oklch(83.24% 0.121 96.4) |
| XYZ | xyz(53.4859, 57.9581, 20.9375) |
| Luminance | 0.5796 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 2.33
Sandy
#F1DA7A
ΔE00 4.29
Light Mustard
#F7D560
ΔE00 4.95
Maize
#F4D054
ΔE00 5.01
Wheat (survey)
#FBDD7E
ΔE00 5.61
Dull Yellow
#EEDC5B
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DFC866 #667DDF
analogous
#DF8B66 #DFC866 #B9DF66
triadic
#DFC866 #66DFC8 #C866DF
tetradic
#DFC866 #66DF8B #667DDF #DF66B9
square
#DFC866 #66DF8B #667DDF #DF66B9
split-complementary
#DFC866 #66B9DF #8B66DF
monochromatic
#A88E23 #D4B633 #DFC866 #EADA99 #F4ECCB
Accessibility & contrast
On white
1.67
#DFC866 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.59
#DFC866 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DFC866
12.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DFC866 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DFC866 | 1.00 | 1.67 | 12.59 | 12.59 |
| #FFFFFF | 1.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D9C45D
Deuteranopia (green-blind)
#DFCC6A
Tritanopia (blue-blind)
#EEBBB2
Achromatopsia (no color)
#C8C8C8
Design tokens & code
CSS
--color: #dfc866; /* rgb */ color: rgb(223, 200, 102); /* oklch */ color: oklch(83.2% 0.121 96.4);
Tailwind
colors: {
custom: {
50: '#ebd894',
500: '#dfc866',
950: '#000000',
},
}SCSS
$custom: #dfc866; $custom-light: #ebd894; $custom-dark: #000000;
JSON
{
"hex": "#dfc866",
"rgb": {
"r": 223,
"g": 200,
"b": 102
},
"hsl": {
"h": 48.595,
"s": 65.405,
"l": 63.725
},
"oklch": {
"l": 0.83239,
"c": 0.12128,
"h": 96.4
},
"luminance": 0.57956
}Semantic roles & 50–950 ramp
primary
#DFC866
secondary
#3F54AA
accent
#3BCD18
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F