#40562A
Closest named color: Pine (#2B5D34). oklch(42.3% 0.073 130.7), rgb(64, 86, 42).
Aa
White text reads best on this color (8.13:1).
About this color
#40562A is a dark, moderately saturated green. In OKLCH its lightness is 42%, its chroma 0.073 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.13:1.
| Hue family | Greens |
| Lightness | dark (42%) |
| Chroma | moderately saturated (0.073) |
| Temperature | in between |
| Nearest name | Pine (#2B5D34) |
| Black text | 2.58:1 |
| White text | 8.13:1 |
Values
| HEX | #40562A |
| RGB | rgb(64, 86, 42) |
| HSL | hsl(90, 34%, 25%) |
| OKLCH | oklch(42.3% 0.073 130.7) |
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 #40562A | 8.13:1 | AAA | Lc -92.7 | Preferred for body text |
| Black text on #40562A | 2.58:1 | Fails | Lc 15.9 | Dividers and decoration only |
| #40562A text on white | 8.13:1 | AAA | Lc 88.1 | Fine for body text |
| #40562A 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
#B7C7AA
oklch(81% 0.044 131)
-
Step 400
400
#92AA7D
oklch(70.8% 0.069 130.8)
-
Step 500
500
#77945C
oklch(63% 0.086 130.8)
-
Step 600
600
#607E41
oklch(55.5% 0.094 130.4)
-
Step 700
700
#4F6B33
oklch(49.2% 0.088 130.9)
-
Step 800
800 (this color)
#40562A
oklch(42.3% 0.073 130.7)
-
Step 900
900
#374827
oklch(37.8% 0.057 130.9)
-
Step 950
950
#202A17
oklch(26.9% 0.036 131.1)
#40562A 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) | #595126 | 0.039 |
| Deuteranopia (no green cones) | #564F2D | 0.040 |
| Tritanopia (no blue cones) | #41534C | 0.055 |
| Achromatopsia (no color) | #4F4F4F | 0.073 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #40562A
#40562A
oklch(42.3% 0.073 130.7)
- #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 #40562A, 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.036
- Army Green #4B5D16 ΔE 0.037
- Green Brown #544E03 ΔE 0.039
- Spruce #0A5F38 ΔE 0.046
- Camouflage Green #4B6113 ΔE 0.048
- Camo Green #526525 ΔE 0.057
- Olive Brown #645403 ΔE 0.058
Use #40562A 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.