#2F342A
Closest named color: Pakistan Green (#283618). oklch(31.7% 0.019 129.1), rgb(47, 52, 42).
Aa
White text reads best on this color (12.76:1).
About this color
#2F342A is a dark close to neutral grey. In OKLCH its lightness is 32%, its chroma 0.019. It has too little chroma to lean warm or cool. The nearest named color is Pakistan Green (#283618), ΔE 0.035 away. White text reads best on it, at 12.76:1.
| Hue family | Neutrals |
| Lightness | dark (32%) |
| Chroma | close to neutral grey (0.019) |
| Temperature | neutral |
| Nearest name | Pakistan Green (#283618) |
| Black text | 1.64:1 |
| White text | 12.76:1 |
Values
| HEX | #2F342A |
| RGB | rgb(47, 52, 42) |
| HSL | hsl(90, 11%, 18%) |
| OKLCH | oklch(31.7% 0.019 129.1) |
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 #2F342A | 12.76:1 | AAA | Lc -102.2 | Preferred for body text |
| Black text on #2F342A | 1.64:1 | Fails | Lc 0.0 | Not readable |
| #2F342A text on white | 12.76:1 | AAA | Lc 98.9 | Preferred for body text |
| #2F342A text on black | 1.64: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
#F5F6F4
oklch(97.2% 0.003 128.5)
-
Step 100
100
#E8EBE6
oklch(93.6% 0.007 132.4)
-
Step 200
200
#D6DBD2
oklch(88.5% 0.013 130.8)
-
Step 300
300
#BCC4B5
oklch(81% 0.022 130.1)
-
Step 400
400
#9AA58E
oklch(70.7% 0.035 128.2)
-
Step 500
500
#818F72
oklch(63.1% 0.045 128.6)
-
Step 600
600
#6A795B
oklch(55.5% 0.048 129.5)
-
Step 700
700
#59664A
oklch(49.1% 0.046 128.2)
-
Step 800
800
#48533D
oklch(42.6% 0.038 129.5)
-
Step 900
900
#3D4534
oklch(37.8% 0.03 128.3)
-
Step 950
950 (this color)
#2F342A
oklch(31.7% 0.019 129.1)
#2F342A 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) | #353329 | 0.010 |
| Deuteranopia (no green cones) | #34322A | 0.010 |
| Tritanopia (no blue cones) | #2F3331 | 0.014 |
| Achromatopsia (no color) | #323232 | 0.019 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #2F342A
#2F342A
oklch(31.7% 0.019 129.1)
- #353039
#353039
oklch(31.8% 0.017 310.2)
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 #2F342A, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pakistan Green #283618 ΔE 0.035
- Onyx #343A40 ΔE 0.040
- Gunmetal #293241 ΔE 0.044
- Space Cadet #2B2D42 ΔE 0.056
- Charcoal Grey #3C4142 ΔE 0.057
- Dark Blue Grey #1F3B4D ΔE 0.060
- Jet #212529 ΔE 0.060
- Midnight Green #073B4C ΔE 0.065
Use #2F342A 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.