#AB7D1C#AB7D1C
#AB7D1C is a mid, moderate orange. Relative luminance 0.234; OKLCH L 62.0% C 0.119 H 80.5°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #AB7D1C |
|---|---|
| RGB | rgb(171, 125, 28) |
| HSL | hsl(41, 72%, 39%) |
| HSV | hsv(41, 84%, 67%) |
| CMYK | cmyk(0%, 26.9%, 83.6%, 32.9%) |
| CIE-LAB | lab(55.49, 9.35, 54.97) |
| CIE-LCH | lch(55.49, 55.76, 80.34°) |
| OKLab | oklab(61.98% 0.0198 0.1179) |
| OKLCH | oklch(61.98% 0.119 80.5) |
| XYZ | xyz(24.3395, 23.4110, 4.3352) |
| Luminance | 0.2341 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Mustard Brown
#AC7E04
ΔE00 1.86
Bronze (survey)
#A87900
ΔE00 2.01
Golden Brown
#B27A01
ΔE00 2.79
Darkgoldenrod
#B8860B
ΔE00 4.03
Yellowish Brown
#9B7A01
ΔE00 5.14
Dark Tan
#AF884A
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB7D1C #1C4AAB
analogous
#AB361C #AB7D1C #92AB1C
triadic
#AB7D1C #1CAB7D #7D1CAB
tetradic
#AB7D1C #1CAB36 #1C4AAB #AB1C92
square
#AB7D1C #1CAB36 #1C4AAB #AB1C92
split-complementary
#AB7D1C #1C92AB #361CAB
monochromatic
#42300B #765713 #AB7D1C #DCA228 #E4B95D
Accessibility & contrast
On white
3.70
#AB7D1C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.68
#AB7D1C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AB7D1C
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB7D1C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB7D1C | 1.00 | 3.70 | 5.68 | 5.68 |
| #FFFFFF | 3.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7E03
Deuteranopia (green-blind)
#9A8A21
Tritanopia (blue-blind)
#BA706B
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #ab7d1c; /* rgb */ color: rgb(171, 125, 28); /* oklch */ color: oklch(62.0% 0.119 80.5);
Tailwind
colors: {
custom: {
50: '#c9a262',
500: '#ab7d1c',
950: '#000000',
},
}SCSS
$custom: #ab7d1c; $custom-light: #c9a262; $custom-dark: #000000;
JSON
{
"hex": "#ab7d1c",
"rgb": {
"r": 171,
"g": 125,
"b": 28
},
"hsl": {
"h": 40.699,
"s": 71.859,
"l": 39.02
},
"oklch": {
"l": 0.61975,
"c": 0.11949,
"h": 80.5
},
"luminance": 0.23409
}Semantic roles & 50–950 ramp
primary
#AB7D1C
secondary
#5A7EC9
accent
#74EF39
background
#FDF9F6
surface
#FAF2EB
border
#D3CCC6
text
#140F06
muted
#837E7A