#5FAB28
Closest named color: Grass (#5CAC2D). oklch(66.7% 0.178 135.4), rgb(95, 171, 40).
Aa
Black text reads best on this color (7.34:1).
About this color
#5FAB28 is a medium-light, vivid green. In OKLCH its lightness is 67%, its chroma 0.178 and its hue 135°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Grass (#5CAC2D), ΔE 0.004 away. Black text reads best on it, at 7.34:1.
| Hue family | Greens |
| Lightness | medium-light (67%) |
| Chroma | vivid (0.178) |
| Temperature | in between |
| Nearest name | Grass (#5CAC2D) |
| Black text | 7.34:1 |
| White text | 2.86:1 |
Values
| HEX | #5FAB28 |
| RGB | rgb(95, 171, 40) |
| HSL | hsl(95, 62%, 41%) |
| OKLCH | oklch(66.7% 0.178 135.4) |
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 #5FAB28 | 2.86:1 | Fails | Lc -59.8 | Large or bold text, headings |
| Black text on #5FAB28 | 7.34:1 | AAA | Lc 49.6 | Large or bold text, headings |
| #5FAB28 text on white | 2.86:1 | Fails | Lc 54.5 | Large or bold text, headings |
| #5FAB28 text on black | 7.34:1 | AAA | Lc -47.3 | Large or bold text, headings |
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
#F2F7F0
oklch(97% 0.011 136.6)
-
Step 100
100
#E3EEDD
oklch(93.6% 0.025 134.3)
-
Step 200
200
#CCE1C1
oklch(88.6% 0.049 134.8)
-
Step 300
300
#A8CE95
oklch(80.9% 0.088 135.4)
-
Step 400
400
#79B457
oklch(70.8% 0.14 135.3)
-
Step 500
500 (this color)
#5FAB28
oklch(66.7% 0.178 135.4)
-
Step 600
600
#438700
oklch(55.6% 0.164 135.4)
-
Step 700
700
#377100
oklch(49% 0.144 135.4)
-
Step 800
800
#2C5D00
oklch(42.7% 0.126 135.4)
-
Step 900
900
#244E00
oklch(37.8% 0.111 135.4)
-
Step 950
950
#152E04
oklch(27.1% 0.073 135.3)
#5FAB28 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) | #B19D08 | 0.106 |
| Deuteranopia (no green cones) | #A79636 | 0.108 |
| Tritanopia (no blue cones) | #5DA492 | 0.129 |
| Achromatopsia (no color) | #999999 | 0.178 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5FAB28
#5FAB28
oklch(66.7% 0.178 135.4)
- #BD6DDD
#BD6DDD
oklch(66.7% 0.177 315.5)
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 #5FAB28, closest first.
No curated palette has a color within ΔE 0.04 of #5FAB28.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Grass #5CAC2D ΔE 0.004
- Leaf Green #5CA904 ΔE 0.014
- Leaf #71AA34 ΔE 0.022
- Mid Green #50A747 ΔE 0.031
- Medium Green #39AD48 ΔE 0.031
- Leafy Green #51B73B ΔE 0.032
- Fern #63A950 ΔE 0.037
- Dark Pastel Green #56AE57 ΔE 0.038
Use #5FAB28 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.