#DFA42F#DFA42F
#DFA42F is a light, vivid orange. Relative luminance 0.424; OKLCH L 75.6% C 0.142 H 79.7°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).
Color values
| HEX | #DFA42F |
|---|---|
| RGB | rgb(223, 164, 47) |
| HSL | hsl(40, 73%, 53%) |
| HSV | hsv(40, 79%, 87%) |
| CMYK | cmyk(0%, 26.5%, 78.9%, 12.5%) |
| CIE-LAB | lab(71.18, 11.67, 64.65) |
| CIE-LCH | lch(71.18, 65.70, 79.77°) |
| OKLab | oklab(75.58% 0.0256 0.1402) |
| OKLCH | oklch(75.58% 0.142 79.7) |
| XYZ | xyz(44.2231, 42.4477, 8.5529) |
| Luminance | 0.4244 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Goldenrod
#DAA520
ΔE00 2.53
Squash
#F2AB15
ΔE00 3.99
Macaroni And Cheese
#EFB435
ΔE00 4.44
Yellow Ochre
#CB9D06
ΔE00 5.30
Yellow Orange
#FCB001
ΔE00 5.92
Saffron
#FEB209
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DFA42F #2F6ADF
analogous
#DF4C2F #DFA42F #C2DF2F
triadic
#DFA42F #2FDFA4 #A42FDF
tetradic
#DFA42F #2FDF4C #2F6ADF #DF2FC2
square
#DFA42F #2FDF4C #2F6ADF #DF2FC2
split-complementary
#DFA42F #2FC2DF #4C2FDF
monochromatic
#805C14 #B5821C #DFA42F #E7BB64 #EFD299
Accessibility & contrast
On white
2.21
#DFA42F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.49
#DFA42F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DFA42F
9.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DFA42F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DFA42F | 1.00 | 2.21 | 9.49 | 9.49 |
| #FFFFFF | 2.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA618
Deuteranopia (green-blind)
#C9B434
Tritanopia (blue-blind)
#F3938E
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #dfa42f; /* rgb */ color: rgb(223, 164, 47); /* oklch */ color: oklch(75.6% 0.142 79.7);
Tailwind
colors: {
custom: {
50: '#eebe71',
500: '#dfa42f',
950: '#000000',
},
}SCSS
$custom: #dfa42f; $custom-light: #eebe71; $custom-dark: #000000;
JSON
{
"hex": "#dfa42f",
"rgb": {
"r": 223,
"g": 164,
"b": 47
},
"hsl": {
"h": 39.886,
"s": 73.333,
"l": 52.941
},
"oklch": {
"l": 0.75582,
"c": 0.14248,
"h": 79.7
},
"luminance": 0.42444
}Semantic roles & 50–950 ramp
primary
#DFA42F
secondary
#8FA8DB
accent
#76F038
background
#FFFBF7
surface
#FFF6ED
border
#D7D0C8
text
#171208
muted
#85817B