#5F8D2B
Closest named color: Mossy Green (#638B27). oklch(59% 0.137 131.2), rgb(95, 141, 43).
Aa
Black text reads best on this color (5.33:1).
About this color
#5F8D2B is a medium-dark, moderately saturated green. In OKLCH its lightness is 59%, its chroma 0.137 and its hue 131°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Mossy Green (#638B27), ΔE 0.006 away. Black text reads best on it, at 5.33:1.
| Hue family | Greens |
| Lightness | medium-dark (59%) |
| Chroma | moderately saturated (0.137) |
| Temperature | in between |
| Nearest name | Mossy Green (#638B27) |
| Black text | 5.33:1 |
| White text | 3.93:1 |
Values
| HEX | #5F8D2B |
| RGB | rgb(95, 141, 43) |
| HSL | hsl(88, 53%, 36%) |
| OKLCH | oklch(59% 0.137 131.2) |
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 #5F8D2B | 3.93:1 | AA large text | Lc -72.1 | Content text, not long reading |
| Black text on #5F8D2B | 5.33:1 | AA | Lc 37.5 | Non-text elements, placeholder text |
| #5F8D2B text on white | 3.93:1 | AA large text | Lc 66.6 | Content text, not long reading |
| #5F8D2B text on black | 5.33:1 | AA | Lc -35.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
#F3F7F1
oklch(97.1% 0.009 134.9)
-
Step 100
100
#E6ECE0
oklch(93.5% 0.017 128.7)
-
Step 200
200
#D1DEC7
oklch(88.4% 0.034 131.4)
-
Step 300
300
#B3C9A0
oklch(80.8% 0.061 130.7)
-
Step 400
400
#8BAD6C
oklch(70.6% 0.097 131)
-
Step 500
500
#6E9942
oklch(63.2% 0.126 131.1)
-
Step 600
600 (this color)
#5F8D2B
oklch(59% 0.137 131.2)
-
Step 700
700
#466E0F
oklch(49% 0.127 130.9)
-
Step 800
800
#395A12
oklch(42.7% 0.105 131.4)
-
Step 900
900
#314A17
oklch(37.6% 0.082 131.5)
-
Step 950
950
#1D2C0F
oklch(27.1% 0.053 131.7)
#5F8D2B 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) | #93821D | 0.074 |
| Deuteranopia (no green cones) | #8D7F33 | 0.076 |
| Tritanopia (no blue cones) | #618779 | 0.104 |
| Achromatopsia (no color) | #808080 | 0.137 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5F8D2B
#5F8D2B
oklch(59% 0.137 131.2)
- #9763B8
#9763B8
oklch(59% 0.136 311)
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 #5F8D2B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Mossy Green #638B27 ΔE 0.006
- Sap Green #5C8B15 ΔE 0.015
- Olive Drab #6B8E23 ΔE 0.015
- Moss Green #658B38 ΔE 0.017
- Fern Green #548D44 ΔE 0.024
- Dark Yellow Green #728F02 ΔE 0.028
- Swamp Green #748500 ΔE 0.032
- Khaki Green #728639 ΔE 0.037
Use #5F8D2B 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.