#508C40
Closest named color: Fern Green (#548D44). oklch(58.1% 0.126 139.4), rgb(80, 140, 64).
Aa
Black text reads best on this color (5.16:1).
About this color
#508C40 is a medium-dark, moderately saturated green. In OKLCH its lightness is 58%, its chroma 0.126 and its hue 139°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Fern Green (#548D44), ΔE 0.007 away. Black text reads best on it, at 5.16:1.
| Hue family | Greens |
| Lightness | medium-dark (58%) |
| Chroma | moderately saturated (0.126) |
| Temperature | in between |
| Nearest name | Fern Green (#548D44) |
| Black text | 5.16:1 |
| White text | 4.06:1 |
Values
| HEX | #508C40 |
| RGB | rgb(80, 140, 64) |
| HSL | hsl(107, 37%, 40%) |
| OKLCH | oklch(58.1% 0.126 139.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 #508C40 | 4.06:1 | AA large text | Lc -73.2 | Content text, not long reading |
| Black text on #508C40 | 5.16:1 | AA | Lc 36.4 | Non-text elements, placeholder text |
| #508C40 text on white | 4.06:1 | AA large text | Lc 67.7 | Content text, not long reading |
| #508C40 text on black | 5.16:1 | AA | Lc -34.0 | 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
#F3F7F2
oklch(97.2% 0.008 139.4)
-
Step 100
100
#E4EDE2
oklch(93.6% 0.017 140)
-
Step 200
200
#CFDFCB
oklch(88.6% 0.032 139.4)
-
Step 300
300
#AECAA7
oklch(80.9% 0.057 139.4)
-
Step 400
400
#83AF78
oklch(70.8% 0.091 139.5)
-
Step 500
500
#639A55
oklch(63.1% 0.115 139.5)
-
Step 600
600 (this color)
#508C40
oklch(58.1% 0.126 139.4)
-
Step 700
700
#3A702B
oklch(49.1% 0.116 139.4)
-
Step 800
800
#305B25
oklch(42.6% 0.096 139.6)
-
Step 900
900
#2B4B23
oklch(37.7% 0.075 139.6)
-
Step 950
950
#1A2C15
oklch(27% 0.047 139.1)
#508C40 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) | #908139 | 0.086 |
| Deuteranopia (no green cones) | #877C45 | 0.085 |
| Tritanopia (no blue cones) | #4C887B | 0.085 |
| Achromatopsia (no color) | #7E7E7E | 0.126 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #508C40
#508C40
oklch(58.1% 0.126 139.4)
- #9A60A9
#9A60A9
oklch(58% 0.125 319.2)
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 #508C40, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Fern Green #548D44 ΔE 0.007
- Moss Green #658B38 ΔE 0.023
- Light Forest Green #4F9153 ΔE 0.023
- Mossy Green #638B27 ΔE 0.026
- Sap Green #5C8B15 ΔE 0.032
- Swamp #698339 ΔE 0.035
- Sea Green #2E8B57 ΔE 0.036
- Olive Drab #6B8E23 ΔE 0.037
Use #508C40 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.