#DFA22B#DFA22B
#DFA22B is a light, vivid orange. Relative luminance 0.417; OKLCH L 75.2% C 0.144 H 78.8°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).
Color values
| HEX | #DFA22B |
|---|---|
| RGB | rgb(223, 162, 43) |
| HSL | hsl(40, 74%, 52%) |
| HSV | hsv(40, 81%, 87%) |
| CMYK | cmyk(0%, 27.4%, 80.7%, 12.5%) |
| CIE-LAB | lab(70.67, 12.61, 65.56) |
| CIE-LCH | lch(70.67, 66.76, 79.12°) |
| OKLab | oklab(75.18% 0.0279 0.1412) |
| OKLCH | oklch(75.18% 0.144 78.8) |
| XYZ | xyz(43.7909, 41.7066, 8.0289) |
| Luminance | 0.4170 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Goldenrod
#DAA520
ΔE00 2.91
Squash
#F2AB15
ΔE00 4.01
Macaroni And Cheese
#EFB435
ΔE00 4.92
Yellow Ochre
#CB9D06
ΔE00 5.45
Honey
#EB9605
ΔE00 5.92
Yellow Orange
#FCB001
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DFA22B #2B68DF
analogous
#DF482B #DFA22B #C2DF2B
triadic
#DFA22B #2BDFA2 #A22BDF
tetradic
#DFA22B #2BDF48 #2B68DF #DF2BC2
square
#DFA22B #2BDF48 #2B68DF #DF2BC2
split-complementary
#DFA22B #2BC2DF #482BDF
monochromatic
#7D5913 #B27F1B #DFA22B #E7B960 #EFD195
Accessibility & contrast
On white
2.25
#DFA22B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.34
#DFA22B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DFA22B
9.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DFA22B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DFA22B | 1.00 | 2.25 | 9.34 | 9.34 |
| #FFFFFF | 2.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B9A410
Deuteranopia (green-blind)
#C8B331
Tritanopia (blue-blind)
#F3918C
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #dfa22b; /* rgb */ color: rgb(223, 162, 43); /* oklch */ color: oklch(75.2% 0.144 78.8);
Tailwind
colors: {
custom: {
50: '#efbd6f',
500: '#dfa22b',
950: '#000000',
},
}SCSS
$custom: #dfa22b; $custom-light: #efbd6f; $custom-dark: #000000;
JSON
{
"hex": "#dfa22b",
"rgb": {
"r": 223,
"g": 162,
"b": 43
},
"hsl": {
"h": 39.667,
"s": 73.77,
"l": 52.157
},
"oklch": {
"l": 0.75176,
"c": 0.14395,
"h": 78.8
},
"luminance": 0.41703
}Semantic roles & 50–950 ramp
primary
#DFA22B
secondary
#8CA6DA
accent
#76F037
background
#FFFBF7
surface
#FFF6ED
border
#D7D0C8
text
#181208
muted
#86817B