#5B982F
Closest named color: Olive Drab (#6B8E23). oklch(61.6% 0.151 134.7), rgb(91, 152, 47).
Aa
Black text reads best on this color (5.97:1).
About this color
#5B982F is a medium-dark, vivid green. In OKLCH its lightness is 62%, its chroma 0.151 and its hue 135°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Olive Drab (#6B8E23), ΔE 0.030 away. Black text reads best on it, at 5.97:1.
| Hue family | Greens |
| Lightness | medium-dark (62%) |
| Chroma | vivid (0.151) |
| Temperature | in between |
| Nearest name | Olive Drab (#6B8E23) |
| Black text | 5.97:1 |
| White text | 3.51:1 |
Values
| HEX | #5B982F |
| RGB | rgb(91, 152, 47) |
| HSL | hsl(95, 53%, 39%) |
| OKLCH | oklch(61.6% 0.151 134.7) |
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 #5B982F | 3.51:1 | AA large text | Lc -68.0 | Content text, not long reading |
| Black text on #5B982F | 5.97:1 | AA | Lc 41.6 | Non-text elements, placeholder text |
| #5B982F text on white | 3.51:1 | AA large text | Lc 62.5 | Content text, not long reading |
| #5B982F text on black | 5.97:1 | AA | Lc -39.2 | 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 500.
-
Step 50
50
#F3F7F0
oklch(97.1% 0.01 131.4)
-
Step 100
100
#E4EDDF
oklch(93.5% 0.021 134.1)
-
Step 200
200
#CEE0C5
oklch(88.6% 0.041 135.1)
-
Step 300
300
#ADCC9C
oklch(81% 0.074 134.6)
-
Step 400
400
#80B164
oklch(70.7% 0.118 135)
-
Step 500
500 (this color)
#5B982F
oklch(61.6% 0.151 134.7)
-
Step 600
600
#468600
oklch(55.5% 0.161 134.6)
-
Step 700
700
#3A7100
oklch(49.1% 0.142 134.6)
-
Step 800
800
#2E5D00
oklch(42.8% 0.125 134.8)
-
Step 900
900
#294C0D
oklch(37.6% 0.098 134.6)
-
Step 950
950
#182D0A
oklch(27% 0.063 135)
#5B982F 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) | #9E8C20 | 0.090 |
| Deuteranopia (no green cones) | #958738 | 0.090 |
| Tritanopia (no blue cones) | #5A9283 | 0.111 |
| Achromatopsia (no color) | #898989 | 0.152 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5B982F
#5B982F
oklch(61.6% 0.151 134.7)
- #A665C3
#A665C3
oklch(61.5% 0.152 314.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 #5B982F, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Olive Drab #6B8E23 ΔE 0.030
- Dark Yellow Green #728F02 ΔE 0.033
- Flat Green #699D4C ΔE 0.035
- Mossy Green #638B27 ΔE 0.036
- Grass Green #3F9B0B ΔE 0.037
- Sap Green #5C8B15 ΔE 0.037
- Muted Green #5FA052 ΔE 0.037
- Grassy Green #419C03 ΔE 0.038
Use #5B982F 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.