#8A9751
Closest named color: Moss (#769958). oklch(65% 0.096 117.8), rgb(138, 151, 81).
Aa
Black text reads best on this color (6.62:1).
About this color
#8A9751 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 65%, its chroma 0.096 and its hue 118°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Moss (#769958), ΔE 0.026 away. Black text reads best on it, at 6.62:1.
| Hue family | Yellows |
| Lightness | medium-light (65%) |
| Chroma | moderately saturated (0.096) |
| Temperature | in between |
| Nearest name | Moss (#769958) |
| Black text | 6.62:1 |
| White text | 3.16:1 |
Values
| HEX | #8A9751 |
| RGB | rgb(138, 151, 81) |
| HSL | hsl(71, 30%, 45%) |
| OKLCH | oklch(65% 0.096 117.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 #8A9751 | 3.16:1 | AA large text | Lc -64.2 | Content text, not long reading |
| Black text on #8A9751 | 6.62:1 | AA | Lc 45.3 | Large or bold text, headings |
| #8A9751 text on white | 3.16:1 | AA large text | Lc 58.8 | Large or bold text, headings |
| #8A9751 text on black | 6.62:1 | AA | Lc -42.9 | 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
#E9EBE1
oklch(93.6% 0.013 115.8)
-
Step 200
200
#D7DCC9
oklch(88.5% 0.026 118.9)
-
Step 300
300
#BEC5A3
oklch(80.9% 0.047 116.9)
-
Step 400
400
#9CA772
oklch(70.6% 0.074 117.9)
-
Step 500
500 (this color)
#8A9751
oklch(65% 0.096 117.8)
-
Step 600
600
#6E7B2D
oklch(55.5% 0.104 117.9)
-
Step 700
700
#5C681F
oklch(49.2% 0.097 118.2)
-
Step 800
800
#4B551C
oklch(42.8% 0.081 118.4)
-
Step 900
900
#3F461D
oklch(37.7% 0.062 117.5)
-
Step 950
950
#252912
oklch(27% 0.039 117.2)
#8A9751 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) | #9F904B | 0.033 |
| Deuteranopia (no green cones) | #9E9155 | 0.034 |
| Tritanopia (no blue cones) | #909086 | 0.081 |
| Achromatopsia (no color) | #919191 | 0.096 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #8A9751
#8A9751
oklch(65% 0.096 117.8)
- #9682C2
#9682C2
oklch(64.9% 0.096 298)
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 #8A9751, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Moss #769958 ΔE 0.026
- Camo #7F8F4E ΔE 0.029
- Drab Green #749551 ΔE 0.031
- Dull Green #74A662 ΔE 0.045
- Flat Green #699D4C ΔE 0.046
- Off Green #6BA353 ΔE 0.048
- Greeny Grey #7EA07A ΔE 0.049
- Green Grey #77926F ΔE 0.049
Use #8A9751 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.