#DCAB42#DCAB42
#DCAB42 is a light, vivid orange. Relative luminance 0.447; OKLCH L 76.8% C 0.132 H 83.1°. Best body text is #000000 at 9.95:1 contrast (WCAG AA passes).
Color values
| HEX | #DCAB42 |
|---|---|
| RGB | rgb(220, 171, 66) |
| HSL | hsl(41, 69%, 56%) |
| HSV | hsv(41, 70%, 86%) |
| CMYK | cmyk(0%, 22.3%, 70%, 13.7%) |
| CIE-LAB | lab(72.72, 7.47, 58.66) |
| CIE-LCH | lch(72.72, 59.13, 82.74°) |
| OKLab | oklab(76.76% 0.0158 0.1314) |
| OKLCH | oklch(76.76% 0.132 83.1) |
| XYZ | xyz(45.0642, 44.7379, 11.4150) |
| Luminance | 0.4474 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Goldenrod
#DAA520
ΔE00 2.99
Macaroni And Cheese
#EFB435
ΔE00 4.07
Mustard
#DBB42C
ΔE00 5.22
Burnt Yellow
#D5AB09
ΔE00 5.23
Yellow Ochre
#CB9D06
ΔE00 5.49
Squash
#F2AB15
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCAB42 #4273DC
analogous
#DC5E42 #DCAB42 #C0DC42
triadic
#DCAB42 #42DCAB #AB42DC
tetradic
#DCAB42 #42DC5E #4273DC #DC42C0
square
#DCAB42 #42DC5E #4273DC #DC42C0
split-complementary
#DCAB42 #42C0DC #5E42DC
monochromatic
#8A661A #BE8C23 #DCAB42 #E6C276 #EFD9A9
Accessibility & contrast
On white
2.11
#DCAB42 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.95
#DCAB42 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCAB42
9.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCAB42 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCAB42 | 1.00 | 2.11 | 9.95 | 9.95 |
| #FFFFFF | 2.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AB34
Deuteranopia (green-blind)
#CCB846
Tritanopia (blue-blind)
#EE9C95
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #dcab42; /* rgb */ color: rgb(220, 171, 66); /* oklch */ color: oklch(76.8% 0.132 83.1);
Tailwind
colors: {
custom: {
50: '#ebc37c',
500: '#dcab42',
950: '#000000',
},
}SCSS
$custom: #dcab42; $custom-light: #ebc37c; $custom-dark: #000000;
JSON
{
"hex": "#dcab42",
"rgb": {
"r": 220,
"g": 171,
"b": 66
},
"hsl": {
"h": 40.909,
"s": 68.75,
"l": 56.078
},
"oklch": {
"l": 0.76759,
"c": 0.13233,
"h": 83.1
},
"luminance": 0.44735
}Semantic roles & 50–950 ramp
primary
#DCAB42
secondary
#9DB1DD
accent
#74EC3C
background
#FFFBF7
surface
#FEF7EE
border
#D6D0C9
text
#17120A
muted
#85817C