#8C7F20
Closest named color: Hazel (#8E7618). oklch(59.1% 0.112 101.2), rgb(140, 127, 32).
Aa
Black text reads best on this color (5.17:1).
About this color
#8C7F20 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 59%, its chroma 0.112 and its hue 101°. Its hue sits on the warm side of the wheel. The nearest named color is Hazel (#8E7618), ΔE 0.024 away. Black text reads best on it, at 5.17:1.
| Hue family | Yellows |
| Lightness | medium-dark (59%) |
| Chroma | moderately saturated (0.112) |
| Temperature | warm |
| Nearest name | Hazel (#8E7618) |
| Black text | 5.17:1 |
| White text | 4.06:1 |
Values
| HEX | #8C7F20 |
| RGB | rgb(140, 127, 32) |
| HSL | hsl(53, 63%, 34%) |
| OKLCH | oklch(59.1% 0.112 101.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 #8C7F20 | 4.06:1 | AA large text | Lc -73.2 | Content text, not long reading |
| Black text on #8C7F20 | 5.17:1 | AA | Lc 36.4 | Non-text elements, placeholder text |
| #8C7F20 text on white | 4.06:1 | AA large text | Lc 67.7 | Content text, not long reading |
| #8C7F20 text on black | 5.17:1 | AA | Lc -34.0 | 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
#ECEADF
oklch(93.6% 0.015 98.3)
-
Step 200
200
#DDDAC5
oklch(88.5% 0.028 100.3)
-
Step 300
300
#C7C29D
oklch(80.9% 0.05 101)
-
Step 400
400
#ABA267
oklch(70.6% 0.079 100.7)
-
Step 500
500
#978B3A
oklch(63.1% 0.103 100.9)
-
Step 600
600 (this color)
#8C7F20
oklch(59.1% 0.112 101.2)
-
Step 700
700
#6D6200
oklch(49.1% 0.103 101.8)
-
Step 800
800
#595007
oklch(42.7% 0.086 101.5)
-
Step 900
900
#494212
oklch(37.6% 0.066 100.9)
-
Step 950
950
#2B270C
oklch(27% 0.043 101)
#8C7F20 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) | #8C7B0D | 0.012 |
| Deuteranopia (no green cones) | #8F8027 | 0.008 |
| Tritanopia (no blue cones) | #97756D | 0.103 |
| Achromatopsia (no color) | #7E7E7E | 0.112 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #8C7F20
#8C7F20
oklch(59.1% 0.112 101.2)
- #7275BE
#7275BE
oklch(59.2% 0.111 280.7)
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 #8C7F20, closest first.
No curated palette has a color within ΔE 0.04 of #8C7F20.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Hazel #8E7618 ΔE 0.024
- Olive #808000 ΔE 0.025
- Drab #828344 ΔE 0.030
- Khaki Green #728639 ΔE 0.040
- Swamp Green #748500 ΔE 0.045
- Bronze #A87900 ΔE 0.046
- Swamp #698339 ΔE 0.050
- Camo #7F8F4E ΔE 0.050
Use #8C7F20 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.