#5D8A40
Closest named color: Fern Green (#548D44). oklch(58.3% 0.115 134.5), rgb(93, 138, 64).
Aa
Black text reads best on this color (5.17:1).
About this color
#5D8A40 is a medium-dark, moderately saturated green. In OKLCH its lightness is 58%, its chroma 0.115 and its hue 135°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Fern Green (#548D44), ΔE 0.011 away. Black text reads best on it, at 5.17:1.
| Hue family | Greens |
| Lightness | medium-dark (58%) |
| Chroma | moderately saturated (0.115) |
| Temperature | in between |
| Nearest name | Fern Green (#548D44) |
| Black text | 5.17:1 |
| White text | 4.05:1 |
Values
| HEX | #5D8A40 |
| RGB | rgb(93, 138, 64) |
| HSL | hsl(96, 37%, 40%) |
| OKLCH | oklch(58.3% 0.115 134.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 #5D8A40 | 4.05:1 | AA large text | Lc -73.2 | Content text, not long reading |
| Black text on #5D8A40 | 5.17:1 | AA | Lc 36.4 | Non-text elements, placeholder text |
| #5D8A40 text on white | 4.05:1 | AA large text | Lc 67.7 | Content text, not long reading |
| #5D8A40 text on black | 5.17:1 | AA | Lc -34.0 | 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
#F3F6F2
oklch(97% 0.006 137.8)
-
Step 100
100
#E6ECE2
oklch(93.6% 0.015 132.5)
-
Step 200
200
#D1DECB
oklch(88.6% 0.029 135.6)
-
Step 300
300
#B3C9A7
oklch(81% 0.052 134.5)
-
Step 400
400
#8BAC78
oklch(70.6% 0.082 134.5)
-
Step 500
500
#6E9854
oklch(63.2% 0.106 134.4)
-
Step 600
600 (this color)
#5D8A40
oklch(58.3% 0.115 134.5)
-
Step 700
700
#456E2A
oklch(49.2% 0.108 134.8)
-
Step 800
800
#395924
oklch(42.6% 0.088 134.6)
-
Step 900
900
#314A22
oklch(37.8% 0.071 134.9)
-
Step 950
950
#1D2B15
oklch(27% 0.043 134.9)
#5D8A40 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) | #8F8039 | 0.071 |
| Deuteranopia (no green cones) | #887D45 | 0.070 |
| Tritanopia (no blue cones) | #5D8579 | 0.084 |
| Achromatopsia (no color) | #7E7E7E | 0.116 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5D8A40
#5D8A40
oklch(58.3% 0.115 134.5)
- #9465AA
#9465AA
oklch(58.3% 0.115 314.4)
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 #5D8A40, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Fern Green #548D44 ΔE 0.011
- Moss Green #658B38 ΔE 0.012
- Swamp #698339 ΔE 0.022
- Mossy Green #638B27 ΔE 0.023
- Light Forest Green #4F9153 ΔE 0.025
- Khaki Green #728639 ΔE 0.026
- Olive Drab #6B8E23 ΔE 0.033
- Dark Sage #598556 ΔE 0.035
Use #5D8A40 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.