#5F8A1C
Closest named color: Sap Green (#5C8B15). oklch(58.1% 0.143 129.3), rgb(95, 138, 28).
Aa
Black text reads best on this color (5.13:1).
About this color
#5F8A1C is a medium-dark, vivid green. In OKLCH its lightness is 58%, its chroma 0.143 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.007 away. Black text reads best on it, at 5.13:1.
| Hue family | Greens |
| Lightness | medium-dark (58%) |
| Chroma | vivid (0.143) |
| Temperature | in between |
| Nearest name | Sap Green (#5C8B15) |
| Black text | 5.13:1 |
| White text | 4.08:1 |
Values
| HEX | #5F8A1C |
| RGB | rgb(95, 138, 28) |
| HSL | hsl(83, 66%, 33%) |
| OKLCH | oklch(58.1% 0.143 129.3) |
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 #5F8A1C | 4.08:1 | AA large text | Lc -73.4 | Content text, not long reading |
| Black text on #5F8A1C | 5.13:1 | AA | Lc 36.2 | Non-text elements, placeholder text |
| #5F8A1C text on white | 4.08:1 | AA large text | Lc 67.9 | Content text, not long reading |
| #5F8A1C text on black | 5.13:1 | AA | Lc -33.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
#F4F7F1
oklch(97.2% 0.009 128.6)
-
Step 100
100
#E6ECE0
oklch(93.5% 0.017 128.7)
-
Step 200
200
#D2DEC6
oklch(88.5% 0.035 128.9)
-
Step 300
300
#B4C99E
oklch(80.9% 0.063 128.9)
-
Step 400
400
#8CAD67
oklch(70.6% 0.102 129.3)
-
Step 500
500
#70983B
oklch(63% 0.13 129.2)
-
Step 600
600 (this color)
#5F8A1C
oklch(58.1% 0.143 129.3)
-
Step 700
700
#486E00
oklch(49.1% 0.131 129.4)
-
Step 800
800
#3B5A07
oklch(42.7% 0.11 129.5)
-
Step 900
900
#334A12
oklch(37.7% 0.086 129.1)
-
Step 950
950
#1E2B0D
oklch(26.9% 0.053 129)
#5F8A1C 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) | #918000 | 0.072 |
| Deuteranopia (no green cones) | #8B7D28 | 0.073 |
| Tritanopia (no blue cones) | #628476 | 0.111 |
| Achromatopsia (no color) | #7E7E7E | 0.143 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5F8A1C
#5F8A1C
oklch(58.1% 0.143 129.3)
- #9460B9
#9460B9
oklch(58.2% 0.141 309.6)
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 #5F8A1C, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Sap Green #5C8B15 ΔE 0.007
- Mossy Green #638B27 ΔE 0.010
- Olive Drab #6B8E23 ΔE 0.021
- Moss Green #658B38 ΔE 0.024
- Swamp Green #748500 ΔE 0.028
- Dark Yellow Green #728F02 ΔE 0.030
- Fern Green #548D44 ΔE 0.032
- Swamp #698339 ΔE 0.039
Use #5F8A1C 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.