#8A9842
Closest named color: Moss (#769958). oklch(65% 0.112 117.4), rgb(138, 152, 66).
Aa
Black text reads best on this color (6.65:1).
About this color
#8A9842 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 65%, its chroma 0.112 and its hue 117°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Moss (#769958), ΔE 0.031 away. Black text reads best on it, at 6.65:1.
| Hue family | Yellows |
| Lightness | medium-light (65%) |
| Chroma | moderately saturated (0.112) |
| Temperature | in between |
| Nearest name | Moss (#769958) |
| Black text | 6.65:1 |
| White text | 3.15:1 |
Values
| HEX | #8A9842 |
| RGB | rgb(138, 152, 66) |
| HSL | hsl(70, 39%, 43%) |
| OKLCH | oklch(65% 0.112 117.4) |
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 #8A9842 | 3.15:1 | AA large text | Lc -64.0 | Content text, not long reading |
| Black text on #8A9842 | 6.65:1 | AA | Lc 45.4 | Large or bold text, headings |
| #8A9842 text on white | 3.15:1 | AA large text | Lc 58.6 | Large or bold text, headings |
| #8A9842 text on black | 6.65:1 | AA | Lc -43.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
#F5F6F1
oklch(97.1% 0.007 115.7)
-
Step 100
100
#E9EBE0
oklch(93.6% 0.015 115)
-
Step 200
200
#D7DCC6
oklch(88.5% 0.03 117.4)
-
Step 300
300
#BDC69E
oklch(80.9% 0.055 117.9)
-
Step 400
400
#9CA868
oklch(70.7% 0.088 117.4)
-
Step 500
500 (this color)
#8A9842
oklch(65% 0.112 117.4)
-
Step 600
600
#6E7C13
oklch(55.6% 0.122 117.6)
-
Step 700
700
#5C6800
oklch(49% 0.113 117.4)
-
Step 800
800
#4B5509
oklch(42.6% 0.094 117.5)
-
Step 900
900
#3F4613
oklch(37.6% 0.073 116.7)
-
Step 950
950
#25290D
oklch(26.9% 0.046 116.3)
#8A9842 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) | #A19139 | 0.036 |
| Deuteranopia (no green cones) | #A09147 | 0.039 |
| Tritanopia (no blue cones) | #919085 | 0.097 |
| Achromatopsia (no color) | #919191 | 0.113 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #8A9842
#8A9842
oklch(65% 0.112 117.4)
- #9780CB
#9780CB
oklch(65.1% 0.112 297.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 #8A9842, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Moss #769958 ΔE 0.031
- Drab Green #749551 ΔE 0.034
- Pea Soup #929901 ΔE 0.035
- Camo #7F8F4E ΔE 0.036
- Flat Green #699D4C ΔE 0.041
- Off Green #6BA353 ΔE 0.044
- Dull Green #74A662 ΔE 0.046
- Muted Green #5FA052 ΔE 0.051
Use #8A9842 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.