#2F2F17

Closest named color: Pakistan Green (#283618). oklch(29.8% 0.039 108.6), rgb(47, 47, 23).

Aa

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

About this color

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

Hue familyBrowns
Lightnessdark (30%)
Chromamuted (0.039)
Temperaturewarm
Nearest namePakistan Green (#283618)
Black text1.53:1
White text13.63:1

Values

HEX#2F2F17
RGBrgb(47, 47, 23)
HSLhsl(60, 34%, 14%)
OKLCHoklch(29.8% 0.039 108.6)

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 #2F2F17 13.63:1 AAA Lc -103.3 Preferred for body text
Black text on #2F2F17 1.53:1 Fails Lc 0.0 Not readable
#2F2F17 text on white 13.63:1 AAA Lc 100.2 Preferred for body text
#2F2F17 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.

  1. Step 50

    50

    #F6F6F1

    oklch(97.2% 0.007 106.5)

  2. Step 100

    100

    #EAEBE1

    oklch(93.7% 0.013 111.3)

  3. Step 200

    200

    #DADBC8

    oklch(88.5% 0.026 109.4)

  4. Step 300

    300

    #C3C3A1

    oklch(80.8% 0.046 107.4)

  5. Step 400

    400

    #A4A56E

    oklch(70.8% 0.075 109)

  6. Step 500

    500

    #8E8E46

    oklch(63.1% 0.095 108.8)

  7. Step 600

    600

    #797825

    oklch(55.7% 0.103 108.7)

  8. Step 700

    700

    #666417

    oklch(49% 0.095 107.9)

  9. Step 800

    800

    #535216

    oklch(42.7% 0.08 108.4)

  10. Step 900

    900

    #44441A

    oklch(37.7% 0.061 109)

  11. Step 950

    950 (this color)

    #2F2F17

    oklch(29.8% 0.039 108.6)

Export this scale for Tailwind in the Tailwind colors tool

#2F2F17 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)#322D150.008
Deuteranopia (no green cones)#332E180.008
Tritanopia (no blue cones)#322C290.035
Achromatopsia (no color)#2E2E2E0.039

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F2F17

    #2F2F17

    oklch(29.8% 0.039 108.6)

  • #2C2A40

    #2C2A40

    oklch(29.7% 0.04 287.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F2F17

    #2F2F17

    oklch(29.8% 0.039 108.6)

  • #382B16

    #382B16

    oklch(29.8% 0.039 78.4)

  • #23321F

    #23321F

    oklch(29.8% 0.039 139.2)

Open the analogous palette in the generator

Split complementary

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

  • #2F2F17

    #2F2F17

    oklch(29.8% 0.039 108.6)

  • #212E41

    #212E41

    oklch(29.9% 0.039 257.8)

  • #36273A

    #36273A

    oklch(29.8% 0.039 319.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F2F17

    #2F2F17

    oklch(29.8% 0.039 108.6)

  • #16313D

    #16313D

    oklch(29.8% 0.039 229)

  • #3C2531

    #3C2531

    oklch(29.8% 0.04 347.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F2F17

    #2F2F17

    oklch(29.8% 0.039 108.6)

  • #113335

    #113335

    oklch(29.7% 0.039 200.6)

  • #2C2A40

    #2C2A40

    oklch(29.7% 0.04 287.9)

  • #3F2526

    #3F2526

    oklch(29.8% 0.04 17.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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