#AB7F1C#AB7F1C
#AB7F1C is a light, moderate orange. Relative luminance 0.239; OKLCH L 62.4% C 0.120 H 82.1°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #AB7F1C |
|---|---|
| RGB | rgb(171, 127, 28) |
| HSL | hsl(42, 72%, 39%) |
| HSV | hsv(42, 84%, 67%) |
| CMYK | cmyk(0%, 25.7%, 83.6%, 32.9%) |
| CIE-LAB | lab(56.01, 8.23, 55.42) |
| CIE-LCH | lch(56.01, 56.02, 81.55°) |
| OKLab | oklab(62.38% 0.0165 0.1188) |
| OKLCH | oklch(62.38% 0.12 82.1) |
| XYZ | xyz(24.5953, 23.9224, 4.4205) |
| Luminance | 0.2392 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Mustard Brown
#AC7E04
ΔE00 1.51
Bronze (survey)
#A87900
ΔE00 2.35
Golden Brown
#B27A01
ΔE00 3.42
Darkgoldenrod
#B8860B
ΔE00 3.57
Yellowish Brown
#9B7A01
ΔE00 4.76
Yellowy Brown
#AE8B0C
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB7F1C #1C48AB
analogous
#AB371C #AB7F1C #90AB1C
triadic
#AB7F1C #1CAB7F #7F1CAB
tetradic
#AB7F1C #1CAB37 #1C48AB #AB1C90
square
#AB7F1C #1CAB37 #1C48AB #AB1C90
split-complementary
#AB7F1C #1C90AB #371CAB
monochromatic
#42310B #765813 #AB7F1C #DCA528 #E4BB5D
Accessibility & contrast
On white
3.63
#AB7F1C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.78
#AB7F1C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AB7F1C
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB7F1C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB7F1C | 1.00 | 3.63 | 5.78 | 5.78 |
| #FFFFFF | 3.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918001
Deuteranopia (green-blind)
#9B8B21
Tritanopia (blue-blind)
#BA726D
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #ab7f1c; /* rgb */ color: rgb(171, 127, 28); /* oklch */ color: oklch(62.4% 0.120 82.1);
Tailwind
colors: {
custom: {
50: '#c9a362',
500: '#ab7f1c',
950: '#000000',
},
}SCSS
$custom: #ab7f1c; $custom-light: #c9a362; $custom-dark: #000000;
JSON
{
"hex": "#ab7f1c",
"rgb": {
"r": 171,
"g": 127,
"b": 28
},
"hsl": {
"h": 41.538,
"s": 71.859,
"l": 39.02
},
"oklch": {
"l": 0.6238,
"c": 0.11997,
"h": 82.1
},
"luminance": 0.23921
}Semantic roles & 50–950 ramp
primary
#AB7F1C
secondary
#5A7CC9
accent
#71EF39
background
#FDFAF6
surface
#FAF3EB
border
#D3CDC6
text
#140F06
muted
#837F7A