#A87F04
Closest named color: Mustard Brown (#AC7E04). oklch(62% 0.126 85.6), rgb(168, 127, 4).
Aa
Black text reads best on this color (5.70:1).
About this color
#A87F04 is a medium-dark, moderately saturated brown. In OKLCH its lightness is 62%, its chroma 0.126 and its hue 86°. Its hue sits on the warm side of the wheel. The nearest named color is Mustard Brown (#AC7E04), ΔE 0.007 away. Black text reads best on it, at 5.70:1.
| Hue family | Browns |
| Lightness | medium-dark (62%) |
| Chroma | moderately saturated (0.126) |
| Temperature | warm |
| Nearest name | Mustard Brown (#AC7E04) |
| Black text | 5.70:1 |
| White text | 3.68:1 |
Values
| HEX | #A87F04 |
| RGB | rgb(168, 127, 4) |
| HSL | hsl(45, 95%, 34%) |
| OKLCH | oklch(62% 0.126 85.6) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #A87F04 | 3.68:1 | AA large text | Lc -69.7 | Content text, not long reading |
| Black text on #A87F04 | 5.70:1 | AA | Lc 39.9 | Non-text elements, placeholder text |
| #A87F04 text on white | 3.68:1 | AA large text | Lc 64.2 | Content text, not long reading |
| #A87F04 text on black | 5.70:1 | AA | Lc -37.5 | Non-text elements, placeholder text |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 500.
-
Step 50
50
#F8F5EF
oklch(97.1% 0.009 84.6)
-
Step 100
100
#EFE9DD
oklch(93.5% 0.017 84.6)
-
Step 200
200
#E3D8C0
oklch(88.5% 0.034 86.3)
-
Step 300
300
#D3BE93
oklch(80.9% 0.062 84.9)
-
Step 400
400
#BC9C54
oklch(70.7% 0.099 85.8)
-
Step 500
500 (this color)
#A87F04
oklch(62% 0.126 85.6)
-
Step 600
600
#916D00
oklch(55.6% 0.114 85.6)
-
Step 700
700
#7A5B00
oklch(49% 0.1 85.4)
-
Step 800
800
#644A00
oklch(42.5% 0.087 85.4)
-
Step 900
900
#543E00
oklch(37.8% 0.077 85.9)
-
Step 950
950
#322403
oklch(27% 0.052 84.9)
#A87F04 with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #917F00 | 0.039 |
| Deuteranopia (no green cones) | #9B8A11 | 0.034 |
| Tritanopia (no blue cones) | #B7726C | 0.113 |
| Achromatopsia (no color) | #858585 | 0.126 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #A87F04
#A87F04
oklch(62% 0.126 85.6)
- #6183D2
#6183D2
oklch(62% 0.126 265.3)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #A87F04, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Mustard Brown #AC7E04 ΔE 0.007
- Bronze #A87900 ΔE 0.015
- Golden Brown #B27A01 ΔE 0.020
- Dark Mustard #A88905 ΔE 0.026
- Yellowy Brown #AE8B0C ΔE 0.034
- Dark Goldenrod #B8860B ΔE 0.034
- Caramel #AF6F09 ΔE 0.042
- Leather #AC7434 ΔE 0.045
Use #A87F04 in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.