#5A820D
Closest named color: Sap Green (#5C8B15). oklch(55.6% 0.142 128.4), rgb(90, 130, 13).
Aa
Black text reads best on this color (4.63:1).
About this color
#5A820D is a medium-dark, vivid green. In OKLCH its lightness is 56%, its chroma 0.142 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.142) |
| Temperature | in between |
| Nearest name | Sap Green (#5C8B15) |
| Black text | 4.63:1 |
| White text | 4.53:1 |
Values
| HEX | #5A820D |
| RGB | rgb(90, 130, 13) |
| HSL | hsl(81, 82%, 28%) |
| OKLCH | oklch(55.6% 0.142 128.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 #5A820D | 4.53:1 | AA | Lc -76.7 | Fine for body text |
| Black text on #5A820D | 4.63:1 | AA | Lc 32.8 | Non-text elements, placeholder text |
| #5A820D text on white | 4.53:1 | AA | Lc 71.3 | Content text, not long reading |
| #5A820D 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
#E6ECE0
oklch(93.5% 0.017 128.7)
-
Step 200
200
#D2DEC6
oklch(88.5% 0.035 128.9)
-
Step 300
300
#B4C99D
oklch(80.9% 0.064 128.5)
-
Step 400
400
#8EAD67
oklch(70.7% 0.101 128.2)
-
Step 500
500
#72983A
oklch(63.1% 0.13 128.2)
-
Step 600
600 (this color)
#5A820D
oklch(55.6% 0.142 128.4)
-
Step 700
700
#4A6E00
oklch(49.2% 0.13 128.6)
-
Step 800
800
#3D5A05
oklch(42.9% 0.11 128.4)
-
Step 900
900
#344A12
oklch(37.8% 0.085 128.5)
-
Step 950
950
#1E2B0C
oklch(26.9% 0.054 128.6)
#5A820D 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) | #83751D | 0.070 |
| Tritanopia (no blue cones) | #5D7C6E | 0.111 |
| Achromatopsia (no color) | #767676 | 0.142 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5A820D
#5A820D
oklch(55.6% 0.142 128.4)
- #8B59B2
#8B59B2
oklch(55.7% 0.141 308.4)
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 #5A820D, 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.031
- Murky Green #6C7A0E ΔE 0.032
- Swamp Green #748500 ΔE 0.036
- Dark Grass Green #388004 ΔE 0.038
- Moss Green #658B38 ΔE 0.040
- Swamp #698339 ΔE 0.040
Use #5A820D 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.