#5F8E1B
Closest named color: Sap Green (#5C8B15). oklch(59.1% 0.148 130.1), rgb(95, 142, 27).
Aa
Black text reads best on this color (5.37:1).
About this color
#5F8E1B is a medium-dark, vivid green. In OKLCH its lightness is 59%, its chroma 0.148 and its hue 130°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Sap Green (#5C8B15), ΔE 0.010 away. Black text reads best on it, at 5.37:1.
| Hue family | Greens |
| Lightness | medium-dark (59%) |
| Chroma | vivid (0.148) |
| Temperature | in between |
| Nearest name | Sap Green (#5C8B15) |
| Black text | 5.37:1 |
| White text | 3.90:1 |
Values
| HEX | #5F8E1B |
| RGB | rgb(95, 142, 27) |
| HSL | hsl(85, 68%, 33%) |
| OKLCH | oklch(59.1% 0.148 130.1) |
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 #5F8E1B | 3.90:1 | AA large text | Lc -71.8 | Content text, not long reading |
| Black text on #5F8E1B | 5.37:1 | AA | Lc 37.8 | Non-text elements, placeholder text |
| #5F8E1B text on white | 3.90:1 | AA large text | Lc 66.3 | Content text, not long reading |
| #5F8E1B text on black | 5.37:1 | AA | Lc -35.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
#F3F7F1
oklch(97.1% 0.009 134.9)
-
Step 100
100
#E6EDDF
oklch(93.7% 0.02 128.7)
-
Step 200
200
#D1DEC5
oklch(88.4% 0.036 129.7)
-
Step 300
300
#B2CA9D
oklch(80.9% 0.067 130.7)
-
Step 400
400
#8AAE65
oklch(70.7% 0.107 130.2)
-
Step 500
500
#6D9938
oklch(63% 0.136 130.2)
-
Step 600
600 (this color)
#5F8E1B
oklch(59.1% 0.148 130.1)
-
Step 700
700
#466E00
oklch(48.9% 0.132 130.2)
-
Step 800
800
#395A02
oklch(42.6% 0.113 130.1)
-
Step 900
900
#314A10
oklch(37.6% 0.088 130.1)
-
Step 950
950
#1D2C0C
oklch(27.1% 0.056 130.5)
#5F8E1B 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) | #958300 | 0.077 |
| Deuteranopia (no green cones) | #8E8028 | 0.077 |
| Tritanopia (no blue cones) | #628879 | 0.114 |
| Achromatopsia (no color) | #818181 | 0.149 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5F8E1B
#5F8E1B
oklch(59.1% 0.148 130.1)
- #9961BE
#9961BE
oklch(59.2% 0.147 310.4)
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 #5F8E1B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Sap Green #5C8B15 ΔE 0.010
- Mossy Green #638B27 ΔE 0.014
- Olive Drab #6B8E23 ΔE 0.017
- Dark Yellow Green #728F02 ΔE 0.024
- Moss Green #658B38 ΔE 0.028
- Swamp Green #748500 ΔE 0.033
- Fern Green #548D44 ΔE 0.035
- Khaki Green #728639 ΔE 0.046
Use #5F8E1B 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.