#8A7F0D
Closest named color: Olive (#808000). oklch(58.8% 0.12 103.2), rgb(138, 127, 13).
Aa
Black text reads best on this color (5.12:1).
About this color
#8A7F0D is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 59%, its chroma 0.120 and its hue 103°. Its hue sits on the warm side of the wheel. The nearest named color is Olive (#808000), ΔE 0.017 away. Black text reads best on it, at 5.12:1.
| Hue family | Yellows |
| Lightness | medium-dark (59%) |
| Chroma | moderately saturated (0.120) |
| Temperature | warm |
| Nearest name | Olive (#808000) |
| Black text | 5.12:1 |
| White text | 4.09:1 |
Values
| HEX | #8A7F0D |
| RGB | rgb(138, 127, 13) |
| HSL | hsl(55, 83%, 30%) |
| OKLCH | oklch(58.8% 0.12 103.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 #8A7F0D | 4.09:1 | AA large text | Lc -73.5 | Content text, not long reading |
| Black text on #8A7F0D | 5.12:1 | AA | Lc 36.1 | Non-text elements, placeholder text |
| #8A7F0D text on white | 4.09:1 | AA large text | Lc 68.0 | Content text, not long reading |
| #8A7F0D text on black | 5.12:1 | AA | Lc -33.7 | 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
#F6F6F0
oklch(97.1% 0.008 106.5)
-
Step 100
100
#EBEADF
oklch(93.5% 0.015 102.5)
-
Step 200
200
#DCDAC4
oklch(88.4% 0.03 102.7)
-
Step 300
300
#C6C39B
oklch(80.9% 0.054 104)
-
Step 400
400
#AAA362
oklch(70.6% 0.086 103)
-
Step 500
500
#968C32
oklch(63.1% 0.11 103)
-
Step 600
600 (this color)
#8A7F0D
oklch(58.8% 0.12 103.2)
-
Step 700
700
#6C6200
oklch(49% 0.103 102.5)
-
Step 800
800
#585000
oklch(42.6% 0.089 102.9)
-
Step 900
900
#49430C
oklch(37.8% 0.072 102.9)
-
Step 950
950
#2A270A
oklch(26.9% 0.045 103.4)
#8A7F0D 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) | #8C7B00 | 0.011 |
| Deuteranopia (no green cones) | #8F8019 | 0.011 |
| Tritanopia (no blue cones) | #95756C | 0.111 |
| Achromatopsia (no color) | #7D7D7D | 0.120 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #8A7F0D
#8A7F0D
oklch(58.8% 0.12 103.2)
- #7472C2
#7472C2
oklch(58.9% 0.121 283.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 #8A7F0D, closest first.
No curated palette has a color within ΔE 0.04 of #8A7F0D.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Olive #808000 ΔE 0.017
- Hazel #8E7618 ΔE 0.027
- Drab #828344 ΔE 0.037
- Swamp Green #748500 ΔE 0.038
- Khaki Green #728639 ΔE 0.039
- Swamp #698339 ΔE 0.049
- Murky Green #6C7A0E ΔE 0.050
- Bronze #A87900 ΔE 0.051
Use #8A7F0D 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.