#2D331B

Closest named color: Pakistan Green (#283618). oklch(30.8% 0.041 120.3), rgb(45, 51, 27).

Aa

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

About this color

#2D331B is a dark, muted brown. In OKLCH its lightness is 31%, its chroma 0.041 and its hue 120°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pakistan Green (#283618), ΔE 0.015 away. White text reads best on it, at 13.11:1.

Hue familyBrowns
Lightnessdark (31%)
Chromamuted (0.041)
Temperaturein between
Nearest namePakistan Green (#283618)
Black text1.60:1
White text13.11:1

Values

HEX#2D331B
RGBrgb(45, 51, 27)
HSLhsl(75, 31%, 15%)
OKLCHoklch(30.8% 0.041 120.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 #2D331B 13.11:1 AAA Lc -102.6 Preferred for body text
Black text on #2D331B 1.60:1 Fails Lc 0.0 Not readable
#2D331B text on white 13.11:1 AAA Lc 99.4 Preferred for body text
#2D331B text on black 1.60: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

    #F5F6F1

    oklch(97.1% 0.007 115.7)

  2. Step 100

    100

    #E8EBE1

    oklch(93.5% 0.014 120.3)

  3. Step 200

    200

    #D6DCC9

    oklch(88.5% 0.026 121.2)

  4. Step 300

    300

    #BCC6A3

    oklch(80.9% 0.049 120.5)

  5. Step 400

    400

    #9AA871

    oklch(70.7% 0.077 120)

  6. Step 500

    500

    #81924B

    oklch(63% 0.098 120.4)

  7. Step 600

    600

    #6B7C2C

    oklch(55.5% 0.107 120.2)

  8. Step 700

    700

    #59691E

    oklch(49.2% 0.101 120.6)

  9. Step 800

    800

    #49551C

    oklch(42.6% 0.082 120.1)

  10. Step 900

    900

    #3D471D

    oklch(37.8% 0.065 120.7)

  11. Step 950

    950 (this color)

    #2D331B

    oklch(30.8% 0.041 120.3)

Export this scale for Tailwind in the Tailwind colors tool

#2D331B 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)#3630190.017
Deuteranopia (no green cones)#35311C0.016
Tritanopia (no blue cones)#2F312D0.033
Achromatopsia (no color)#3030300.041

Harmonies

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

Complementary

The opposite hue (180°).

  • #2D331B

    #2D331B

    oklch(30.8% 0.041 120.3)

  • #332B41

    #332B41

    oklch(30.8% 0.04 300.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2D331B

    #2D331B

    oklch(30.8% 0.041 120.3)

  • #382F17

    #382F17

    oklch(30.9% 0.04 89.4)

  • #203625

    #203625

    oklch(30.9% 0.041 150.6)

Open the analogous palette in the generator

Split complementary

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

  • #2D331B

    #2D331B

    oklch(30.8% 0.041 120.3)

  • #282F45

    #282F45

    oklch(30.9% 0.041 270.3)

  • #3C283A

    #3C283A

    oklch(30.8% 0.042 330)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2D331B

    #2D331B

    oklch(30.8% 0.041 120.3)

  • #1C3342

    #1C3342

    oklch(30.9% 0.04 238.5)

  • #41272F

    #41272F

    oklch(30.8% 0.041 359.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2D331B

    #2D331B

    oklch(30.8% 0.041 120.3)

  • #13353B

    #13353B

    oklch(30.7% 0.04 210.8)

  • #332B41

    #332B41

    oklch(30.8% 0.04 300.8)

  • #422823

    #422823

    oklch(30.8% 0.041 31.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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