#2C2F22
Closest named color: Pakistan Green (#283618). oklch(29.8% 0.023 118.4), rgb(44, 47, 34).
Aa
White text reads best on this color (13.66:1).
About this color
#2C2F22 is a dark close to neutral grey. In OKLCH its lightness is 30%, its chroma 0.023. It has too little chroma to lean warm or cool. The nearest named color is Pakistan Green (#283618), ΔE 0.034 away. White text reads best on it, at 13.66:1.
| Hue family | Neutrals |
| Lightness | dark (30%) |
| Chroma | close to neutral grey (0.023) |
| Temperature | neutral |
| Nearest name | Pakistan Green (#283618) |
| Black text | 1.53:1 |
| White text | 13.66:1 |
Values
| HEX | #2C2F22 |
| RGB | rgb(44, 47, 34) |
| HSL | hsl(74, 16%, 16%) |
| OKLCH | oklch(29.8% 0.023 118.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 #2C2F22 | 13.66:1 | AAA | Lc -103.3 | Preferred for body text |
| Black text on #2C2F22 | 1.53:1 | Fails | Lc 0.0 | Not readable |
| #2C2F22 text on white | 13.66:1 | AAA | Lc 100.2 | Preferred for body text |
| #2C2F22 text on black | 1.53: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
#F5F6F3
oklch(97.2% 0.004 121.6)
-
Step 100
100
#E9EBE5
oklch(93.7% 0.008 121.6)
-
Step 200
200
#D8DBD0
oklch(88.6% 0.015 119.1)
-
Step 300
300
#BEC3B0
oklch(80.8% 0.027 119)
-
Step 400
400
#9EA586
oklch(70.8% 0.044 117.9)
-
Step 500
500
#868E68
oklch(63% 0.055 117.7)
-
Step 600
600
#707850
oklch(55.5% 0.059 117.6)
-
Step 700
700
#5D6540
oklch(49% 0.056 118.5)
-
Step 800
800
#4C5335
oklch(42.8% 0.047 119.1)
-
Step 900
900
#40442E
oklch(37.6% 0.036 116.5)
-
Step 950
950 (this color)
#2C2F22
oklch(29.8% 0.023 118.4)
#2C2F22 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) | #312E21 | 0.009 |
| Deuteranopia (no green cones) | #302E23 | 0.008 |
| Tritanopia (no blue cones) | #2D2E2B | 0.017 |
| Achromatopsia (no color) | #2E2E2E | 0.023 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #2C2F22
#2C2F22
oklch(29.8% 0.023 118.4)
- #2F2B37
#2F2B37
oklch(29.8% 0.022 300.3)
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 #2C2F22, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pakistan Green #283618 ΔE 0.034
- Jet #212529 ΔE 0.047
- Gunmetal #293241 ΔE 0.053
- Onyx #343A40 ΔE 0.058
- Space Cadet #2B2D42 ΔE 0.060
- Dark #1B2431 ΔE 0.062
- Dark Brown #341C02 ΔE 0.063
- Oxford Blue #1B263B ΔE 0.069
Use #2C2F22 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.