#5A7828
Closest named color: Muddy Green (#657432). oklch(53.2% 0.113 127.4), rgb(90, 120, 40).
Aa
White text reads best on this color (5.05:1).
About this color
#5A7828 is a medium-dark, moderately saturated green. In OKLCH its lightness is 53%, its chroma 0.113 and its hue 127°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Muddy Green (#657432), ΔE 0.024 away. White text reads best on it, at 5.05:1.
| Hue family | Greens |
| Lightness | medium-dark (53%) |
| Chroma | moderately saturated (0.113) |
| Temperature | in between |
| Nearest name | Muddy Green (#657432) |
| Black text | 4.15:1 |
| White text | 5.05:1 |
Values
| HEX | #5A7828 |
| RGB | rgb(90, 120, 40) |
| HSL | hsl(83, 50%, 31%) |
| OKLCH | oklch(53.2% 0.113 127.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 #5A7828 | 5.05:1 | AA | Lc -80.2 | Fine for body text |
| Black text on #5A7828 | 4.15:1 | AA large text | Lc 29.3 | Dividers and decoration only |
| #5A7828 text on white | 5.05:1 | AA | Lc 74.8 | Content text, not long reading |
| #5A7828 text on black | 4.15:1 | AA large text | Lc -26.9 | Dividers and decoration only |
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
#E7ECE1
oklch(93.6% 0.016 126.8)
-
Step 200
200
#D4DDC9
oklch(88.5% 0.029 126.8)
-
Step 300
300
#B7C7A4
oklch(80.8% 0.051 127.5)
-
Step 400
400
#92AA73
oklch(70.6% 0.081 127.5)
-
Step 500
500
#78954E
oklch(63.1% 0.103 127.4)
-
Step 600
600 (this color)
#5A7828
oklch(53.2% 0.113 127.4)
-
Step 700
700
#506B22
oklch(49% 0.105 127.3)
-
Step 800
800
#42581E
oklch(42.9% 0.088 127.3)
-
Step 900
900
#37481E
oklch(37.6% 0.068 127.6)
-
Step 950
950
#212A13
oklch(27% 0.041 126.5)
#5A7828 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) | #7E701E | 0.054 |
| Deuteranopia (no green cones) | #7A6E2E | 0.056 |
| Tritanopia (no blue cones) | #5D7367 | 0.088 |
| Achromatopsia (no color) | #6F6F6F | 0.113 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5A7828
#5A7828
oklch(53.2% 0.113 127.4)
- #7E599F
#7E599F
oklch(53.2% 0.113 307.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 #5A7828, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Muddy Green #657432 ΔE 0.024
- Olive Green #677A04 ΔE 0.025
- Murky Green #6C7A0E ΔE 0.028
- Military Green #667C3E ΔE 0.031
- Browny Green #6F6C0A ΔE 0.041
- Swamp #698339 ΔE 0.042
- Brown Green #706C11 ΔE 0.042
- Dark Olive Green #556B2F ΔE 0.043
Use #5A7828 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.