#2D2F27
Closest named color: Pakistan Green (#283618). oklch(30% 0.014 118.7), rgb(45, 47, 39).
Aa
White text reads best on this color (13.57:1).
About this color
#2D2F27 is a dark close to neutral grey. In OKLCH its lightness is 30%, its chroma 0.014. It has too little chroma to lean warm or cool. The nearest named color is Pakistan Green (#283618), ΔE 0.041 away. White text reads best on it, at 13.57:1.
| Hue family | Neutrals |
| Lightness | dark (30%) |
| Chroma | close to neutral grey (0.014) |
| Temperature | neutral |
| Nearest name | Pakistan Green (#283618) |
| Black text | 1.54:1 |
| White text | 13.57:1 |
Values
| HEX | #2D2F27 |
| RGB | rgb(45, 47, 39) |
| HSL | hsl(75, 9%, 17%) |
| OKLCH | oklch(30% 0.014 118.7) |
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 #2D2F27 | 13.57:1 | AAA | Lc -103.2 | Preferred for body text |
| Black text on #2D2F27 | 1.54:1 | Fails | Lc 0.0 | Not readable |
| #2D2F27 text on white | 13.57:1 | AAA | Lc 100.1 | Preferred for body text |
| #2D2F27 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
#E9EAE7
oklch(93.5% 0.004 121.6)
-
Step 200
200
#D8DAD3
oklch(88.5% 0.01 119.6)
-
Step 300
300
#BFC2B6
oklch(80.8% 0.017 118.2)
-
Step 400
400
#9EA391
oklch(70.6% 0.026 119.7)
-
Step 500
500
#878D75
oklch(63.2% 0.036 118.8)
-
Step 600
600
#71775E
oklch(55.7% 0.038 118.6)
-
Step 700
700
#5E644D
oklch(49.1% 0.036 119.6)
-
Step 800
800
#4D5140
oklch(42.6% 0.028 118.3)
-
Step 900
900
#404336
oklch(37.6% 0.022 118)
-
Step 950
950 (this color)
#2D2F27
oklch(30% 0.014 118.7)
#2D2F27 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) | #302E27 | 0.006 |
| Deuteranopia (no green cones) | #302E27 | 0.006 |
| Tritanopia (no blue cones) | #2E2E2D | 0.013 |
| Achromatopsia (no color) | #2E2E2E | 0.014 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
This color is close to neutral, so it has no meaningful hue to rotate. Hue harmonies are omitted.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #2D2F27, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pakistan Green #283618 ΔE 0.041
- Jet #212529 ΔE 0.044
- Gunmetal #293241 ΔE 0.045
- Onyx #343A40 ΔE 0.051
- Space Cadet #2B2D42 ΔE 0.052
- Dark #1B2431 ΔE 0.058
- Oxford Blue #1B263B ΔE 0.063
- Dark Brown #341C02 ΔE 0.066
Use #2D2F27 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.