#5B8F20
Closest named color: Sap Green (#5C8B15). oklch(59.2% 0.149 131.9), rgb(91, 143, 32).
Aa
Black text reads best on this color (5.39:1).
About this color
#5B8F20 is a medium-dark, vivid green. In OKLCH its lightness is 59%, its chroma 0.149 and its hue 132°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Sap Green (#5C8B15), ΔE 0.011 away. Black text reads best on it, at 5.39:1.
| Hue family | Greens |
| Lightness | medium-dark (59%) |
| Chroma | vivid (0.149) |
| Temperature | in between |
| Nearest name | Sap Green (#5C8B15) |
| Black text | 5.39:1 |
| White text | 3.89:1 |
Values
| HEX | #5B8F20 |
| RGB | rgb(91, 143, 32) |
| HSL | hsl(88, 63%, 34%) |
| OKLCH | oklch(59.2% 0.149 131.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 #5B8F20 | 3.89:1 | AA large text | Lc -71.7 | Content text, not long reading |
| Black text on #5B8F20 | 5.39:1 | AA | Lc 37.9 | Non-text elements, placeholder text |
| #5B8F20 text on white | 3.89:1 | AA large text | Lc 66.2 | Content text, not long reading |
| #5B8F20 text on black | 5.39:1 | AA | Lc -35.5 | 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
#E5EDE0
oklch(93.6% 0.019 133.1)
-
Step 200
200
#D0DFC6
oklch(88.6% 0.037 132.7)
-
Step 300
300
#B1CA9E
oklch(80.9% 0.066 131.9)
-
Step 400
400
#88AF67
oklch(70.8% 0.108 131.8)
-
Step 500
500
#6A9A3A
oklch(63.1% 0.137 131.7)
-
Step 600
600 (this color)
#5B8F20
oklch(59.2% 0.149 131.9)
-
Step 700
700
#426F00
oklch(49% 0.136 131.8)
-
Step 800
800
#365B06
oklch(42.7% 0.115 131.9)
-
Step 900
900
#2F4B12
oklch(37.7% 0.089 132)
-
Step 950
950
#1C2C0C
oklch(27% 0.057 131.6)
#5B8F20 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) | #958405 | 0.081 |
| Deuteranopia (no green cones) | #8E802B | 0.082 |
| Tritanopia (no blue cones) | #5C897A | 0.112 |
| Achromatopsia (no color) | #818181 | 0.149 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5B8F20
#5B8F20
oklch(59.2% 0.149 131.9)
- #9B60BD
#9B60BD
oklch(59.2% 0.149 311.9)
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 #5B8F20, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Sap Green #5C8B15 ΔE 0.011
- Mossy Green #638B27 ΔE 0.017
- Olive Drab #6B8E23 ΔE 0.020
- Dark Yellow Green #728F02 ΔE 0.027
- Moss Green #658B38 ΔE 0.029
- Fern Green #548D44 ΔE 0.033
- Swamp Green #748500 ΔE 0.037
- Grass Green #3F9B0B ΔE 0.045
Use #5B8F20 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.