#20342B
Closest named color: Pakistan Green (#283618). oklch(30.5% 0.031 164.6), rgb(32, 52, 43).
Aa
White text reads best on this color (13.22:1).
About this color
#20342B is a dark, muted green. In OKLCH its lightness is 30%, its chroma 0.031 and its hue 165°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pakistan Green (#283618), ΔE 0.034 away. White text reads best on it, at 13.22:1.
| Hue family | Greens |
| Lightness | dark (30%) |
| Chroma | muted (0.031) |
| Temperature | in between |
| Nearest name | Pakistan Green (#283618) |
| Black text | 1.58:1 |
| White text | 13.22:1 |
Values
| HEX | #20342B |
| RGB | rgb(32, 52, 43) |
| HSL | hsl(153, 24%, 16%) |
| OKLCH | oklch(30.5% 0.031 164.6) |
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 #20342B | 13.22:1 | AAA | Lc -102.8 | Preferred for body text |
| Black text on #20342B | 1.58:1 | Fails | Lc 0.0 | Not readable |
| #20342B text on white | 13.22:1 | AAA | Lc 99.5 | Preferred for body text |
| #20342B text on black | 1.58:1 | Fails | Lc 0.0 | 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 950.
-
Step 50
50
#F3F6F4
oklch(97% 0.004 157.2)
-
Step 100
100
#E4ECE8
oklch(93.6% 0.01 164.9)
-
Step 200
200
#CEDED6
oklch(88.6% 0.02 164.5)
-
Step 300
300
#ACC8BB
oklch(80.8% 0.035 165.8)
-
Step 400
400
#7FAD97
oklch(70.8% 0.059 163.8)
-
Step 500
500
#5C987E
oklch(63.1% 0.075 164.8)
-
Step 600
600
#408267
oklch(55.5% 0.081 164.8)
-
Step 700
700
#326E56
oklch(49.1% 0.074 164.9)
-
Step 800
800
#2A5A46
oklch(42.8% 0.063 164.3)
-
Step 900
900
#274A3B
oklch(37.8% 0.049 164.6)
-
Step 950
950 (this color)
#20342B
oklch(30.5% 0.031 164.6)
#20342B 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) | #33312B | 0.031 |
| Deuteranopia (no green cones) | #302F2C | 0.030 |
| Tritanopia (no blue cones) | #1B3431 | 0.012 |
| Achromatopsia (no color) | #303030 | 0.031 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #20342B
#20342B
oklch(30.5% 0.031 164.6)
- #3A2933
#3A2933
oklch(30.5% 0.03 342.9)
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 #20342B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pakistan Green #283618 ΔE 0.034
- Gunmetal #293241 ΔE 0.046
- Onyx #343A40 ΔE 0.052
- Jet #212529 ΔE 0.053
- Midnight Green #073B4C ΔE 0.057
- Space Cadet #2B2D42 ΔE 0.058
- Dark Blue Grey #1F3B4D ΔE 0.059
- Dark #1B2431 ΔE 0.063
Use #20342B 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.