#2A5945
Closest named color: Pine (#2B5D34). oklch(42.4% 0.062 163.9), rgb(42, 89, 69).
Aa
White text reads best on this color (8.03:1).
About this color
#2A5945 is a dark, muted green. In OKLCH its lightness is 42%, its chroma 0.062 and its hue 164°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pine (#2B5D34), ΔE 0.032 away. White text reads best on it, at 8.03:1.
| Hue family | Greens |
| Lightness | dark (42%) |
| Chroma | muted (0.062) |
| Temperature | in between |
| Nearest name | Pine (#2B5D34) |
| Black text | 2.61:1 |
| White text | 8.03:1 |
Values
| HEX | #2A5945 |
| RGB | rgb(42, 89, 69) |
| HSL | hsl(154, 36%, 26%) |
| OKLCH | oklch(42.4% 0.062 163.9) |
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 #2A5945 | 8.03:1 | AAA | Lc -92.4 | Preferred for body text |
| Black text on #2A5945 | 2.61:1 | Fails | Lc 16.3 | Dividers and decoration only |
| #2A5945 text on white | 8.03:1 | AAA | Lc 87.7 | Fine for body text |
| #2A5945 text on black | 2.61:1 | Fails | Lc -14.4 | 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
#F3F6F4
oklch(97% 0.004 157.2)
-
Step 100
100
#E4ECE8
oklch(93.6% 0.01 164.9)
-
Step 200
200
#CEDED5
oklch(88.6% 0.021 161.4)
-
Step 300
300
#ACC8BA
oklch(80.8% 0.036 163.9)
-
Step 400
400
#7FAC97
oklch(70.6% 0.057 164.5)
-
Step 500
500
#5D987D
oklch(63.1% 0.075 163.5)
-
Step 600
600
#418266
oklch(55.5% 0.081 163.7)
-
Step 700
700
#326E55
oklch(49.1% 0.075 164)
-
Step 800
800 (this color)
#2A5945
oklch(42.4% 0.062 163.9)
-
Step 900
900
#274A3B
oklch(37.8% 0.049 164.6)
-
Step 950
950
#182B22
oklch(26.9% 0.03 163)
#2A5945 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) | #585344 | 0.062 |
| Deuteranopia (no green cones) | #504E46 | 0.059 |
| Tritanopia (no blue cones) | #1B5953 | 0.024 |
| Achromatopsia (no color) | #505050 | 0.062 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #2A5945
#2A5945
oklch(42.4% 0.062 163.9)
- #664057
#664057
oklch(42.4% 0.062 343.1)
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 #2A5945, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pine #2B5D34 ΔE 0.032
- Dark Green Blue #1F6357 ΔE 0.035
- Dark Blue Green #005249 ΔE 0.038
- Spruce #0A5F38 ΔE 0.039
- Dark Slate Gray #2F4F4F ΔE 0.042
- Deep Teal #00555A ΔE 0.046
- Dark Teal #014D4E ΔE 0.056
- Petrol #005F6A ΔE 0.058
Use #2A5945 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.