#AB7227#AB7227
#AB7227 is a mid, moderate orange. Relative luminance 0.208; OKLCH L 59.9% C 0.113 H 69.3°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #AB7227 |
|---|---|
| RGB | rgb(171, 114, 39) |
| HSL | hsl(34, 63%, 41%) |
| HSV | hsv(34, 77%, 67%) |
| CMYK | cmyk(0%, 33.3%, 77.2%, 32.9%) |
| CIE-LAB | lab(52.78, 15.94, 48.32) |
| CIE-LCH | lch(52.78, 50.88, 71.74°) |
| OKLab | oklab(59.87% 0.0402 0.1061) |
| OKLCH | oklch(59.87% 0.113 69.3) |
| XYZ | xyz(23.1799, 20.8412, 4.7210) |
| Luminance | 0.2084 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Leather
#AC7434
ΔE00 2.07
Caramel (survey)
#AF6F09
ΔE00 2.80
Copper
#B87333
ΔE00 4.81
Brown Orange
#B96902
ΔE00 5.39
Golden Brown
#B27A01
ΔE00 5.69
Umber (survey)
#B26400
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB7227 #2760AB
analogous
#AB3027 #AB7227 #A2AB27
triadic
#AB7227 #27AB72 #7227AB
tetradic
#AB7227 #27AB30 #2760AB #AB27A2
square
#AB7227 #27AB30 #2760AB #AB27A2
split-complementary
#AB7227 #27A2AB #3027AB
monochromatic
#473010 #79511C #AB7227 #D3923D #DEAE6E
Accessibility & contrast
On white
4.06
#AB7227 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.17
#AB7227 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AB7227
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB7227 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB7227 | 1.00 | 4.06 | 5.17 | 5.17 |
| #FFFFFF | 4.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#85761C
Deuteranopia (green-blind)
#938329
Tritanopia (blue-blind)
#BB6463
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #ab7227; /* rgb */ color: rgb(171, 114, 39); /* oklch */ color: oklch(59.9% 0.113 69.3);
Tailwind
colors: {
custom: {
50: '#c99a66',
500: '#ab7227',
950: '#000000',
},
}SCSS
$custom: #ab7227; $custom-light: #c99a66; $custom-dark: #000000;
JSON
{
"hex": "#ab7227",
"rgb": {
"r": 171,
"g": 114,
"b": 39
},
"hsl": {
"h": 34.091,
"s": 62.857,
"l": 41.176
},
"oklch": {
"l": 0.59874,
"c": 0.11345,
"h": 69.3
},
"luminance": 0.20839
}Semantic roles & 50–950 ramp
primary
#AB7227
secondary
#6991C5
accent
#89E642
background
#FDF9F6
surface
#FAF2EB
border
#D3CCC6
text
#140E06
muted
#837E7A