#5F8748
Closest named color: Swamp (#698339). oklch(57.8% 0.101 135), rgb(95, 135, 72).
Aa
Black text reads best on this color (5.04:1).
About this color
#5F8748 is a medium-dark, moderately saturated green. In OKLCH its lightness is 58%, its chroma 0.101 and its hue 135°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Swamp (#698339), ΔE 0.018 away. Black text reads best on it, at 5.04:1.
| Hue family | Greens |
| Lightness | medium-dark (58%) |
| Chroma | moderately saturated (0.101) |
| Temperature | in between |
| Nearest name | Swamp (#698339) |
| Black text | 5.04:1 |
| White text | 4.16:1 |
Values
| HEX | #5F8748 |
| RGB | rgb(95, 135, 72) |
| HSL | hsl(98, 30%, 41%) |
| OKLCH | oklch(57.8% 0.101 135) |
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 #5F8748 | 4.16:1 | AA large text | Lc -74.1 | Content text, not long reading |
| Black text on #5F8748 | 5.04:1 | AA | Lc 35.5 | Non-text elements, placeholder text |
| #5F8748 text on white | 4.16:1 | AA large text | Lc 68.6 | Content text, not long reading |
| #5F8748 text on black | 5.04:1 | AA | Lc -33.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
#E6ECE3
oklch(93.6% 0.014 134.9)
-
Step 200
200
#D2DDCD
oklch(88.5% 0.025 135.7)
-
Step 300
300
#B4C8AA
oklch(80.9% 0.047 135.1)
-
Step 400
400
#8DAB7D
oklch(70.6% 0.073 134.9)
-
Step 500
500
#71965C
oklch(63.1% 0.093 134.8)
-
Step 600
600 (this color)
#5F8748
oklch(57.8% 0.101 135)
-
Step 700
700
#496C33
oklch(49% 0.094 134.6)
-
Step 800
800
#3C582B
oklch(42.6% 0.077 134.7)
-
Step 900
900
#334927
oklch(37.7% 0.061 135.3)
-
Step 950
950
#1E2B17
oklch(27.1% 0.04 135.2)
#5F8748 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) | #8B7E43 | 0.063 |
| Deuteranopia (no green cones) | #857B4C | 0.063 |
| Tritanopia (no blue cones) | #5F8378 | 0.072 |
| Achromatopsia (no color) | #7C7C7C | 0.101 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5F8748
#5F8748
oklch(57.8% 0.101 135)
- #9067A3
#9067A3
oklch(57.9% 0.101 314.7)
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 #5F8748, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Swamp #698339 ΔE 0.018
- Dark Sage #598556 ΔE 0.021
- Fern Green #548D44 ΔE 0.023
- Moss Green #658B38 ΔE 0.024
- Khaki Green #728639 ΔE 0.026
- Light Forest Green #4F9153 ΔE 0.030
- Military Green #667C3E ΔE 0.031
- Mossy Green #638B27 ΔE 0.037
Use #5F8748 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.