#8A9640
Closest named color: Moss (#769958). oklch(64.5% 0.112 116.3), rgb(138, 150, 64).
Aa
Black text reads best on this color (6.51:1).
About this color
#8A9640 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 65%, its chroma 0.112 and its hue 116°. 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.51:1.
| Hue family | Yellows |
| Lightness | medium-light (65%) |
| Chroma | moderately saturated (0.112) |
| Temperature | in between |
| Nearest name | Moss (#769958) |
| Black text | 6.51:1 |
| White text | 3.22:1 |
Values
| HEX | #8A9640 |
| RGB | rgb(138, 150, 64) |
| HSL | hsl(68, 40%, 42%) |
| OKLCH | oklch(64.5% 0.112 116.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 #8A9640 | 3.22:1 | AA large text | Lc -64.8 | Content text, not long reading |
| Black text on #8A9640 | 6.51:1 | AA | Lc 44.7 | Non-text elements, placeholder text |
| #8A9640 text on white | 3.22:1 | AA large text | Lc 59.4 | Large or bold text, headings |
| #8A9640 text on black | 6.51:1 | AA | Lc -42.3 | 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
#D8DCC6
oklch(88.5% 0.03 115.4)
-
Step 300
300
#BEC69E
oklch(81% 0.055 116.8)
-
Step 400
400
#9DA867
oklch(70.7% 0.088 116.6)
-
Step 500
500 (this color)
#8A9640
oklch(64.5% 0.112 116.3)
-
Step 600
600
#707B11
oklch(55.5% 0.121 116)
-
Step 700
700
#5E6800
oklch(49.2% 0.113 116.2)
-
Step 800
800
#4C5508
oklch(42.7% 0.094 116.8)
-
Step 900
900
#404613
oklch(37.7% 0.072 115.7)
-
Step 950
950
#25290D
oklch(26.9% 0.046 116.3)
#8A9640 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) | #A08F37 | 0.035 |
| Deuteranopia (no green cones) | #9E9045 | 0.035 |
| Tritanopia (no blue cones) | #928E83 | 0.097 |
| Achromatopsia (no color) | #8F8F8F | 0.112 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #8A9640
#8A9640
oklch(64.5% 0.112 116.3)
- #947FCA
#947FCA
oklch(64.6% 0.112 296)
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 #8A9640, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Moss #769958 ΔE 0.031
- Camo #7F8F4E ΔE 0.032
- Drab Green #749551 ΔE 0.032
- Pea Soup #929901 ΔE 0.036
- Flat Green #699D4C ΔE 0.042
- Off Green #6BA353 ΔE 0.047
- Dull Green #74A662 ΔE 0.050
- Dark Mustard #A88905 ΔE 0.053
Use #8A9640 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.