#8A5902
Closest named color: Medium Brown (#7F5112). oklch(50.6% 0.108 72.1), rgb(138, 89, 2).
Aa
White text reads best on this color (5.98:1).
About this color
#8A5902 is a medium-dark, moderately saturated brown. In OKLCH its lightness is 51%, its chroma 0.108 and its hue 72°. Its hue sits on the warm side of the wheel. The nearest named color is Medium Brown (#7F5112), ΔE 0.033 away. White text reads best on it, at 5.98:1.
| Hue family | Browns |
| Lightness | medium-dark (51%) |
| Chroma | moderately saturated (0.108) |
| Temperature | warm |
| Nearest name | Medium Brown (#7F5112) |
| Black text | 3.51:1 |
| White text | 5.98:1 |
Values
| HEX | #8A5902 |
| RGB | rgb(138, 89, 2) |
| HSL | hsl(38, 97%, 27%) |
| OKLCH | oklch(50.6% 0.108 72.1) |
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 #8A5902 | 5.98:1 | AA | Lc -84.8 | Fine for body text |
| Black text on #8A5902 | 3.51:1 | AA large text | Lc 24.5 | Dividers and decoration only |
| #8A5902 text on white | 5.98:1 | AA | Lc 79.6 | Fine for body text |
| #8A5902 text on black | 3.51:1 | AA large text | Lc -22.2 | Dividers and decoration only |
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 700.
-
Step 50
50
#F8F5F0
oklch(97.1% 0.007 80.7)
-
Step 100
100
#F0E8DF
oklch(93.5% 0.015 70.9)
-
Step 200
200
#E5D7C5
oklch(88.6% 0.029 74.3)
-
Step 300
300
#D6BC9C
oklch(80.9% 0.052 72.7)
-
Step 400
400
#C19865
oklch(70.6% 0.084 71.9)
-
Step 500
500
#B17E39
oklch(63.1% 0.106 71.8)
-
Step 600
600
#9C660B
oklch(55.5% 0.116 72)
-
Step 700
700 (this color)
#8A5902
oklch(50.6% 0.108 72.1)
-
Step 800
800
#6C4605
oklch(42.7% 0.089 72.9)
-
Step 900
900
#583B11
oklch(37.7% 0.069 72.4)
-
Step 950
950
#34230C
oklch(27.1% 0.044 72.2)
#8A5902 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) | #6A5C00 | 0.058 |
| Deuteranopia (no green cones) | #756806 | 0.053 |
| Tritanopia (no blue cones) | #974C4B | 0.088 |
| Achromatopsia (no color) | #636363 | 0.108 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #8A5902
#8A5902
oklch(50.6% 0.108 72.1)
- #3267A0
#3267A0
oklch(50.5% 0.107 252.2)
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 #8A5902, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Brown #7F5112 ΔE 0.033
- Warm Brown #964E02 ΔE 0.034
- Sepia #985E2B ΔE 0.039
- Raw Sienna #9A6200 ΔE 0.040
- Muddy Brown #886806 ΔE 0.040
- Mud #735C12 ΔE 0.041
- Dirt Brown #836539 ΔE 0.042
- Milk Chocolate #7F4E1E ΔE 0.043
Use #8A5902 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.