#5B8A2F
Closest named color: Mossy Green (#638B27). oklch(58% 0.132 132.5), rgb(91, 138, 47).
Aa
Black text reads best on this color (5.12:1).
About this color
#5B8A2F is a medium-dark, moderately saturated green. In OKLCH its lightness is 58%, its chroma 0.132 and its hue 132°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Mossy Green (#638B27), ΔE 0.011 away. Black text reads best on it, at 5.12:1.
| Hue family | Greens |
| Lightness | medium-dark (58%) |
| Chroma | moderately saturated (0.132) |
| Temperature | in between |
| Nearest name | Mossy Green (#638B27) |
| Black text | 5.12:1 |
| White text | 4.10:1 |
Values
| HEX | #5B8A2F |
| RGB | rgb(91, 138, 47) |
| HSL | hsl(91, 49%, 36%) |
| OKLCH | oklch(58% 0.132 132.5) |
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 #5B8A2F | 4.10:1 | AA large text | Lc -73.5 | Content text, not long reading |
| Black text on #5B8A2F | 5.12:1 | AA | Lc 36.1 | Non-text elements, placeholder text |
| #5B8A2F text on white | 4.10:1 | AA large text | Lc 68.0 | Content text, not long reading |
| #5B8A2F text on black | 5.12:1 | AA | Lc -33.7 | 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
#F3F7F1
oklch(97.1% 0.009 134.9)
-
Step 100
100
#E5ECE1
oklch(93.5% 0.016 133.8)
-
Step 200
200
#D1DEC8
oklch(88.5% 0.033 132.3)
-
Step 300
300
#B2C9A2
oklch(80.8% 0.059 132.6)
-
Step 400
400
#8AAD6F
oklch(70.6% 0.094 132.3)
-
Step 500
500
#6D9947
oklch(63.2% 0.122 132.3)
-
Step 600
600 (this color)
#5B8A2F
oklch(58% 0.132 132.5)
-
Step 700
700
#446E19
oklch(48.9% 0.122 132.6)
-
Step 800
800
#395A18
oklch(42.7% 0.101 132.3)
-
Step 900
900
#314A1A
oklch(37.7% 0.079 132.2)
-
Step 950
950
#1D2C11
oklch(27.2% 0.05 132.8)
#5B8A2F 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) | #908024 | 0.075 |
| Deuteranopia (no green cones) | #897C36 | 0.075 |
| Tritanopia (no blue cones) | #5C8477 | 0.099 |
| Achromatopsia (no color) | #7D7D7D | 0.132 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5B8A2F
#5B8A2F
oklch(58% 0.132 132.5)
- #9561B2
#9561B2
oklch(58.1% 0.132 312.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 #5B8A2F, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Mossy Green #638B27 ΔE 0.011
- Moss Green #658B38 ΔE 0.016
- Sap Green #5C8B15 ΔE 0.018
- Fern Green #548D44 ΔE 0.019
- Olive Drab #6B8E23 ΔE 0.025
- Swamp #698339 ΔE 0.031
- Swamp Green #748500 ΔE 0.033
- Khaki Green #728639 ΔE 0.035
Use #5B8A2F 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.