#AB7F1E#AB7F1E
#AB7F1E is a light, moderate orange. Relative luminance 0.239; OKLCH L 62.4% C 0.119 H 81.8°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #AB7F1E |
|---|---|
| RGB | rgb(171, 127, 30) |
| HSL | hsl(41, 70%, 39%) |
| HSV | hsv(41, 82%, 67%) |
| CMYK | cmyk(0%, 25.7%, 82.5%, 32.9%) |
| CIE-LAB | lab(56.02, 8.30, 54.76) |
| CIE-LCH | lch(56.02, 55.39, 81.39°) |
| OKLab | oklab(62.39% 0.0169 0.1179) |
| OKLCH | oklch(62.39% 0.119 81.8) |
| XYZ | xyz(24.6200, 23.9323, 4.5508) |
| Luminance | 0.2393 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Mustard Brown
#AC7E04
ΔE00 1.70
Bronze (survey)
#A87900
ΔE00 2.44
Golden Brown
#B27A01
ΔE00 3.43
Darkgoldenrod
#B8860B
ΔE00 3.66
Yellowish Brown
#9B7A01
ΔE00 4.86
Yellowy Brown
#AE8B0C
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB7F1E #1E4AAB
analogous
#AB391E #AB7F1E #90AB1E
triadic
#AB7F1E #1EAB7F #7F1EAB
tetradic
#AB7F1E #1EAB39 #1E4AAB #AB1E90
square
#AB7F1E #1EAB39 #1E4AAB #AB1E90
split-complementary
#AB7F1E #1E90AB #391EAB
monochromatic
#43320C #775815 #AB7F1E #DAA42C #E3BA60
Accessibility & contrast
On white
3.63
#AB7F1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.79
#AB7F1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AB7F1E
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB7F1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB7F1E | 1.00 | 3.63 | 5.79 | 5.79 |
| #FFFFFF | 3.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918006
Deuteranopia (green-blind)
#9B8B23
Tritanopia (blue-blind)
#BA726D
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #ab7f1e; /* rgb */ color: rgb(171, 127, 30); /* oklch */ color: oklch(62.4% 0.119 81.8);
Tailwind
colors: {
custom: {
50: '#c9a363',
500: '#ab7f1e',
950: '#000000',
},
}SCSS
$custom: #ab7f1e; $custom-light: #c9a363; $custom-dark: #000000;
JSON
{
"hex": "#ab7f1e",
"rgb": {
"r": 171,
"g": 127,
"b": 30
},
"hsl": {
"h": 41.277,
"s": 70.149,
"l": 39.412
},
"oklch": {
"l": 0.62391,
"c": 0.11909,
"h": 81.8
},
"luminance": 0.2393
}Semantic roles & 50–950 ramp
primary
#AB7F1E
secondary
#5D7EC8
accent
#72ED3B
background
#FDFAF6
surface
#FAF3EB
border
#D3CDC6
text
#140F06
muted
#837F7A