#2F2B17

Closest named color: Pakistan Green (#283618). oklch(28.8% 0.034 98.3), rgb(47, 43, 23).

Aa

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

About this color

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

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

Values

HEX#2F2B17
RGBrgb(47, 43, 23)
HSLhsl(50, 34%, 14%)
OKLCHoklch(28.8% 0.034 98.3)

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 #2F2B17 14.20:1 AAA Lc -103.9 Preferred for body text
Black text on #2F2B17 1.47:1 Fails Lc 0.0 Not readable
#2F2B17 text on white 14.20:1 AAA Lc 100.9 Preferred for body text
#2F2B17 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

    #ECEAE1

    oklch(93.6% 0.012 96.4)

  3. Step 200

    200

    #DDDAC9

    oklch(88.6% 0.023 98.7)

  4. Step 300

    300

    #C7C1A4

    oklch(80.8% 0.04 97.5)

  5. Step 400

    400

    #ABA273

    oklch(70.8% 0.065 98.6)

  6. Step 500

    500

    #968A4E

    oklch(63% 0.082 98.3)

  7. Step 600

    600

    #817431

    oklch(55.7% 0.089 98.4)

  8. Step 700

    700

    #6D6123

    oklch(49.1% 0.083 98.3)

  9. Step 800

    800

    #594F1F

    oklch(42.7% 0.068 97.6)

  10. Step 900

    900

    #49421F

    oklch(37.7% 0.053 98.3)

  11. Step 950

    950 (this color)

    #2F2B17

    oklch(28.8% 0.034 98.3)

Export this scale for Tailwind in the Tailwind colors tool

#2F2B17 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)#2F2A150.004
Deuteranopia (no green cones)#302B180.003
Tritanopia (no blue cones)#3228260.031
Achromatopsia (no color)#2B2B2B0.034

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F2B17

    #2F2B17

    oklch(28.8% 0.034 98.3)

  • #27293B

    #27293B

    oklch(28.7% 0.033 279.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F2B17

    #2F2B17

    oklch(28.8% 0.034 98.3)

  • #362818

    #362818

    oklch(28.9% 0.034 69.6)

  • #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°).

  • #2F2B17

    #2F2B17

    oklch(28.8% 0.034 98.3)

  • #1D2C3B

    #1D2C3B

    oklch(28.7% 0.034 249.1)

  • #2F2638

    #2F2638

    oklch(28.7% 0.034 307.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F2B17

    #2F2B17

    oklch(28.8% 0.034 98.3)

  • #162F36

    #162F36

    oklch(28.8% 0.033 218.1)

  • #362430

    #362430

    oklch(28.7% 0.034 339.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F2B17

    #2F2B17

    oklch(28.8% 0.034 98.3)

  • #15302E

    #15302E

    oklch(28.7% 0.033 189.2)

  • #27293B

    #27293B

    oklch(28.7% 0.033 279.2)

  • #392427

    #392427

    oklch(28.8% 0.032 9.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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