#5C841F
Closest named color: Sap Green (#5C8B15). oklch(56.4% 0.135 129.2), rgb(92, 132, 31).
Aa
Black text reads best on this color (4.77:1).
About this color
#5C841F is a medium-dark, moderately saturated green. In OKLCH its lightness is 56%, its chroma 0.135 and its hue 129°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Sap Green (#5C8B15), ΔE 0.023 away. Black text reads best on it, at 4.77:1.
| Hue family | Greens |
| Lightness | medium-dark (56%) |
| Chroma | moderately saturated (0.135) |
| Temperature | in between |
| Nearest name | Sap Green (#5C8B15) |
| Black text | 4.77:1 |
| White text | 4.39:1 |
Values
| HEX | #5C841F |
| RGB | rgb(92, 132, 31) |
| HSL | hsl(84, 62%, 32%) |
| OKLCH | oklch(56.4% 0.135 129.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 #5C841F | 4.39:1 | AA large text | Lc -75.8 | Fine for body text |
| Black text on #5C841F | 4.77:1 | AA | Lc 33.8 | Non-text elements, placeholder text |
| #5C841F text on white | 4.39:1 | AA large text | Lc 70.3 | Content text, not long reading |
| #5C841F text on black | 4.77:1 | AA | Lc -31.3 | 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
#F4F7F1
oklch(97.2% 0.009 128.6)
-
Step 100
100
#E6ECE0
oklch(93.5% 0.017 128.7)
-
Step 200
200
#D2DEC7
oklch(88.5% 0.034 129.7)
-
Step 300
300
#B4C9A0
oklch(80.9% 0.06 129.8)
-
Step 400
400
#8EAD6B
oklch(70.8% 0.097 129.1)
-
Step 500
500
#729841
oklch(63.2% 0.124 129.1)
-
Step 600
600 (this color)
#5C841F
oklch(56.4% 0.135 129.2)
-
Step 700
700
#4A6E0C
oklch(49.3% 0.126 129.2)
-
Step 800
800
#3D5910
oklch(42.6% 0.103 128.9)
-
Step 900
900
#344A16
oklch(37.8% 0.081 129.2)
-
Step 950
950
#1E2B0E
oklch(26.9% 0.052 129.4)
#5C841F 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) | #8B7A0A | 0.069 |
| Deuteranopia (no green cones) | #857729 | 0.070 |
| Tritanopia (no blue cones) | #5F7E71 | 0.106 |
| Achromatopsia (no color) | #787878 | 0.135 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5C841F
#5C841F
oklch(56.4% 0.135 129.2)
- #8D5CB1
#8D5CB1
oklch(56.3% 0.136 309.3)
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 #5C841F, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Sap Green #5C8B15 ΔE 0.023
- Mossy Green #638B27 ΔE 0.023
- Olive Green #677A04 ΔE 0.029
- Moss Green #658B38 ΔE 0.030
- Swamp #698339 ΔE 0.031
- Swamp Green #748500 ΔE 0.032
- Murky Green #6C7A0E ΔE 0.032
- Fern Green #548D44 ΔE 0.035
Use #5C841F 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.