#2D2F18
Closest named color: Pakistan Green (#283618). oklch(29.7% 0.038 112.8), rgb(45, 47, 24).
Aa
White text reads best on this color (13.71:1).
About this color
#2D2F18 is a dark, muted brown. In OKLCH its lightness is 30%, its chroma 0.038 and its hue 113°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pakistan Green (#283618), ΔE 0.025 away. White text reads best on it, at 13.71:1.
| Hue family | Browns |
| Lightness | dark (30%) |
| Chroma | muted (0.038) |
| Temperature | in between |
| Nearest name | Pakistan Green (#283618) |
| Black text | 1.53:1 |
| White text | 13.71:1 |
Values
| HEX | #2D2F18 |
| RGB | rgb(45, 47, 24) |
| HSL | hsl(65, 32%, 14%) |
| OKLCH | oklch(29.7% 0.038 112.8) |
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 #2D2F18 | 13.71:1 | AAA | Lc -103.3 | Preferred for body text |
| Black text on #2D2F18 | 1.53:1 | Fails | Lc 0.0 | Not readable |
| #2D2F18 text on white | 13.71:1 | AAA | Lc 100.3 | Preferred for body text |
| #2D2F18 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
#F5F6F1
oklch(97.1% 0.007 115.7)
-
Step 100
100
#EAEBE1
oklch(93.7% 0.013 111.3)
-
Step 200
200
#D9DBC9
oklch(88.5% 0.024 112)
-
Step 300
300
#C0C4A3
oklch(80.8% 0.045 113)
-
Step 400
400
#A1A671
oklch(70.8% 0.073 112.6)
-
Step 500
500
#8A8F4B
oklch(63% 0.091 112.4)
-
Step 600
600
#74792C
oklch(55.6% 0.1 112.7)
-
Step 700
700
#61661E
oklch(49.1% 0.094 113.2)
-
Step 800
800
#4F531B
oklch(42.6% 0.078 113.1)
-
Step 900
900
#42451D
oklch(37.8% 0.06 112.8)
-
Step 950
950 (this color)
#2D2F18
oklch(29.7% 0.038 112.8)
#2D2F18 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) | #322D16 | 0.010 |
| Deuteranopia (no green cones) | #322E19 | 0.010 |
| Tritanopia (no blue cones) | #302D29 | 0.032 |
| Achromatopsia (no color) | #2D2D2D | 0.038 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #2D2F18
#2D2F18
oklch(29.7% 0.038 112.8)
- #2D293E
#2D293E
oklch(29.5% 0.038 292.7)
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 #2D2F18, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pakistan Green #283618 ΔE 0.025
- Jet #212529 ΔE 0.057
- Dark Brown #341C02 ΔE 0.059
- Very Dark Green #062E03 ΔE 0.062
- Dark Olive #373E02 ΔE 0.063
- Dark Forest Green #002D04 ΔE 0.067
- Gunmetal #293241 ΔE 0.068
- Onyx #343A40 ΔE 0.069
Use #2D2F18 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.