#407D2B
Closest named color: Tree Green (#2A7E19). oklch(53% 0.132 138.6), rgb(64, 125, 43).
Aa
White text reads best on this color (5.01:1).
About this color
#407D2B is a medium-dark, moderately saturated green. In OKLCH its lightness is 53%, its chroma 0.132 and its hue 139°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Tree Green (#2A7E19), ΔE 0.026 away. White text reads best on it, at 5.01:1.
| Hue family | Greens |
| Lightness | medium-dark (53%) |
| Chroma | moderately saturated (0.132) |
| Temperature | in between |
| Nearest name | Tree Green (#2A7E19) |
| Black text | 4.18:1 |
| White text | 5.01:1 |
Values
| HEX | #407D2B |
| RGB | rgb(64, 125, 43) |
| HSL | hsl(105, 49%, 33%) |
| OKLCH | oklch(53% 0.132 138.6) |
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 #407D2B | 5.01:1 | AA | Lc -79.8 | Fine for body text |
| Black text on #407D2B | 4.18:1 | AA large text | Lc 29.6 | Dividers and decoration only |
| #407D2B text on white | 5.01:1 | AA | Lc 74.4 | Content text, not long reading |
| #407D2B text on black | 4.18:1 | AA large text | Lc -27.3 | 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
#F3F7F2
oklch(97.2% 0.008 139.4)
-
Step 100
100
#E4EDE2
oklch(93.6% 0.017 140)
-
Step 200
200
#CFDFCA
oklch(88.6% 0.033 138.2)
-
Step 300
300
#AECAA6
oklch(80.8% 0.058 138.8)
-
Step 400
400
#82AF75
oklch(70.7% 0.095 138.8)
-
Step 500
500
#629B50
oklch(63.2% 0.122 138.6)
-
Step 600
600 (this color)
#407D2B
oklch(53% 0.132 138.6)
-
Step 700
700
#397025
oklch(49% 0.122 138.4)
-
Step 800
800
#2F5C21
oklch(42.8% 0.102 138.9)
-
Step 900
900
#2B4B20
oklch(37.6% 0.078 138.3)
-
Step 950
950
#192C13
oklch(26.9% 0.051 138.5)
#407D2B 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) | #817221 | 0.088 |
| Deuteranopia (no green cones) | #796D32 | 0.088 |
| Tritanopia (no blue cones) | #3B796C | 0.090 |
| Achromatopsia (no color) | #6F6F6F | 0.132 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #407D2B
#407D2B
oklch(53% 0.132 138.6)
- #8B509C
#8B509C
oklch(53% 0.131 318.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 #407D2B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Tree Green #2A7E19 ΔE 0.026
- Dark Grass Green #388004 ΔE 0.028
- Jungle Green #048243 ΔE 0.033
- Olive Green #677A04 ΔE 0.045
- Green #008000 ΔE 0.047
- Forest Green #228B22 ΔE 0.048
- Murky Green #6C7A0E ΔE 0.051
- Muddy Green #657432 ΔE 0.053
Use #407D2B 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.