#AB7F2C#AB7F2C
#AB7F2C is a light, moderate orange. Relative luminance 0.240; OKLCH L 62.5% C 0.111 H 79.6°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #AB7F2C |
|---|---|
| RGB | rgb(171, 127, 44) |
| HSL | hsl(39, 59%, 42%) |
| HSV | hsv(39, 74%, 67%) |
| CMYK | cmyk(0%, 25.7%, 74.3%, 32.9%) |
| CIE-LAB | lab(56.11, 8.86, 49.46) |
| CIE-LCH | lch(56.11, 50.25, 79.84°) |
| OKLab | oklab(62.49% 0.0202 0.1096) |
| OKLCH | oklch(62.49% 0.111 79.6) |
| XYZ | xyz(24.8402, 24.0204, 5.7105) |
| Luminance | 0.2402 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Mustard Brown
#AC7E04
ΔE00 3.44
Bronze (survey)
#A87900
ΔE00 3.68
Golden Brown
#B27A01
ΔE00 3.96
Dark Tan
#AF884A
ΔE00 4.61
Darkgoldenrod
#B8860B
ΔE00 4.75
Coffee
#A6814C
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB7F2C #2C58AB
analogous
#AB402C #AB7F2C #97AB2C
triadic
#AB7F2C #2CAB7F #7F2CAB
tetradic
#AB7F2C #2CAB40 #2C58AB #AB2C97
square
#AB7F2C #2CAB40 #2C58AB #AB2C97
split-complementary
#AB7F2C #2C97AB #402CAB
monochromatic
#4A3713 #7A5B1F #AB7F2C #CF9F45 #DCB876
Accessibility & contrast
On white
3.62
#AB7F2C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.80
#AB7F2C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AB7F2C
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB7F2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB7F2C | 1.00 | 3.62 | 5.80 | 5.80 |
| #FFFFFF | 3.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#908020
Deuteranopia (green-blind)
#9B8B2F
Tritanopia (blue-blind)
#BA726E
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #ab7f2c; /* rgb */ color: rgb(171, 127, 44); /* oklch */ color: oklch(62.5% 0.111 79.6);
Tailwind
colors: {
custom: {
50: '#c8a36a',
500: '#ab7f2c',
950: '#000000',
},
}SCSS
$custom: #ab7f2c; $custom-light: #c8a36a; $custom-dark: #000000;
JSON
{
"hex": "#ab7f2c",
"rgb": {
"r": 171,
"g": 127,
"b": 44
},
"hsl": {
"h": 39.213,
"s": 59.07,
"l": 42.157
},
"oklch": {
"l": 0.62488,
"c": 0.11148,
"h": 79.6
},
"luminance": 0.24019
}Semantic roles & 50–950 ramp
primary
#AB7F2C
secondary
#6F8CC3
accent
#7CE246
background
#FCFAF6
surface
#F9F3EB
border
#D2CDC6
text
#140F07
muted
#827F7A