#20542E
Closest named color: Pine (#2B5D34). oklch(40% 0.084 149.8), rgb(32, 84, 46).
Aa
White text reads best on this color (8.86:1).
About this color
#20542E is a dark, moderately saturated green. In OKLCH its lightness is 40%, its chroma 0.084 and its hue 150°. 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.86:1.
| Hue family | Greens |
| Lightness | dark (40%) |
| Chroma | moderately saturated (0.084) |
| Temperature | in between |
| Nearest name | Pine (#2B5D34) |
| Black text | 2.36:1 |
| White text | 8.86:1 |
Values
| HEX | #20542E |
| RGB | rgb(32, 84, 46) |
| HSL | hsl(136, 45%, 23%) |
| OKLCH | oklch(40% 0.084 149.8) |
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 #20542E | 8.86:1 | AAA | Lc -94.5 | Preferred for body text |
| Black text on #20542E | 2.36:1 | Fails | Lc 13.9 | Not readable |
| #20542E text on white | 8.86:1 | AAA | Lc 90.1 | Preferred for body text |
| #20542E text on black | 2.36:1 | Fails | Lc -12.2 | 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 900.
-
Step 50
50
#F2F7F2
oklch(97.1% 0.008 145.5)
-
Step 100
100
#E2EDE3
oklch(93.5% 0.018 148.1)
-
Step 200
200
#CAE0CD
oklch(88.5% 0.035 149.3)
-
Step 300
300
#A4CDAB
oklch(80.9% 0.064 149.8)
-
Step 400
400
#71B27F
oklch(70.6% 0.1 150.1)
-
Step 500
500
#469F5E
oklch(63.1% 0.129 150)
-
Step 600
600
#1F8943
oklch(55.5% 0.141 149.8)
-
Step 700
700
#0D7435
oklch(49% 0.13 149.9)
-
Step 800
800
#125F2C
oklch(42.8% 0.109 149.6)
-
Step 900
900 (this color)
#20542E
oklch(40% 0.084 149.8)
-
Step 950
950
#102E18
oklch(27.1% 0.054 150.1)
#20542E 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) | #554D2B | 0.070 |
| Deuteranopia (no green cones) | #4E4830 | 0.069 |
| Tritanopia (no blue cones) | #13524B | 0.048 |
| Achromatopsia (no color) | #4A4A4A | 0.085 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #20542E
#20542E
oklch(40% 0.084 149.8)
- #61365D
#61365D
oklch(40.1% 0.084 330.4)
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 #20542E, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pine #2B5D34 ΔE 0.032
- Spruce #0A5F38 ΔE 0.034
- Navy Green #35530A ΔE 0.036
- Forest #0B5509 ΔE 0.044
- Dark Blue Green #005249 ΔE 0.046
- Deep Green #02590F ΔE 0.046
- Pine Green #0A481E ΔE 0.047
- Evergreen #05472A ΔE 0.050
Use #20542E 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.