#508B1F
Closest named color: Sap Green (#5C8B15). oklch(57.5% 0.15 134.4), rgb(80, 139, 31).
Aa
Black text reads best on this color (5.05:1).
About this color
#508B1F is a medium-dark, vivid green. In OKLCH its lightness is 57%, its chroma 0.150 and its hue 134°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Sap Green (#5C8B15), ΔE 0.013 away. Black text reads best on it, at 5.05:1.
| Hue family | Greens |
| Lightness | medium-dark (57%) |
| Chroma | vivid (0.150) |
| Temperature | in between |
| Nearest name | Sap Green (#5C8B15) |
| Black text | 5.05:1 |
| White text | 4.15:1 |
Values
| HEX | #508B1F |
| RGB | rgb(80, 139, 31) |
| HSL | hsl(93, 64%, 33%) |
| OKLCH | oklch(57.5% 0.15 134.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 #508B1F | 4.15:1 | AA large text | Lc -73.9 | Content text, not long reading |
| Black text on #508B1F | 5.05:1 | AA | Lc 35.7 | Non-text elements, placeholder text |
| #508B1F text on white | 4.15:1 | AA large text | Lc 68.4 | Content text, not long reading |
| #508B1F text on black | 5.05:1 | AA | Lc -33.3 | 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
#CFDFC6
oklch(88.5% 0.038 134.1)
-
Step 300
300
#AFCB9F
oklch(81% 0.067 134.3)
-
Step 400
400
#84B069
oklch(70.8% 0.109 134.3)
-
Step 500
500
#649B3E
oklch(63% 0.138 134.4)
-
Step 600
600 (this color)
#508B1F
oklch(57.5% 0.15 134.4)
-
Step 700
700
#3B7104
oklch(49.2% 0.14 134.5)
-
Step 800
800
#325C0C
oklch(42.8% 0.116 134.3)
-
Step 900
900
#2C4C14
oklch(37.8% 0.091 134.4)
-
Step 950
950
#1A2C0E
oklch(26.9% 0.056 134.5)
#508B1F 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) | #917F06 | 0.089 |
| Deuteranopia (no green cones) | #897B2A | 0.089 |
| Tritanopia (no blue cones) | #4F8577 | 0.111 |
| Achromatopsia (no color) | #7C7C7C | 0.151 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #508B1F
#508B1F
oklch(57.5% 0.15 134.4)
- #9959B5
#9959B5
oklch(57.4% 0.15 314.7)
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 #508B1F, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Sap Green #5C8B15 ΔE 0.013
- Mossy Green #638B27 ΔE 0.024
- Fern Green #548D44 ΔE 0.033
- Olive Drab #6B8E23 ΔE 0.034
- Forest Green #228B22 ΔE 0.035
- Moss Green #658B38 ΔE 0.035
- Kelley Green #009337 ΔE 0.041
- Dark Yellow Green #728F02 ΔE 0.043
Use #508B1F 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.