#5FAC28
Closest named color: Grass (#5CAC2D). oklch(66.9% 0.179 135.5), rgb(95, 172, 40).
Aa
Black text reads best on this color (7.41:1).
About this color
#5FAC28 is a medium-light, vivid green. In OKLCH its lightness is 67%, its chroma 0.179 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.41:1.
| Hue family | Greens |
| Lightness | medium-light (67%) |
| Chroma | vivid (0.179) |
| Temperature | in between |
| Nearest name | Grass (#5CAC2D) |
| Black text | 7.41:1 |
| White text | 2.83:1 |
Values
| HEX | #5FAC28 |
| RGB | rgb(95, 172, 40) |
| HSL | hsl(95, 62%, 42%) |
| OKLCH | oklch(66.9% 0.179 135.5) |
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 #5FAC28 | 2.83:1 | Fails | Lc -59.3 | Large or bold text, headings |
| Black text on #5FAC28 | 7.41:1 | AAA | Lc 50.0 | Large or bold text, headings |
| #5FAC28 text on white | 2.83:1 | Fails | Lc 54.0 | Large or bold text, headings |
| #5FAC28 text on black | 7.41:1 | AAA | Lc -47.8 | 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 400.
-
Step 50
50
#F1F8EE
oklch(97.1% 0.015 136.1)
-
Step 100
100
#E1EFDA
oklch(93.6% 0.032 135)
-
Step 200
200
#C8E3BA
oklch(88.5% 0.062 134.9)
-
Step 300
300
#A1D188
oklch(80.9% 0.111 135.3)
-
Step 400
400 (this color)
#5FAC28
oklch(66.9% 0.179 135.5)
-
Step 500
500
#50A000
oklch(63% 0.186 135.5)
-
Step 600
600
#438700
oklch(55.6% 0.164 135.4)
-
Step 700
700
#377200
oklch(49.2% 0.145 135.5)
-
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
#132E00
oklch(26.9% 0.079 135.2)
#5FAC28 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) | #B29E07 | 0.107 |
| Deuteranopia (no green cones) | #A89736 | 0.109 |
| Tritanopia (no blue cones) | #5CA593 | 0.129 |
| Achromatopsia (no color) | #9A9A9A | 0.180 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5FAC28
#5FAC28
oklch(66.9% 0.179 135.5)
- #BE6DDE
#BE6DDE
oklch(66.9% 0.179 315.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 #5FAC28, closest first.
No curated palette has a color within ΔE 0.04 of #5FAC28.
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.015
- Leaf #71AA34 ΔE 0.023
- Leafy Green #51B73B ΔE 0.030
- Medium Green #39AD48 ΔE 0.032
- Mid Green #50A747 ΔE 0.033
- Fern #63A950 ΔE 0.038
- Dark Pastel Green #56AE57 ΔE 0.038
Use #5FAC28 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.