#40562B
Closest named color: Pine (#2B5D34). oklch(42.4% 0.071 131.1), rgb(64, 86, 43).
Aa
White text reads best on this color (8.12:1).
About this color
#40562B is a dark, moderately saturated green. In OKLCH its lightness is 42%, its chroma 0.071 and its hue 131°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pine (#2B5D34), ΔE 0.028 away. White text reads best on it, at 8.12:1.
| Hue family | Greens |
| Lightness | dark (42%) |
| Chroma | moderately saturated (0.071) |
| Temperature | in between |
| Nearest name | Pine (#2B5D34) |
| Black text | 2.58:1 |
| White text | 8.12:1 |
Values
| HEX | #40562B |
| RGB | rgb(64, 86, 43) |
| HSL | hsl(91, 33%, 25%) |
| OKLCH | oklch(42.4% 0.071 131.1) |
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 #40562B | 8.12:1 | AAA | Lc -92.7 | Preferred for body text |
| Black text on #40562B | 2.58:1 | Fails | Lc 15.9 | Dividers and decoration only |
| #40562B text on white | 8.12:1 | AAA | Lc 88.1 | Fine for body text |
| #40562B text on black | 2.58:1 | Fails | Lc -14.1 | Not readable |
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 800.
-
Step 50
50
#F4F6F2
oklch(97.1% 0.006 128.5)
-
Step 100
100
#E7ECE3
oklch(93.7% 0.013 130.8)
-
Step 200
200
#D4DDCD
oklch(88.6% 0.024 131.2)
-
Step 300
300
#B7C7AB
oklch(81% 0.042 131.7)
-
Step 400
400
#92AA7E
oklch(70.8% 0.067 131.2)
-
Step 500
500
#77945D
oklch(63% 0.085 131.1)
-
Step 600
600
#607E43
oklch(55.5% 0.092 130.9)
-
Step 700
700
#4F6B34
oklch(49.2% 0.087 131.2)
-
Step 800
800 (this color)
#40562B
oklch(42.4% 0.071 131.1)
-
Step 900
900
#374828
oklch(37.8% 0.056 131.4)
-
Step 950
950
#202A18
oklch(27% 0.035 132)
#40562B 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) | #595127 | 0.039 |
| Deuteranopia (no green cones) | #564F2E | 0.040 |
| Tritanopia (no blue cones) | #41534C | 0.054 |
| Achromatopsia (no color) | #505050 | 0.072 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #40562B
#40562B
oklch(42.4% 0.071 131.1)
- #5B426B
#5B426B
oklch(42.3% 0.073 311.5)
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 #40562B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pine #2B5D34 ΔE 0.028
- Navy Green #35530A ΔE 0.037
- Army Green #4B5D16 ΔE 0.037
- Green Brown #544E03 ΔE 0.040
- Spruce #0A5F38 ΔE 0.046
- Camouflage Green #4B6113 ΔE 0.049
- Camo Green #526525 ΔE 0.058
- Olive Brown #645403 ΔE 0.058
Use #40562B 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.