#5A8229
Closest named color: Olive Green (#677A04). oklch(55.8% 0.126 130.4), rgb(90, 130, 41).
Aa
Black text reads best on this color (4.65:1).
About this color
#5A8229 is a medium-dark, moderately saturated green. In OKLCH its lightness is 56%, its chroma 0.126 and its hue 130°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Olive Green (#677A04), ΔE 0.027 away. Black text reads best on it, at 4.65:1.
| Hue family | Greens |
| Lightness | medium-dark (56%) |
| Chroma | moderately saturated (0.126) |
| Temperature | in between |
| Nearest name | Olive Green (#677A04) |
| Black text | 4.65:1 |
| White text | 4.50:1 |
Values
| HEX | #5A8229 |
| RGB | rgb(90, 130, 41) |
| HSL | hsl(87, 52%, 34%) |
| OKLCH | oklch(55.8% 0.126 130.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 #5A8229 | 4.50:1 | AA | Lc -76.6 | Fine for body text |
| Black text on #5A8229 | 4.65:1 | AA | Lc 32.9 | Non-text elements, placeholder text |
| #5A8229 text on white | 4.50:1 | AA | Lc 71.1 | Content text, not long reading |
| #5A8229 text on black | 4.65:1 | AA | Lc -30.5 | 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
#F4F6F1
oklch(97% 0.007 124.4)
-
Step 100
100
#E6ECE1
oklch(93.5% 0.016 130.4)
-
Step 200
200
#D2DEC8
oklch(88.5% 0.032 130.6)
-
Step 300
300
#B4C9A2
oklch(81% 0.058 130.7)
-
Step 400
400
#8DAC70
oklch(70.6% 0.09 130.6)
-
Step 500
500
#719748
oklch(63% 0.116 130.3)
-
Step 600
600 (this color)
#5A8229
oklch(55.8% 0.126 130.4)
-
Step 700
700
#496D1A
oklch(49% 0.117 130.4)
-
Step 800
800
#3C5919
oklch(42.6% 0.097 130.5)
-
Step 900
900
#34491B
oklch(37.6% 0.075 129.9)
-
Step 950
950
#1E2B11
oklch(27% 0.048 130.8)
#5A8229 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) | #88781D | 0.067 |
| Deuteranopia (no green cones) | #827630 | 0.067 |
| Tritanopia (no blue cones) | #5C7C70 | 0.098 |
| Achromatopsia (no color) | #777777 | 0.127 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5A8229
#5A8229
oklch(55.8% 0.126 130.4)
- #8B5CAA
#8B5CAA
oklch(55.7% 0.127 310.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 #5A8229, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Olive Green #677A04 ΔE 0.027
- Swamp #698339 ΔE 0.027
- Murky Green #6C7A0E ΔE 0.029
- Mossy Green #638B27 ΔE 0.030
- Moss Green #658B38 ΔE 0.032
- Sap Green #5C8B15 ΔE 0.032
- Fern Green #548D44 ΔE 0.034
- Military Green #667C3E ΔE 0.036
Use #5A8229 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.