#5A7B07
Closest named color: Olive Green (#677A04). oklch(53.8% 0.135 126.3), rgb(90, 123, 7).
Aa
White text reads best on this color (4.91:1).
About this color
#5A7B07 is a medium-dark, moderately saturated green. In OKLCH its lightness is 54%, its chroma 0.135 and its hue 126°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Olive Green (#677A04), ΔE 0.017 away. White text reads best on it, at 4.91:1.
| Hue family | Greens |
| Lightness | medium-dark (54%) |
| Chroma | moderately saturated (0.135) |
| Temperature | in between |
| Nearest name | Olive Green (#677A04) |
| Black text | 4.27:1 |
| White text | 4.91:1 |
Values
| HEX | #5A7B07 |
| RGB | rgb(90, 123, 7) |
| HSL | hsl(77, 89%, 25%) |
| OKLCH | oklch(53.8% 0.135 126.3) |
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 #5A7B07 | 4.91:1 | AA | Lc -79.3 | Fine for body text |
| Black text on #5A7B07 | 4.27:1 | AA large text | Lc 30.2 | Non-text elements, placeholder text |
| #5A7B07 text on white | 4.91:1 | AA | Lc 73.9 | Content text, not long reading |
| #5A7B07 text on black | 4.27:1 | AA large text | Lc -27.8 | 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
#E7ECE0
oklch(93.6% 0.017 125.3)
-
Step 200
200
#D3DEC6
oklch(88.6% 0.034 127.3)
-
Step 300
300
#B7C89E
oklch(80.9% 0.06 125.6)
-
Step 400
400
#91AC68
oklch(70.7% 0.097 126.4)
-
Step 500
500
#76973C
oklch(63.2% 0.125 126.5)
-
Step 600
600 (this color)
#5A7B07
oklch(53.8% 0.135 126.3)
-
Step 700
700
#4F6C00
oklch(49% 0.125 125.9)
-
Step 800
800
#405809
oklch(42.5% 0.103 126.3)
-
Step 900
900
#374913
oklch(37.7% 0.081 125.9)
-
Step 950
950
#202B0D
oklch(27.1% 0.052 126.4)
#5A7B07 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) | #827200 | 0.062 |
| Deuteranopia (no green cones) | #7E7018 | 0.063 |
| Tritanopia (no blue cones) | #5E7568 | 0.108 |
| Achromatopsia (no color) | #707070 | 0.135 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5A7B07
#5A7B07
oklch(53.8% 0.135 126.3)
- #8256AB
#8256AB
oklch(53.8% 0.135 306.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 #5A7B07, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Olive Green #677A04 ΔE 0.017
- Murky Green #6C7A0E ΔE 0.026
- Dark Grass Green #388004 ΔE 0.038
- Muddy Green #657432 ΔE 0.044
- Tree Green #2A7E19 ΔE 0.045
- Swamp #698339 ΔE 0.046
- Military Green #667C3E ΔE 0.046
- Sap Green #5C8B15 ΔE 0.047
Use #5A7B07 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.