#2F2B18

Closest named color: Pakistan Green (#283618). oklch(28.8% 0.032 97.8), rgb(47, 43, 24).

Aa

White text reads best on this color (14.19:1).

About this color

#2F2B18 is a dark, muted brown. In OKLCH its lightness is 29%, its chroma 0.032 and its hue 98°. Its hue sits on the warm side of the wheel. The nearest named color is Pakistan Green (#283618), ΔE 0.039 away. White text reads best on it, at 14.19:1.

Hue familyBrowns
Lightnessdark (29%)
Chromamuted (0.032)
Temperaturewarm
Nearest namePakistan Green (#283618)
Black text1.47:1
White text14.19:1

Values

HEX#2F2B18
RGBrgb(47, 43, 24)
HSLhsl(50, 32%, 14%)
OKLCHoklch(28.8% 0.032 97.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.

PairWCAG 2ResultAPCAAPCA guidance
White text on #2F2B18 14.19:1 AAA Lc -103.9 Preferred for body text
Black text on #2F2B18 1.47:1 Fails Lc 0.0 Not readable
#2F2B18 text on white 14.19:1 AAA Lc 100.9 Preferred for body text
#2F2B18 text on black 1.47: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.

  1. Step 50

    50

    #F6F5F2

    oklch(97% 0.004 91.4)

  2. Step 100

    100

    #ECEAE2

    oklch(93.6% 0.011 95.2)

  3. Step 200

    200

    #DDDACA

    oklch(88.6% 0.022 98.1)

  4. Step 300

    300

    #C7C1A6

    oklch(80.9% 0.037 96.8)

  5. Step 400

    400

    #ABA175

    oklch(70.6% 0.061 96.8)

  6. Step 500

    500

    #968A51

    oklch(63.1% 0.078 97.8)

  7. Step 600

    600

    #817435

    oklch(55.7% 0.085 97.8)

  8. Step 700

    700

    #6D6127

    oklch(49.2% 0.079 97.7)

  9. Step 800

    800

    #594F22

    oklch(42.7% 0.065 97)

  10. Step 900

    900

    #494221

    oklch(37.8% 0.051 97.6)

  11. Step 950

    950 (this color)

    #2F2B18

    oklch(28.8% 0.032 97.8)

Export this scale for Tailwind in the Tailwind colors tool

#2F2B18 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.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#2F2A170.003
Deuteranopia (no green cones)#302B190.003
Tritanopia (no blue cones)#3228260.030
Achromatopsia (no color)#2B2B2B0.032

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #2F2B18

    #2F2B18

    oklch(28.8% 0.032 97.8)

  • #27293B

    #27293B

    oklch(28.7% 0.033 279.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F2B18

    #2F2B18

    oklch(28.8% 0.032 97.8)

  • #362819

    #362819

    oklch(28.9% 0.033 67.9)

  • #262E1C

    #262E1C

    oklch(28.8% 0.033 127.8)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #2F2B18

    #2F2B18

    oklch(28.8% 0.032 97.8)

  • #1E2C3A

    #1E2C3A

    oklch(28.7% 0.032 249)

  • #2F2737

    #2F2737

    oklch(28.9% 0.031 307.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F2B18

    #2F2B18

    oklch(28.8% 0.032 97.8)

  • #172F35

    #172F35

    oklch(28.8% 0.032 215.7)

  • #352530

    #352530

    oklch(28.8% 0.03 338.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F2B18

    #2F2B18

    oklch(28.8% 0.032 97.8)

  • #16302E

    #16302E

    oklch(28.8% 0.032 189.1)

  • #27293B

    #27293B

    oklch(28.7% 0.033 279.2)

  • #392428

    #392428

    oklch(28.8% 0.033 6.8)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #2F2B18, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #2F2B18 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.