#2D2F26
Closest named color: Pakistan Green (#283618). oklch(30% 0.016 117.5), rgb(45, 47, 38).
Aa
White text reads best on this color (13.58:1).
About this color
#2D2F26 is a dark close to neutral grey. In OKLCH its lightness is 30%, its chroma 0.016. It has too little chroma to lean warm or cool. The nearest named color is Pakistan Green (#283618), ΔE 0.039 away. White text reads best on it, at 13.58:1.
| Hue family | Neutrals |
| Lightness | dark (30%) |
| Chroma | close to neutral grey (0.016) |
| Temperature | neutral |
| Nearest name | Pakistan Green (#283618) |
| Black text | 1.54:1 |
| White text | 13.58:1 |
Values
| HEX | #2D2F26 |
| RGB | rgb(45, 47, 38) |
| HSL | hsl(73, 11%, 17%) |
| OKLCH | oklch(30% 0.016 117.5) |
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 #2D2F26 | 13.58:1 | AAA | Lc -103.2 | Preferred for body text |
| Black text on #2D2F26 | 1.54:1 | Fails | Lc 0.0 | Not readable |
| #2D2F26 text on white | 13.58:1 | AAA | Lc 100.1 | Preferred for body text |
| #2D2F26 text on black | 1.54: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
#E9EAE6
oklch(93.5% 0.005 117.9)
-
Step 200
200
#D8DAD2
oklch(88.5% 0.011 118)
-
Step 300
300
#BFC2B5
oklch(80.8% 0.018 117.4)
-
Step 400
400
#9FA38E
oklch(70.6% 0.03 115.9)
-
Step 500
500
#878D73
oklch(63.1% 0.038 118.1)
-
Step 600
600
#71775B
oklch(55.6% 0.042 117.6)
-
Step 700
700
#5F644B
oklch(49.2% 0.039 117)
-
Step 800
800
#4D523D
oklch(42.8% 0.034 118.7)
-
Step 900
900
#404434
oklch(37.8% 0.027 119.1)
-
Step 950
950 (this color)
#2D2F26
oklch(30% 0.016 117.5)
#2D2F26 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) | #302E25 | 0.006 |
| Deuteranopia (no green cones) | #302E26 | 0.006 |
| Tritanopia (no blue cones) | #2E2E2C | 0.013 |
| Achromatopsia (no color) | #2E2E2E | 0.016 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #2D2F26
#2D2F26
oklch(30% 0.016 117.5)
- #2F2C35
#2F2C35
oklch(30% 0.017 300.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 #2D2F26, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pakistan Green #283618 ΔE 0.039
- Jet #212529 ΔE 0.045
- Gunmetal #293241 ΔE 0.046
- Onyx #343A40 ΔE 0.052
- Space Cadet #2B2D42 ΔE 0.054
- Dark #1B2431 ΔE 0.059
- Oxford Blue #1B263B ΔE 0.064
- Dark Brown #341C02 ΔE 0.066
Use #2D2F26 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.