#DFAA40#DFAA40
#DFAA40 is a light, vivid orange. Relative luminance 0.448; OKLCH L 76.9% C 0.135 H 81.3°. Best body text is #000000 at 9.96:1 contrast (WCAG AA passes).
Color values
| HEX | #DFAA40 |
|---|---|
| RGB | rgb(223, 170, 64) |
| HSL | hsl(40, 71%, 56%) |
| HSV | hsv(40, 71%, 87%) |
| CMYK | cmyk(0%, 23.8%, 71.3%, 12.5%) |
| CIE-LAB | lab(72.77, 9.19, 59.65) |
| CIE-LCH | lch(72.77, 60.35, 81.24°) |
| OKLab | oklab(76.86% 0.0203 0.133) |
| OKLCH | oklch(76.86% 0.135 81.3) |
| XYZ | xyz(45.7344, 44.8109, 11.0901) |
| Luminance | 0.4481 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Goldenrod
#DAA520
ΔE00 2.98
Macaroni And Cheese
#EFB435
ΔE00 3.73
Squash
#F2AB15
ΔE00 4.85
Yellow Ochre
#CB9D06
ΔE00 5.83
Burnt Yellow
#D5AB09
ΔE00 5.90
Mustard
#DBB42C
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DFAA40 #4075DF
analogous
#DF5B40 #DFAA40 #C5DF40
triadic
#DFAA40 #40DFAA #AA40DF
tetradic
#DFAA40 #40DF5B #4075DF #DF40C5
square
#DFAA40 #40DF5B #4075DF #DF40C5
split-complementary
#DFAA40 #40C5DF #5B40DF
monochromatic
#8D6618 #C18C20 #DFAA40 #E8C174 #F1D9A9
Accessibility & contrast
On white
2.11
#DFAA40 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.96
#DFAA40 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DFAA40
9.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DFAA40 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DFAA40 | 1.00 | 2.11 | 9.96 | 9.96 |
| #FFFFFF | 2.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AB32
Deuteranopia (green-blind)
#CCB844
Tritanopia (blue-blind)
#F29A94
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #dfaa40; /* rgb */ color: rgb(223, 170, 64); /* oklch */ color: oklch(76.9% 0.135 81.3);
Tailwind
colors: {
custom: {
50: '#edc37b',
500: '#dfaa40',
950: '#000000',
},
}SCSS
$custom: #dfaa40; $custom-light: #edc37b; $custom-dark: #000000;
JSON
{
"hex": "#dfaa40",
"rgb": {
"r": 223,
"g": 170,
"b": 64
},
"hsl": {
"h": 40,
"s": 71.3,
"l": 56.275
},
"oklch": {
"l": 0.76863,
"c": 0.13454,
"h": 81.3
},
"luminance": 0.44808
}Semantic roles & 50–950 ramp
primary
#DFAA40
secondary
#9DB2DE
accent
#76EE3A
background
#FFFBF7
surface
#FFF7EE
border
#D7D0C9
text
#17120A
muted
#85817C