#8A7F3B
Closest named color: Drab (#828344). oklch(59.2% 0.09 100.2), rgb(138, 127, 59).
Aa
Black text reads best on this color (5.17:1).
About this color
#8A7F3B is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 59%, its chroma 0.090 and its hue 100°. Its hue sits on the warm side of the wheel. The nearest named color is Drab (#828344), ΔE 0.015 away. Black text reads best on it, at 5.17:1.
| Hue family | Yellows |
| Lightness | medium-dark (59%) |
| Chroma | moderately saturated (0.090) |
| Temperature | warm |
| Nearest name | Drab (#828344) |
| Black text | 5.17:1 |
| White text | 4.05:1 |
Values
| HEX | #8A7F3B |
| RGB | rgb(138, 127, 59) |
| HSL | hsl(52, 40%, 39%) |
| OKLCH | oklch(59.2% 0.09 100.2) |
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 #8A7F3B | 4.05:1 | AA large text | Lc -73.2 | Content text, not long reading |
| Black text on #8A7F3B | 5.17:1 | AA | Lc 36.4 | Non-text elements, placeholder text |
| #8A7F3B text on white | 4.05:1 | AA large text | Lc 67.7 | Content text, not long reading |
| #8A7F3B text on black | 5.17:1 | AA | Lc -33.9 | 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 600.
-
Step 50
50
#F6F6F1
oklch(97.2% 0.007 106.5)
-
Step 100
100
#EBEAE1
oklch(93.5% 0.012 101.5)
-
Step 200
200
#DCDAC9
oklch(88.5% 0.023 101.4)
-
Step 300
300
#C6C2A4
oklch(80.9% 0.041 101)
-
Step 400
400
#A9A273
oklch(70.6% 0.065 100.7)
-
Step 500
500
#958B4E
oklch(63.2% 0.082 100.2)
-
Step 600
600 (this color)
#8A7F3B
oklch(59.2% 0.09 100.2)
-
Step 700
700
#6C6222
oklch(49.2% 0.084 100.4)
-
Step 800
800
#58501E
oklch(42.8% 0.07 100.3)
-
Step 900
900
#48421E
oklch(37.6% 0.054 100)
-
Step 950
950
#2A2713
oklch(27% 0.034 100.9)
#8A7F3B 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) | #8A7C34 | 0.009 |
| Deuteranopia (no green cones) | #8D803E | 0.007 |
| Tritanopia (no blue cones) | #947770 | 0.083 |
| Achromatopsia (no color) | #7E7E7E | 0.090 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #8A7F3B
#8A7F3B
oklch(59.2% 0.09 100.2)
- #7377B2
#7377B2
oklch(59% 0.09 280.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 #8A7F3B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Drab #828344 ΔE 0.015
- Hazel #8E7618 ΔE 0.030
- Khaki Green #728639 ΔE 0.040
- Olive #808000 ΔE 0.042
- Camo #7F8F4E ΔE 0.044
- Swamp #698339 ΔE 0.049
- Bronze #A87900 ΔE 0.052
- Coffee #A6814C ΔE 0.052
Use #8A7F3B 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.