#AB842F#AB842F
#AB842F is a light, moderate orange. Relative luminance 0.254; OKLCH L 63.5% C 0.111 H 83.3°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).
Color values
| HEX | #AB842F |
|---|---|
| RGB | rgb(171, 132, 47) |
| HSL | hsl(41, 57%, 43%) |
| HSV | hsv(41, 73%, 67%) |
| CMYK | cmyk(0%, 22.8%, 72.5%, 32.9%) |
| CIE-LAB | lab(57.43, 6.22, 49.50) |
| CIE-LCH | lch(57.43, 49.89, 82.84°) |
| OKLab | oklab(63.53% 0.0129 0.1103) |
| OKLCH | oklch(63.53% 0.111 83.3) |
| XYZ | xyz(25.5605, 25.3675, 6.2389) |
| Luminance | 0.2537 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Mustard Brown
#AC7E04
ΔE00 3.69
Darkgoldenrod
#B8860B
ΔE00 4.32
Dark Tan
#AF884A
ΔE00 4.43
Bronze (survey)
#A87900
ΔE00 4.66
Yellowy Brown
#AE8B0C
ΔE00 5.03
Golden Brown
#B27A01
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB842F #2F56AB
analogous
#AB462F #AB842F #94AB2F
triadic
#AB842F #2FAB84 #842FAB
tetradic
#AB842F #2FAB46 #2F56AB #AB2F94
square
#AB842F #2FAB46 #2F56AB #AB2F94
split-complementary
#AB842F #2F94AB #462FAB
monochromatic
#4B3A15 #7B5F22 #AB842F #CDA44A #DABC7A
Accessibility & contrast
On white
3.46
#AB842F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.07
#AB842F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AB842F
6.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB842F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB842F | 1.00 | 3.46 | 6.07 | 6.07 |
| #FFFFFF | 3.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#958423
Deuteranopia (green-blind)
#9E8E33
Tritanopia (blue-blind)
#BA7873
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #ab842f; /* rgb */ color: rgb(171, 132, 47); /* oklch */ color: oklch(63.5% 0.111 83.3);
Tailwind
colors: {
custom: {
50: '#c8a76d',
500: '#ab842f',
950: '#000000',
},
}SCSS
$custom: #ab842f; $custom-light: #c8a76d; $custom-dark: #000000;
JSON
{
"hex": "#ab842f",
"rgb": {
"r": 171,
"g": 132,
"b": 47
},
"hsl": {
"h": 41.129,
"s": 56.881,
"l": 42.745
},
"oklch": {
"l": 0.63534,
"c": 0.11108,
"h": 83.3
},
"luminance": 0.25366
}Semantic roles & 50–950 ramp
primary
#AB842F
secondary
#738CC3
accent
#78E048
background
#FCFAF6
surface
#F9F4EC
border
#D2CEC7
text
#140F07
muted
#827F7A