#8E8A2F
Closest named color: Camo (#7F8F4E). oklch(61.9% 0.112 106.8), rgb(142, 138, 47).
Aa
Black text reads best on this color (5.82:1).
About this color
#8E8A2F is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 62%, its chroma 0.112 and its hue 107°. Its hue sits on the warm side of the wheel. The nearest named color is Camo (#7F8F4E), ΔE 0.032 away. Black text reads best on it, at 5.82:1.
| Hue family | Yellows |
| Lightness | medium-dark (62%) |
| Chroma | moderately saturated (0.112) |
| Temperature | warm |
| Nearest name | Camo (#7F8F4E) |
| Black text | 5.82:1 |
| White text | 3.60:1 |
Values
| HEX | #8E8A2F |
| RGB | rgb(142, 138, 47) |
| HSL | hsl(57, 50%, 37%) |
| OKLCH | oklch(61.9% 0.112 106.8) |
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 #8E8A2F | 3.60:1 | AA large text | Lc -69.0 | Content text, not long reading |
| Black text on #8E8A2F | 5.82:1 | AA | Lc 40.5 | Non-text elements, placeholder text |
| #8E8A2F text on white | 3.60:1 | AA large text | Lc 63.5 | Content text, not long reading |
| #8E8A2F text on black | 5.82:1 | AA | Lc -38.1 | 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
#F6F6F0
oklch(97.1% 0.008 106.5)
-
Step 100
100
#EBEBDF
oklch(93.7% 0.016 106.7)
-
Step 200
200
#DBDBC4
oklch(88.5% 0.031 107)
-
Step 300
300
#C4C49B
oklch(81% 0.055 107.6)
-
Step 400
400
#A7A563
oklch(70.8% 0.087 106.9)
-
Step 500
500 (this color)
#8E8A2F
oklch(61.9% 0.112 106.8)
-
Step 600
600
#7C7700
oklch(55.6% 0.119 106.8)
-
Step 700
700
#686400
oklch(49.1% 0.105 107)
-
Step 800
800
#555200
oklch(42.8% 0.092 107.3)
-
Step 900
900
#46440D
oklch(37.7% 0.073 107.3)
-
Step 950
950
#29280A
oklch(27% 0.046 107.3)
#8E8A2F 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) | #968523 | 0.016 |
| Deuteranopia (no green cones) | #978835 | 0.017 |
| Tritanopia (no blue cones) | #988177 | 0.101 |
| Achromatopsia (no color) | #878787 | 0.112 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #8E8A2F
#8E8A2F
oklch(61.9% 0.112 106.8)
- #817BC6
#817BC6
oklch(62% 0.112 286.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 #8E8A2F, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Camo #7F8F4E ΔE 0.032
- Drab #828344 ΔE 0.036
- Dark Mustard #A88905 ΔE 0.041
- Olive #808000 ΔE 0.042
- Khaki Green #728639 ΔE 0.043
- Drab Green #749551 ΔE 0.045
- Swamp Green #748500 ΔE 0.051
- Yellowy Brown #AE8B0C ΔE 0.051
Use #8E8A2F 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.