#5F8A42
Closest named color: Moss Green (#658B38). oklch(58.5% 0.112 134.1), rgb(95, 138, 66).
Aa
Black text reads best on this color (5.20:1).
About this color
#5F8A42 is a medium-dark, moderately saturated green. In OKLCH its lightness is 58%, its chroma 0.112 and its hue 134°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Moss Green (#658B38), ΔE 0.013 away. Black text reads best on it, at 5.20:1.
| Hue family | Greens |
| Lightness | medium-dark (58%) |
| Chroma | moderately saturated (0.112) |
| Temperature | in between |
| Nearest name | Moss Green (#658B38) |
| Black text | 5.20:1 |
| White text | 4.03:1 |
Values
| HEX | #5F8A42 |
| RGB | rgb(95, 138, 66) |
| HSL | hsl(96, 35%, 40%) |
| OKLCH | oklch(58.5% 0.112 134.1) |
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 #5F8A42 | 4.03:1 | AA large text | Lc -73.0 | Content text, not long reading |
| Black text on #5F8A42 | 5.20:1 | AA | Lc 36.6 | Non-text elements, placeholder text |
| #5F8A42 text on white | 4.03:1 | AA large text | Lc 67.5 | Content text, not long reading |
| #5F8A42 text on black | 5.20:1 | AA | Lc -34.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 600.
-
Step 50
50
#F4F6F2
oklch(97.1% 0.006 128.5)
-
Step 100
100
#E6ECE2
oklch(93.6% 0.015 132.5)
-
Step 200
200
#D2DECB
oklch(88.6% 0.029 133.7)
-
Step 300
300
#B3C8A8
oklch(80.8% 0.05 134.8)
-
Step 400
400
#8CAC78
oklch(70.7% 0.081 133.8)
-
Step 500
500
#6F9755
oklch(63.1% 0.103 134)
-
Step 600
600 (this color)
#5F8A42
oklch(58.5% 0.112 134.1)
-
Step 700
700
#476D2C
oklch(49.1% 0.103 134.1)
-
Step 800
800
#3A5925
oklch(42.7% 0.087 134.3)
-
Step 900
900
#324923
oklch(37.6% 0.067 134.2)
-
Step 950
950
#1E2B15
oklch(27% 0.042 133.5)
#5F8A42 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) | #8F813C | 0.068 |
| Deuteranopia (no green cones) | #897D47 | 0.069 |
| Tritanopia (no blue cones) | #5F8579 | 0.081 |
| Achromatopsia (no color) | #7E7E7E | 0.112 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5F8A42
#5F8A42
oklch(58.5% 0.112 134.1)
- #9466AA
#9466AA
oklch(58.4% 0.113 314.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 #5F8A42, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Moss Green #658B38 ΔE 0.013
- Fern Green #548D44 ΔE 0.014
- Swamp #698339 ΔE 0.021
- Khaki Green #728639 ΔE 0.024
- Light Forest Green #4F9153 ΔE 0.025
- Mossy Green #638B27 ΔE 0.026
- Dark Sage #598556 ΔE 0.033
- Olive Drab #6B8E23 ΔE 0.034
Use #5F8A42 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.