#DCA840#DCA840
#DCA840 is a light, vivid orange. Relative luminance 0.436; OKLCH L 76.2% C 0.133 H 81.4°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).
Color values
| HEX | #DCA840 |
|---|---|
| RGB | rgb(220, 168, 64) |
| HSL | hsl(40, 69%, 56%) |
| HSV | hsv(40, 71%, 86%) |
| CMYK | cmyk(0%, 23.6%, 70.9%, 13.7%) |
| CIE-LAB | lab(71.96, 8.97, 58.72) |
| CIE-LCH | lch(71.96, 59.40, 81.32°) |
| OKLab | oklab(76.16% 0.0199 0.1311) |
| OKLCH | oklch(76.16% 0.133 81.4) |
| XYZ | xyz(44.4460, 43.5943, 10.9231) |
| Luminance | 0.4359 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Goldenrod
#DAA520
ΔE00 2.92
Macaroni And Cheese
#EFB435
ΔE00 4.37
Squash
#F2AB15
ΔE00 5.31
Yellow Ochre
#CB9D06
ΔE00 5.48
Sand Brown
#CBA560
ΔE00 5.88
Burnt Yellow
#D5AB09
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCA840 #4074DC
analogous
#DC5A40 #DCA840 #C2DC40
triadic
#DCA840 #40DCA8 #A840DC
tetradic
#DCA840 #40DC5A #4074DC #DC40C2
square
#DCA840 #40DC5A #4074DC #DC40C2
split-complementary
#DCA840 #40C2DC #5A40DC
monochromatic
#896319 #BC8923 #DCA840 #E5C074 #EFD7A7
Accessibility & contrast
On white
2.16
#DCA840 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.72
#DCA840 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCA840
9.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCA840 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCA840 | 1.00 | 2.16 | 9.72 | 9.72 |
| #FFFFFF | 2.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA932
Deuteranopia (green-blind)
#CAB644
Tritanopia (blue-blind)
#EF9893
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #dca840; /* rgb */ color: rgb(220, 168, 64); /* oklch */ color: oklch(76.2% 0.133 81.4);
Tailwind
colors: {
custom: {
50: '#ebc17a',
500: '#dca840',
950: '#000000',
},
}SCSS
$custom: #dca840; $custom-light: #ebc17a; $custom-dark: #000000;
JSON
{
"hex": "#dca840",
"rgb": {
"r": 220,
"g": 168,
"b": 64
},
"hsl": {
"h": 40,
"s": 69.027,
"l": 55.686
},
"oklch": {
"l": 0.76156,
"c": 0.13264,
"h": 81.4
},
"luminance": 0.43591
}Semantic roles & 50–950 ramp
primary
#DCA840
secondary
#9BB1DC
accent
#77EC3C
background
#FFFBF7
surface
#FEF7EE
border
#D6D0C9
text
#17120A
muted
#85817C