#DCAB40#DCAB40
#DCAB40 is a light, vivid orange. Relative luminance 0.447; OKLCH L 76.7% C 0.134 H 83.4°. Best body text is #000000 at 9.94:1 contrast (WCAG AA passes).
Color values
| HEX | #DCAB40 |
|---|---|
| RGB | rgb(220, 171, 64) |
| HSL | hsl(41, 69%, 56%) |
| HSV | hsv(41, 71%, 86%) |
| CMYK | cmyk(0%, 22.3%, 70.9%, 13.7%) |
| CIE-LAB | lab(72.70, 7.37, 59.48) |
| CIE-LCH | lch(72.70, 59.94, 82.93°) |
| OKLab | oklab(76.74% 0.0153 0.1328) |
| OKLCH | oklch(76.74% 0.134 83.4) |
| XYZ | xyz(45.0063, 44.7148, 11.1098) |
| Luminance | 0.4471 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Goldenrod
#DAA520
ΔE00 2.79
Macaroni And Cheese
#EFB435
ΔE00 3.98
Burnt Yellow
#D5AB09
ΔE00 4.99
Mustard
#DBB42C
ΔE00 5.02
Yellow Ochre
#CB9D06
ΔE00 5.33
Squash
#F2AB15
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCAB40 #4071DC
analogous
#DC5D40 #DCAB40 #BFDC40
triadic
#DCAB40 #40DCAB #AB40DC
tetradic
#DCAB40 #40DC5D #4071DC #DC40BF
square
#DCAB40 #40DC5D #4071DC #DC40BF
split-complementary
#DCAB40 #40BFDC #5D40DC
monochromatic
#896619 #BC8C23 #DCAB40 #E5C274 #EFD8A7
Accessibility & contrast
On white
2.11
#DCAB40 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.94
#DCAB40 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCAB40
9.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCAB40 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCAB40 | 1.00 | 2.11 | 9.94 | 9.94 |
| #FFFFFF | 2.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AB32
Deuteranopia (green-blind)
#CCB845
Tritanopia (blue-blind)
#EE9C95
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #dcab40; /* rgb */ color: rgb(220, 171, 64); /* oklch */ color: oklch(76.7% 0.134 83.4);
Tailwind
colors: {
custom: {
50: '#ebc37b',
500: '#dcab40',
950: '#000000',
},
}SCSS
$custom: #dcab40; $custom-light: #ebc37b; $custom-dark: #000000;
JSON
{
"hex": "#dcab40",
"rgb": {
"r": 220,
"g": 171,
"b": 64
},
"hsl": {
"h": 41.154,
"s": 69.027,
"l": 55.686
},
"oklch": {
"l": 0.76742,
"c": 0.13363,
"h": 83.4
},
"luminance": 0.44712
}Semantic roles & 50–950 ramp
primary
#DCAB40
secondary
#9BB0DC
accent
#73EC3C
background
#FFFBF7
surface
#FEF7EE
border
#D6D0C9
text
#17120A
muted
#85817C