#5EAF40
Closest named color: Grass (#5CAC2D). oklch(67.9% 0.167 138.3), rgb(94, 175, 64).
Aa
Black text reads best on this color (7.68:1).
About this color
#5EAF40 is a medium-light, vivid green. In OKLCH its lightness is 68%, its chroma 0.167 and its hue 138°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Grass (#5CAC2D), ΔE 0.016 away. Black text reads best on it, at 7.68:1.
| Hue family | Greens |
| Lightness | medium-light (68%) |
| Chroma | vivid (0.167) |
| Temperature | in between |
| Nearest name | Grass (#5CAC2D) |
| Black text | 7.68:1 |
| White text | 2.73:1 |
Values
| HEX | #5EAF40 |
| RGB | rgb(94, 175, 64) |
| HSL | hsl(104, 46%, 47%) |
| OKLCH | oklch(67.9% 0.167 138.3) |
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 #5EAF40 | 2.73:1 | Fails | Lc -57.9 | Large or bold text, headings |
| Black text on #5EAF40 | 7.68:1 | AAA | Lc 51.4 | Large or bold text, headings |
| #5EAF40 text on white | 2.73:1 | Fails | Lc 52.6 | Large or bold text, headings |
| #5EAF40 text on black | 7.68:1 | AAA | Lc -49.2 | 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
#F1F8EF
oklch(97.1% 0.014 138.7)
-
Step 100
100
#E0EFDC
oklch(93.6% 0.03 139.1)
-
Step 200
200
#C7E3BE
oklch(88.5% 0.058 138.1)
-
Step 300
300
#9FD18F
oklch(80.9% 0.104 138.3)
-
Step 400
400 (this color)
#5EAF40
oklch(67.9% 0.167 138.3)
-
Step 500
500
#40A300
oklch(63.1% 0.196 138.3)
-
Step 600
600
#348900
oklch(55.6% 0.173 138.4)
-
Step 700
700
#2B7300
oklch(49% 0.152 138.2)
-
Step 800
800
#225F00
oklch(42.8% 0.133 138.3)
-
Step 900
900
#1B4F00
oklch(37.7% 0.117 138.3)
-
Step 950
950
#0D2F00
oklch(26.9% 0.084 138.2)
#5EAF40 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) | #B4A133 | 0.109 |
| Deuteranopia (no green cones) | #A99A49 | 0.109 |
| Tritanopia (no blue cones) | #58A998 | 0.116 |
| Achromatopsia (no color) | #9C9C9C | 0.168 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5EAF40
#5EAF40
oklch(67.9% 0.167 138.3)
- #C272D9
#C272D9
oklch(67.8% 0.167 318.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 #5EAF40, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Grass #5CAC2D ΔE 0.016
- Leaf #71AA34 ΔE 0.020
- Dark Pastel Green #56AE57 ΔE 0.023
- Leafy Green #51B73B ΔE 0.026
- Fern #63A950 ΔE 0.027
- Medium Green #39AD48 ΔE 0.029
- Mid Green #50A747 ΔE 0.029
- Leaf Green #5CA904 ΔE 0.032
Use #5EAF40 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.