#5A8539
Closest named color: Swamp (#698339). oklch(56.7% 0.116 133.4), rgb(90, 133, 57).
Aa
Black text reads best on this color (4.84:1).
About this color
#5A8539 is a medium-dark, moderately saturated green. In OKLCH its lightness is 57%, its chroma 0.116 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.019 away. Black text reads best on it, at 4.84:1.
| Hue family | Greens |
| Lightness | medium-dark (57%) |
| Chroma | moderately saturated (0.116) |
| Temperature | in between |
| Nearest name | Swamp (#698339) |
| Black text | 4.84:1 |
| White text | 4.33:1 |
Values
| HEX | #5A8539 |
| RGB | rgb(90, 133, 57) |
| HSL | hsl(94, 40%, 37%) |
| OKLCH | oklch(56.7% 0.116 133.4) |
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 #5A8539 | 4.33:1 | AA large text | Lc -75.4 | Fine for body text |
| Black text on #5A8539 | 4.84:1 | AA | Lc 34.2 | Non-text elements, placeholder text |
| #5A8539 text on white | 4.33:1 | AA large text | Lc 69.9 | Content text, not long reading |
| #5A8539 text on black | 4.84:1 | AA | Lc -31.8 | 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
#E6ECE2
oklch(93.6% 0.015 132.5)
-
Step 200
200
#D2DECA
oklch(88.6% 0.03 132.6)
-
Step 300
300
#B3C8A6
oklch(80.8% 0.052 133.5)
-
Step 400
400
#8CAC76
oklch(70.7% 0.083 133.1)
-
Step 500
500
#6F9752
oklch(63% 0.107 133.3)
-
Step 600
600 (this color)
#5A8539
oklch(56.7% 0.116 133.4)
-
Step 700
700
#476D28
oklch(49% 0.107 133.3)
-
Step 800
800
#3A5922
oklch(42.6% 0.09 133.5)
-
Step 900
900
#324921
oklch(37.6% 0.069 133.4)
-
Step 950
950
#1E2B14
oklch(27% 0.044 132.7)
#5A8539 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) | #8A7C32 | 0.068 |
| Deuteranopia (no green cones) | #84783E | 0.069 |
| Tritanopia (no blue cones) | #5A8074 | 0.086 |
| Achromatopsia (no color) | #797979 | 0.117 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5A8539
#5A8539
oklch(56.7% 0.116 133.4)
- #8F60A7
#8F60A7
oklch(56.7% 0.118 313.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 #5A8539, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Swamp #698339 ΔE 0.019
- Fern Green #548D44 ΔE 0.023
- Moss Green #658B38 ΔE 0.024
- Mossy Green #638B27 ΔE 0.029
- Khaki Green #728639 ΔE 0.031
- Military Green #667C3E ΔE 0.032
- Dark Sage #598556 ΔE 0.035
- Sap Green #5C8B15 ΔE 0.036
Use #5A8539 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.