#406540
Closest named color: Camo Green (#526525). oklch(46.8% 0.072 144.3), rgb(64, 101, 64).
Aa
White text reads best on this color (6.65:1).
About this color
#406540 is a medium-dark, moderately saturated green. In OKLCH its lightness is 47%, its chroma 0.072 and its hue 144°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Camo Green (#526525), ΔE 0.036 away. White text reads best on it, at 6.65:1.
| Hue family | Greens |
| Lightness | medium-dark (47%) |
| Chroma | moderately saturated (0.072) |
| Temperature | in between |
| Nearest name | Camo Green (#526525) |
| Black text | 3.15:1 |
| White text | 6.65:1 |
Values
| HEX | #406540 |
| RGB | rgb(64, 101, 64) |
| HSL | hsl(120, 22%, 32%) |
| OKLCH | oklch(46.8% 0.072 144.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 #406540 | 6.65:1 | AA | Lc -87.9 | Fine for body text |
| Black text on #406540 | 3.15:1 | AA large text | Lc 21.2 | Dividers and decoration only |
| #406540 text on white | 6.65:1 | AA | Lc 82.8 | Fine for body text |
| #406540 text on black | 3.15:1 | AA large text | Lc -19.1 | 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 700.
-
Step 50
50
#F4F6F3
oklch(97.1% 0.004 134.8)
-
Step 100
100
#E6ECE6
oklch(93.7% 0.01 145.5)
-
Step 200
200
#D2DDD1
oklch(88.6% 0.02 143)
-
Step 300
300
#B3C7B3
oklch(80.9% 0.035 145.2)
-
Step 400
400
#8CAA8B
oklch(70.7% 0.055 144.1)
-
Step 500
500
#6F956E
oklch(63.1% 0.071 144)
-
Step 600
600
#567F56
oklch(55.5% 0.077 144.4)
-
Step 700
700 (this color)
#406540
oklch(46.8% 0.072 144.3)
-
Step 800
800
#3A583A
oklch(42.8% 0.06 144.4)
-
Step 900
900
#324832
oklch(37.6% 0.046 144.6)
-
Step 950
950
#1E2A1D
oklch(26.9% 0.029 142.8)
#406540 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) | #675F3E | 0.056 |
| Deuteranopia (no green cones) | #615B42 | 0.055 |
| Tritanopia (no blue cones) | #3C635B | 0.044 |
| Achromatopsia (no color) | #5C5C5C | 0.073 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #406540
#406540
oklch(46.8% 0.072 144.3)
- #6F4C71
#6F4C71
oklch(46.9% 0.072 324.8)
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 #406540, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Camo Green #526525 ΔE 0.036
- Pine #2B5D34 ΔE 0.039
- Dark Olive Green #556B2F ΔE 0.041
- Army Green #4B5D16 ΔE 0.044
- Camouflage Green #4B6113 ΔE 0.045
- Dark Green Blue #1F6357 ΔE 0.045
- Spruce #0A5F38 ΔE 0.051
- Dark Moss Green #606C38 ΔE 0.051
Use #406540 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.