#508B2F
Closest named color: Sap Green (#5C8B15). oklch(57.6% 0.139 136.2), rgb(80, 139, 47).
Aa
Black text reads best on this color (5.07:1).
About this color
#508B2F is a medium-dark, moderately saturated green. In OKLCH its lightness is 58%, its chroma 0.139 and its hue 136°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Sap Green (#5C8B15), ΔE 0.018 away. Black text reads best on it, at 5.07:1.
| Hue family | Greens |
| Lightness | medium-dark (58%) |
| Chroma | moderately saturated (0.139) |
| Temperature | in between |
| Nearest name | Sap Green (#5C8B15) |
| Black text | 5.07:1 |
| White text | 4.13:1 |
Values
| HEX | #508B2F |
| RGB | rgb(80, 139, 47) |
| HSL | hsl(98, 49%, 36%) |
| OKLCH | oklch(57.6% 0.139 136.2) |
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 #508B2F | 4.13:1 | AA large text | Lc -73.8 | Content text, not long reading |
| Black text on #508B2F | 5.07:1 | AA | Lc 35.8 | Non-text elements, placeholder text |
| #508B2F text on white | 4.13:1 | AA large text | Lc 68.3 | Content text, not long reading |
| #508B2F text on black | 5.07:1 | AA | Lc -33.4 | 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
#E4EDE1
oklch(93.6% 0.019 137.8)
-
Step 200
200
#CFDFC8
oklch(88.5% 0.035 136)
-
Step 300
300
#AFCAA2
oklch(80.8% 0.062 135.5)
-
Step 400
400
#84AF70
oklch(70.7% 0.1 136.1)
-
Step 500
500
#649B48
oklch(63.2% 0.129 136.1)
-
Step 600
600 (this color)
#508B2F
oklch(57.6% 0.139 136.2)
-
Step 700
700
#3B701A
oklch(49% 0.129 136.1)
-
Step 800
800
#315C19
oklch(42.8% 0.108 136.4)
-
Step 900
900
#2C4B1B
oklch(37.6% 0.083 135.9)
-
Step 950
950
#1A2C11
oklch(26.9% 0.052 136.1)
#508B2F 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) | #908023 | 0.087 |
| Deuteranopia (no green cones) | #887B37 | 0.087 |
| Tritanopia (no blue cones) | #4E8678 | 0.099 |
| Achromatopsia (no color) | #7D7D7D | 0.140 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #508B2F
#508B2F
oklch(57.6% 0.139 136.2)
- #995CB0
#995CB0
oklch(57.6% 0.14 316.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 #508B2F, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Sap Green #5C8B15 ΔE 0.018
- Mossy Green #638B27 ΔE 0.021
- Fern Green #548D44 ΔE 0.022
- Moss Green #658B38 ΔE 0.027
- Olive Drab #6B8E23 ΔE 0.033
- Light Forest Green #4F9153 ΔE 0.038
- Forest Green #228B22 ΔE 0.039
- Swamp #698339 ΔE 0.041
Use #508B2F 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.