#31311D

Closest named color: Pakistan Green (#283618). oklch(30.7% 0.033 108.2), rgb(49, 49, 29).

Aa

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

About this color

#31311D is a dark, muted brown. In OKLCH its lightness is 31%, its chroma 0.033 and its hue 108°. 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.22:1.

Hue familyBrowns
Lightnessdark (31%)
Chromamuted (0.033)
Temperaturewarm
Nearest namePakistan Green (#283618)
Black text1.58:1
White text13.22:1

Values

HEX#31311D
RGBrgb(49, 49, 29)
HSLhsl(60, 26%, 15%)
OKLCHoklch(30.7% 0.033 108.2)

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 #31311D 13.22:1 AAA Lc -102.8 Preferred for body text
Black text on #31311D 1.58:1 Fails Lc 0.0 Not readable
#31311D text on white 13.22:1 AAA Lc 99.6 Preferred for body text
#31311D text on black 1.58: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

    #F6F6F2

    oklch(97.2% 0.005 106.5)

  2. Step 100

    100

    #EAEBE2

    oklch(93.7% 0.012 111.8)

  3. Step 200

    200

    #DADACA

    oklch(88.4% 0.022 106.8)

  4. Step 300

    300

    #C2C3A6

    oklch(80.9% 0.04 108.9)

  5. Step 400

    400

    #A4A476

    oklch(70.7% 0.063 107.9)

  6. Step 500

    500

    #8E8D52

    oklch(63% 0.08 107.6)

  7. Step 600

    600

    #787736

    oklch(55.6% 0.087 108.1)

  8. Step 700

    700

    #656428

    oklch(49.1% 0.081 108.2)

  9. Step 800

    800

    #525223

    oklch(42.7% 0.067 108.9)

  10. Step 900

    900

    #444421

    oklch(37.8% 0.053 108.7)

  11. Step 950

    950 (this color)

    #31311D

    oklch(30.7% 0.033 108.2)

Export this scale for Tailwind in the Tailwind colors tool

#31311D 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)#342F1C0.008
Deuteranopia (no green cones)#34301E0.007
Tritanopia (no blue cones)#342F2C0.029
Achromatopsia (no color)#3030300.033

Harmonies

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

Complementary

The opposite hue (180°).

  • #31311D

    #31311D

    oklch(30.7% 0.033 108.2)

  • #2F2D40

    #2F2D40

    oklch(30.8% 0.034 289.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31311D

    #31311D

    oklch(30.7% 0.033 108.2)

  • #392E1C

    #392E1C

    oklch(30.8% 0.034 79.3)

  • #273423

    #273423

    oklch(30.8% 0.034 138.4)

Open the analogous palette in the generator

Split complementary

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

  • #31311D

    #31311D

    oklch(30.7% 0.033 108.2)

  • #253041

    #253041

    oklch(30.7% 0.034 258.9)

  • #372A3B

    #372A3B

    oklch(30.7% 0.035 318.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31311D

    #31311D

    oklch(30.7% 0.033 108.2)

  • #1D333D

    #1D333D

    oklch(30.7% 0.033 228.6)

  • #3C2932

    #3C2932

    oklch(30.7% 0.032 349.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31311D

    #31311D

    oklch(30.7% 0.033 108.2)

  • #1A3536

    #1A3536

    oklch(30.8% 0.033 198.7)

  • #2F2D40

    #2F2D40

    oklch(30.8% 0.034 289.1)

  • #3F2929

    #3F2929

    oklch(30.8% 0.033 19.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #31311D 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.