#5F8541
Closest named color: Swamp (#698339). oklch(57.2% 0.105 132.9), rgb(95, 133, 65).
Aa
Black text reads best on this color (4.91:1).
About this color
#5F8541 is a medium-dark, moderately saturated green. In OKLCH its lightness is 57%, its chroma 0.105 and its hue 133°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Swamp (#698339), ΔE 0.013 away. Black text reads best on it, at 4.91:1.
| Hue family | Greens |
| Lightness | medium-dark (57%) |
| Chroma | moderately saturated (0.105) |
| Temperature | in between |
| Nearest name | Swamp (#698339) |
| Black text | 4.91:1 |
| White text | 4.27:1 |
Values
| HEX | #5F8541 |
| RGB | rgb(95, 133, 65) |
| HSL | hsl(94, 34%, 39%) |
| OKLCH | oklch(57.2% 0.105 132.9) |
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 #5F8541 | 4.27:1 | AA large text | Lc -74.9 | Content text, not long reading |
| Black text on #5F8541 | 4.91:1 | AA | Lc 34.7 | Non-text elements, placeholder text |
| #5F8541 text on white | 4.27:1 | AA large text | Lc 69.4 | Content text, not long reading |
| #5F8541 text on black | 4.91:1 | AA | Lc -32.2 | 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
#D2DDCC
oklch(88.4% 0.026 134.3)
-
Step 300
300
#B5C8A8
oklch(81% 0.049 132.6)
-
Step 400
400
#8EAB7A
oklch(70.6% 0.076 133)
-
Step 500
500
#729658
oklch(63.1% 0.097 133.1)
-
Step 600
600 (this color)
#5F8541
oklch(57.2% 0.105 132.9)
-
Step 700
700
#4A6C2E
oklch(49% 0.098 132.8)
-
Step 800
800
#3D5827
oklch(42.6% 0.081 132.7)
-
Step 900
900
#344924
oklch(37.8% 0.065 132.9)
-
Step 950
950
#1F2B16
oklch(27.1% 0.04 132.7)
#5F8541 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) | #8A7C3B | 0.063 |
| Deuteranopia (no green cones) | #847945 | 0.062 |
| Tritanopia (no blue cones) | #608075 | 0.078 |
| Achromatopsia (no color) | #7A7A7A | 0.106 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5F8541
#5F8541
oklch(57.2% 0.105 132.9)
- #8D64A4
#8D64A4
oklch(57% 0.106 312.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 #5F8541, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Swamp #698339 ΔE 0.013
- Moss Green #658B38 ΔE 0.024
- Fern Green #548D44 ΔE 0.025
- Khaki Green #728639 ΔE 0.025
- Dark Sage #598556 ΔE 0.026
- Military Green #667C3E ΔE 0.026
- Mossy Green #638B27 ΔE 0.034
- Light Forest Green #4F9153 ΔE 0.035
Use #5F8541 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.