#AB7F2F#AB7F2F
#AB7F2F is a light, moderate orange. Relative luminance 0.240; OKLCH L 62.5% C 0.110 H 79.0°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #AB7F2F |
|---|---|
| RGB | rgb(171, 127, 47) |
| HSL | hsl(39, 57%, 43%) |
| HSV | hsv(39, 73%, 67%) |
| CMYK | cmyk(0%, 25.7%, 72.5%, 32.9%) |
| CIE-LAB | lab(56.13, 9.01, 48.18) |
| CIE-LCH | lch(56.13, 49.02, 79.40°) |
| OKLab | oklab(62.51% 0.021 0.1075) |
| OKLCH | oklch(62.51% 0.11 79) |
| XYZ | xyz(24.8987, 24.0438, 6.0183) |
| Luminance | 0.2404 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Mustard Brown
#AC7E04
ΔE00 3.90
Bronze (survey)
#A87900
ΔE00 4.06
Golden Brown
#B27A01
ΔE00 4.21
Dark Tan
#AF884A
ΔE00 4.28
Coffee
#A6814C
ΔE00 5.06
Darkgoldenrod
#B8860B
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB7F2F #2F5BAB
analogous
#AB412F #AB7F2F #99AB2F
triadic
#AB7F2F #2FAB7F #7F2FAB
tetradic
#AB7F2F #2FAB41 #2F5BAB #AB2F99
square
#AB7F2F #2FAB41 #2F5BAB #AB2F99
split-complementary
#AB7F2F #2F99AB #412FAB
monochromatic
#4B3815 #7B5B22 #AB7F2F #CD9F4A #DAB87A
Accessibility & contrast
On white
3.62
#AB7F2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.81
#AB7F2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AB7F2F
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB7F2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB7F2F | 1.00 | 3.62 | 5.81 | 5.81 |
| #FFFFFF | 3.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#908025
Deuteranopia (green-blind)
#9B8B32
Tritanopia (blue-blind)
#BA726E
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #ab7f2f; /* rgb */ color: rgb(171, 127, 47); /* oklch */ color: oklch(62.5% 0.110 79.0);
Tailwind
colors: {
custom: {
50: '#c8a36c',
500: '#ab7f2f',
950: '#000000',
},
}SCSS
$custom: #ab7f2f; $custom-light: #c8a36c; $custom-dark: #000000;
JSON
{
"hex": "#ab7f2f",
"rgb": {
"r": 171,
"g": 127,
"b": 47
},
"hsl": {
"h": 38.71,
"s": 56.881,
"l": 42.745
},
"oklch": {
"l": 0.62514,
"c": 0.10956,
"h": 79
},
"luminance": 0.24042
}Semantic roles & 50–950 ramp
primary
#AB7F2F
secondary
#738FC3
accent
#7EE048
background
#FCFAF6
surface
#F9F3EC
border
#D2CDC7
text
#140F07
muted
#827F7A