#5A8207
Closest named color: Sap Green (#5C8B15). oklch(55.6% 0.143 128.2), rgb(90, 130, 7).
Aa
Black text reads best on this color (4.63:1).
About this color
#5A8207 is a medium-dark, vivid green. In OKLCH its lightness is 56%, its chroma 0.143 and its hue 128°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Sap Green (#5C8B15), ΔE 0.026 away. Black text reads best on it, at 4.63:1.
| Hue family | Greens |
| Lightness | medium-dark (56%) |
| Chroma | vivid (0.143) |
| Temperature | in between |
| Nearest name | Sap Green (#5C8B15) |
| Black text | 4.63:1 |
| White text | 4.53:1 |
Values
| HEX | #5A8207 |
| RGB | rgb(90, 130, 7) |
| HSL | hsl(80, 90%, 27%) |
| OKLCH | oklch(55.6% 0.143 128.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 #5A8207 | 4.53:1 | AA | Lc -76.7 | Fine for body text |
| Black text on #5A8207 | 4.63:1 | AA | Lc 32.8 | Non-text elements, placeholder text |
| #5A8207 text on white | 4.53:1 | AA | Lc 71.3 | Content text, not long reading |
| #5A8207 text on black | 4.63:1 | AA | Lc -30.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
#F4F7F1
oklch(97.2% 0.009 128.6)
-
Step 100
100
#E6ECDF
oklch(93.5% 0.018 127.1)
-
Step 200
200
#D2DEC5
oklch(88.5% 0.036 128.1)
-
Step 300
300
#B4C99D
oklch(80.9% 0.064 128.5)
-
Step 400
400
#8EAD66
oklch(70.7% 0.103 128)
-
Step 500
500
#729838
oklch(63.1% 0.132 128)
-
Step 600
600 (this color)
#5A8207
oklch(55.6% 0.143 128.2)
-
Step 700
700
#4B6D00
oklch(49% 0.128 127.9)
-
Step 800
800
#3D5A03
oklch(42.8% 0.111 128.2)
-
Step 900
900
#344A10
oklch(37.8% 0.086 128.2)
-
Step 950
950
#1E2B0C
oklch(26.9% 0.054 128.6)
#5A8207 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) | #897800 | 0.071 |
| Deuteranopia (no green cones) | #84751A | 0.072 |
| Tritanopia (no blue cones) | #5E7C6E | 0.113 |
| Achromatopsia (no color) | #767676 | 0.144 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5A8207
#5A8207
oklch(55.6% 0.143 128.2)
- #8B58B3
#8B58B3
oklch(55.6% 0.144 308.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 #5A8207, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Sap Green #5C8B15 ΔE 0.026
- Olive Green #677A04 ΔE 0.027
- Mossy Green #638B27 ΔE 0.032
- Murky Green #6C7A0E ΔE 0.033
- Swamp Green #748500 ΔE 0.036
- Dark Grass Green #388004 ΔE 0.037
- Moss Green #658B38 ΔE 0.041
- Swamp #698339 ΔE 0.042
Use #5A8207 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.