#20542D
Closest named color: Pine (#2B5D34). oklch(40% 0.085 149.2), rgb(32, 84, 45).
Aa
White text reads best on this color (8.87:1).
About this color
#20542D is a dark, moderately saturated green. In OKLCH its lightness is 40%, its chroma 0.085 and its hue 149°. 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.87:1.
| Hue family | Greens |
| Lightness | dark (40%) |
| Chroma | moderately saturated (0.085) |
| Temperature | in between |
| Nearest name | Pine (#2B5D34) |
| Black text | 2.36:1 |
| White text | 8.87:1 |
Values
| HEX | #20542D |
| RGB | rgb(32, 84, 45) |
| HSL | hsl(135, 45%, 23%) |
| OKLCH | oklch(40% 0.085 149.2) |
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 #20542D | 8.87:1 | AAA | Lc -94.5 | Preferred for body text |
| Black text on #20542D | 2.36:1 | Fails | Lc 13.9 | Not readable |
| #20542D text on white | 8.87:1 | AAA | Lc 90.1 | Preferred for body text |
| #20542D 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
#E2EEE3
oklch(93.7% 0.019 147.8)
-
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
#71B37D
oklch(70.8% 0.104 149)
-
Step 500
500
#479F5C
oklch(63.1% 0.131 149.1)
-
Step 600
600
#208941
oklch(55.5% 0.142 149.1)
-
Step 700
700
#0E7433
oklch(49% 0.132 149.2)
-
Step 800
800
#125F2B
oklch(42.8% 0.11 149.2)
-
Step 900
900 (this color)
#20542D
oklch(40% 0.085 149.2)
-
Step 950
950
#102E17
oklch(27.1% 0.055 149.1)
#20542D 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) | #554D2A | 0.070 |
| Deuteranopia (no green cones) | #4E4830 | 0.070 |
| Tritanopia (no blue cones) | #13524A | 0.048 |
| Achromatopsia (no color) | #4A4A4A | 0.086 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #20542D
#20542D
oklch(40% 0.085 149.2)
- #60355E
#60355E
oklch(39.9% 0.086 328.7)
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 #20542D, 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.035
- Forest #0B5509 ΔE 0.042
- Deep Green #02590F ΔE 0.045
- Pine Green #0A481E ΔE 0.047
- Dark Blue Green #005249 ΔE 0.047
- Evergreen #05472A ΔE 0.050
Use #20542D 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.