#5AB252
Closest named color: Dark Pastel Green (#56AE57). oklch(68.7% 0.158 142.1), rgb(90, 178, 82).
Aa
Black text reads best on this color (7.92:1).
About this color
#5AB252 is a medium-light, vivid green. In OKLCH its lightness is 69%, its chroma 0.158 and its hue 142°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Pastel Green (#56AE57), ΔE 0.015 away. Black text reads best on it, at 7.92:1.
| Hue family | Greens |
| Lightness | medium-light (69%) |
| Chroma | vivid (0.158) |
| Temperature | in between |
| Nearest name | Dark Pastel Green (#56AE57) |
| Black text | 7.92:1 |
| White text | 2.64:1 |
Values
| HEX | #5AB252 |
| RGB | rgb(90, 178, 82) |
| HSL | hsl(115, 38%, 51%) |
| OKLCH | oklch(68.7% 0.158 142.1) |
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 #5AB252 | 2.64:1 | Fails | Lc -56.5 | Large or bold text, headings |
| Black text on #5AB252 | 7.92:1 | AAA | Lc 52.7 | Large or bold text, headings |
| #5AB252 text on white | 2.64:1 | Fails | Lc 51.3 | Large or bold text, headings |
| #5AB252 text on black | 7.92:1 | AAA | Lc -50.6 | 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
#F1F8F0
oklch(97.2% 0.013 141.8)
-
Step 100
100
#E0EFDE
oklch(93.6% 0.028 142)
-
Step 200
200
#C5E3C2
oklch(88.5% 0.055 142.6)
-
Step 300
300
#9CD196
oklch(80.9% 0.098 142.1)
-
Step 400
400 (this color)
#5AB252
oklch(68.7% 0.158 142.1)
-
Step 500
500
#23A519
oklch(63% 0.201 142.1)
-
Step 600
600
#0C8C00
oklch(55.6% 0.187 142.1)
-
Step 700
700
#097600
oklch(49.1% 0.165 142.1)
-
Step 800
800
#066100
oklch(42.8% 0.144 142)
-
Step 900
900
#045100
oklch(37.8% 0.127 142.1)
-
Step 950
950
#063004
oklch(27.1% 0.084 142.1)
#5AB252 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) | #B6A449 | 0.113 |
| Deuteranopia (no green cones) | #AA9C59 | 0.113 |
| Tritanopia (no blue cones) | #4FAD9C | 0.102 |
| Achromatopsia (no color) | #9F9F9F | 0.159 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5AB252
#5AB252
oklch(68.7% 0.158 142.1)
- #C776D4
#C776D4
oklch(68.7% 0.158 321.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 #5AB252, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Pastel Green #56AE57 ΔE 0.015
- Boring Green #63B365 ΔE 0.024
- Fern #63A950 ΔE 0.026
- Cool Green #33B864 ΔE 0.028
- Leafy Green #51B73B ΔE 0.030
- Leaf #71AA34 ΔE 0.031
- Grass #5CAC2D ΔE 0.031
- Medium Green #39AD48 ΔE 0.032
Use #5AB252 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.