#508C28
Closest named color: Sap Green (#5C8B15). oklch(57.8% 0.146 135.4), rgb(80, 140, 40).
Aa
Black text reads best on this color (5.12:1).
About this color
#508C28 is a medium-dark, vivid green. In OKLCH its lightness is 58%, its chroma 0.146 and its hue 135°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Sap Green (#5C8B15), ΔE 0.014 away. Black text reads best on it, at 5.12:1.
| Hue family | Greens |
| Lightness | medium-dark (58%) |
| Chroma | vivid (0.146) |
| Temperature | in between |
| Nearest name | Sap Green (#5C8B15) |
| Black text | 5.12:1 |
| White text | 4.09:1 |
Values
| HEX | #508C28 |
| RGB | rgb(80, 140, 40) |
| HSL | hsl(96, 56%, 35%) |
| OKLCH | oklch(57.8% 0.146 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 #508C28 | 4.09:1 | AA large text | Lc -73.4 | Content text, not long reading |
| Black text on #508C28 | 5.12:1 | AA | Lc 36.2 | Non-text elements, placeholder text |
| #508C28 text on white | 4.09:1 | AA large text | Lc 67.9 | Content text, not long reading |
| #508C28 text on black | 5.12:1 | AA | Lc -33.7 | 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 600.
-
Step 50
50
#F3F7F1
oklch(97.1% 0.009 134.9)
-
Step 100
100
#E4EDE0
oklch(93.6% 0.02 135.8)
-
Step 200
200
#CFDFC7
oklch(88.5% 0.037 135)
-
Step 300
300
#AECBA0
oklch(80.9% 0.067 135.5)
-
Step 400
400
#83B06C
oklch(70.8% 0.106 135.6)
-
Step 500
500
#639B43
oklch(63.1% 0.134 135.6)
-
Step 600
600 (this color)
#508C28
oklch(57.8% 0.146 135.4)
-
Step 700
700
#3A7111
oklch(49.2% 0.136 135.6)
-
Step 800
800
#315C12
oklch(42.8% 0.113 135.3)
-
Step 900
900
#2B4C18
oklch(37.8% 0.088 135.8)
-
Step 950
950
#1A2C0F
oklch(26.9% 0.055 135)
#508C28 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) | #918018 | 0.088 |
| Deuteranopia (no green cones) | #897C31 | 0.088 |
| Tritanopia (no blue cones) | #4E8778 | 0.105 |
| Achromatopsia (no color) | #7D7D7D | 0.146 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #508C28
#508C28
oklch(57.8% 0.146 135.4)
- #9A5BB4
#9A5BB4
oklch(57.8% 0.146 315.3)
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 #508C28, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Sap Green #5C8B15 ΔE 0.014
- Mossy Green #638B27 ΔE 0.021
- Fern Green #548D44 ΔE 0.028
- Moss Green #658B38 ΔE 0.031
- Olive Drab #6B8E23 ΔE 0.032
- Forest Green #228B22 ΔE 0.037
- Kelley Green #009337 ΔE 0.041
- Dark Yellow Green #728F02 ΔE 0.042
Use #508C28 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.