#20342D
Closest named color: Pakistan Green (#283618). oklch(30.5% 0.029 170.4), rgb(32, 52, 45).
Aa
White text reads best on this color (13.20:1).
About this color
#20342D is a dark close to neutral grey. In OKLCH its lightness is 31%, its chroma 0.029. It has too little chroma to lean warm or cool. The nearest named color is Pakistan Green (#283618), ΔE 0.037 away. White text reads best on it, at 13.20:1.
| Hue family | Neutrals |
| Lightness | dark (31%) |
| Chroma | close to neutral grey (0.029) |
| Temperature | neutral |
| Nearest name | Pakistan Green (#283618) |
| Black text | 1.59:1 |
| White text | 13.20:1 |
Values
| HEX | #20342D |
| RGB | rgb(32, 52, 45) |
| HSL | hsl(159, 24%, 16%) |
| OKLCH | oklch(30.5% 0.029 170.4) |
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 #20342D | 13.20:1 | AAA | Lc -102.7 | Preferred for body text |
| Black text on #20342D | 1.59:1 | Fails | Lc 0.0 | Not readable |
| #20342D text on white | 13.20:1 | AAA | Lc 99.5 | Preferred for body text |
| #20342D text on black | 1.59: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
#F3F6F5
oklch(97.1% 0.003 174.5)
-
Step 100
100
#E4ECE9
oklch(93.6% 0.009 171.8)
-
Step 200
200
#CEDDD7
oklch(88.5% 0.018 170)
-
Step 300
300
#ACC8BD
oklch(80.9% 0.034 169.8)
-
Step 400
400
#7EAC9C
oklch(70.7% 0.055 171.2)
-
Step 500
500
#5C9783
oklch(63% 0.069 170.4)
-
Step 600
600
#40826D
oklch(55.7% 0.076 170.4)
-
Step 700
700
#316E5B
oklch(49.2% 0.071 170.4)
-
Step 800
800
#2A594A
oklch(42.6% 0.058 170.4)
-
Step 900
900
#274A3E
oklch(37.9% 0.046 169.7)
-
Step 950
950 (this color)
#20342D
oklch(30.5% 0.029 170.4)
#20342D 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) | #33312D | 0.030 |
| Deuteranopia (no green cones) | #2F2F2D | 0.028 |
| Tritanopia (no blue cones) | #1B3432 | 0.010 |
| Achromatopsia (no color) | #303030 | 0.029 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #20342D
#20342D
oklch(30.5% 0.029 170.4)
- #3B2931
#3B2931
oklch(30.5% 0.03 350.6)
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 #20342D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pakistan Green #283618 ΔE 0.037
- Gunmetal #293241 ΔE 0.043
- Onyx #343A40 ΔE 0.049
- Jet #212529 ΔE 0.052
- Midnight Green #073B4C ΔE 0.054
- Space Cadet #2B2D42 ΔE 0.055
- Dark Blue Grey #1F3B4D ΔE 0.056
- Dark #1B2431 ΔE 0.062
Use #20342D 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.