#508A1F
Closest named color: Sap Green (#5C8B15). oklch(57.2% 0.149 134.2), rgb(80, 138, 31).
Aa
Black text reads best on this color (4.99:1).
About this color
#508A1F is a medium-dark, vivid green. In OKLCH its lightness is 57%, its chroma 0.149 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.014 away. Black text reads best on it, at 4.99:1.
| Hue family | Greens |
| Lightness | medium-dark (57%) |
| Chroma | vivid (0.149) |
| Temperature | in between |
| Nearest name | Sap Green (#5C8B15) |
| Black text | 4.99:1 |
| White text | 4.20:1 |
Values
| HEX | #508A1F |
| RGB | rgb(80, 138, 31) |
| HSL | hsl(93, 63%, 33%) |
| OKLCH | oklch(57.2% 0.149 134.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 #508A1F | 4.20:1 | AA large text | Lc -74.2 | Content text, not long reading |
| Black text on #508A1F | 4.99:1 | AA | Lc 35.3 | Non-text elements, placeholder text |
| #508A1F text on white | 4.20:1 | AA large text | Lc 68.8 | Content text, not long reading |
| #508A1F text on black | 4.99:1 | AA | Lc -32.9 | 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
#E5EDE0
oklch(93.6% 0.019 133.1)
-
Step 200
200
#CFDFC6
oklch(88.5% 0.038 134.1)
-
Step 300
300
#AFCB9F
oklch(81% 0.067 134.3)
-
Step 400
400
#84AF6A
oklch(70.6% 0.106 134.4)
-
Step 500
500
#659B3F
oklch(63.1% 0.137 134.3)
-
Step 600
600 (this color)
#508A1F
oklch(57.2% 0.149 134.2)
-
Step 700
700
#3C7106
oklch(49.2% 0.139 134.4)
-
Step 800
800
#325C0D
oklch(42.8% 0.115 134.3)
-
Step 900
900
#2C4B15
oklch(37.6% 0.089 134.3)
-
Step 950
950
#1A2C0E
oklch(26.9% 0.056 134.5)
#508A1F 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) | #907E06 | 0.088 |
| Deuteranopia (no green cones) | #887A2A | 0.088 |
| Tritanopia (no blue cones) | #4F8476 | 0.110 |
| Achromatopsia (no color) | #7C7C7C | 0.150 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #508A1F
#508A1F
oklch(57.2% 0.149 134.2)
- #9859B4
#9859B4
oklch(57.3% 0.149 314.5)
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 #508A1F, 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.024
- Fern Green #548D44 ΔE 0.033
- Forest Green #228B22 ΔE 0.034
- Moss Green #658B38 ΔE 0.035
- Olive Drab #6B8E23 ΔE 0.036
- Dark Grass Green #388004 ΔE 0.042
- Kelley Green #009337 ΔE 0.042
Use #508A1F 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.