#8A9841
Closest named color: Moss (#769958). oklch(65% 0.113 117.3), rgb(138, 152, 65).
Aa
Black text reads best on this color (6.64:1).
About this color
#8A9841 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 65%, its chroma 0.113 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.032 away. Black text reads best on it, at 6.64:1.
| Hue family | Yellows |
| Lightness | medium-light (65%) |
| Chroma | moderately saturated (0.113) |
| Temperature | in between |
| Nearest name | Moss (#769958) |
| Black text | 6.64:1 |
| White text | 3.15:1 |
Values
| HEX | #8A9841 |
| RGB | rgb(138, 152, 65) |
| HSL | hsl(70, 40%, 43%) |
| OKLCH | oklch(65% 0.113 117.3) |
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 #8A9841 | 3.15:1 | AA large text | Lc -64.0 | Content text, not long reading |
| Black text on #8A9841 | 6.64:1 | AA | Lc 45.4 | Large or bold text, headings |
| #8A9841 text on white | 3.15:1 | AA large text | Lc 58.6 | Large or bold text, headings |
| #8A9841 text on black | 6.64: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
#9CA867
oklch(70.7% 0.089 117.3)
-
Step 500
500 (this color)
#8A9841
oklch(65% 0.113 117.3)
-
Step 600
600
#6E7C10
oklch(55.6% 0.123 117.5)
-
Step 700
700
#5C6800
oklch(49% 0.113 117.4)
-
Step 800
800
#4B5507
oklch(42.6% 0.095 117.5)
-
Step 900
900
#3F4612
oklch(37.6% 0.073 116.6)
-
Step 950
950
#25290D
oklch(26.9% 0.046 116.3)
#8A9841 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) | #A19138 | 0.036 |
| Deuteranopia (no green cones) | #A09146 | 0.039 |
| Tritanopia (no blue cones) | #929085 | 0.098 |
| Achromatopsia (no color) | #919191 | 0.114 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #8A9841
#8A9841
oklch(65% 0.113 117.3)
- #977FCC
#977FCC
oklch(64.9% 0.115 297.5)
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 #8A9841, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Moss #769958 ΔE 0.032
- Drab Green #749551 ΔE 0.034
- Pea Soup #929901 ΔE 0.034
- 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 #8A9841 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.