#2E2F27
Closest named color: Pakistan Green (#283618). oklch(30.1% 0.014 113), rgb(46, 47, 39).
Aa
White text reads best on this color (13.53:1).
About this color
#2E2F27 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.53:1.
| Hue family | Neutrals |
| Lightness | dark (30%) |
| Chroma | close to neutral grey (0.014) |
| Temperature | neutral |
| Nearest name | Pakistan Green (#283618) |
| Black text | 1.55:1 |
| White text | 13.53:1 |
Values
| HEX | #2E2F27 |
| RGB | rgb(46, 47, 39) |
| HSL | hsl(68, 9%, 17%) |
| OKLCH | oklch(30.1% 0.014 113) |
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 #2E2F27 | 13.53:1 | AAA | Lc -103.2 | Preferred for body text |
| Black text on #2E2F27 | 1.55:1 | Fails | Lc 0.0 | Not readable |
| #2E2F27 text on white | 13.53:1 | AAA | Lc 100.0 | Preferred for body text |
| #2E2F27 text on black | 1.55: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
#F5F5F4
oklch(97% 0.001 106.4)
-
Step 100
100
#EAEAE7
oklch(93.6% 0.004 106.5)
-
Step 200
200
#D9DAD3
oklch(88.6% 0.01 113.2)
-
Step 300
300
#C0C2B6
oklch(80.9% 0.017 114.4)
-
Step 400
400
#A0A390
oklch(70.8% 0.027 114.4)
-
Step 500
500
#898C75
oklch(63.1% 0.033 113.4)
-
Step 600
600
#73765D
oklch(55.6% 0.037 113.2)
-
Step 700
700
#60634D
oklch(49.1% 0.034 114)
-
Step 800
800
#4F513F
oklch(42.8% 0.029 112.8)
-
Step 900
900
#414336
oklch(37.7% 0.022 114.5)
-
Step 950
950 (this color)
#2E2F27
oklch(30.1% 0.014 113)
#2E2F27 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.005 |
| Deuteranopia (no green cones) | #302E27 | 0.005 |
| Tritanopia (no blue cones) | #2F2E2D | 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 #2E2F27, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pakistan Green #283618 ΔE 0.041
- Gunmetal #293241 ΔE 0.044
- Jet #212529 ΔE 0.045
- Onyx #343A40 ΔE 0.051
- Space Cadet #2B2D42 ΔE 0.052
- Dark #1B2431 ΔE 0.059
- Oxford Blue #1B263B ΔE 0.064
- Dark Brown #341C02 ΔE 0.066
Use #2E2F27 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.