#31381D

Closest named color: Pakistan Green (#283618). oklch(32.6% 0.045 120.8), rgb(49, 56, 29).

Aa

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

About this color

#31381D is a dark, muted brown. In OKLCH its lightness is 33%, its chroma 0.045 and its hue 121°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pakistan Green (#283618), ΔE 0.018 away. White text reads best on it, at 12.25:1.

Hue familyBrowns
Lightnessdark (33%)
Chromamuted (0.045)
Temperaturein between
Nearest namePakistan Green (#283618)
Black text1.71:1
White text12.25:1

Values

HEX#31381D
RGBrgb(49, 56, 29)
HSLhsl(76, 32%, 17%)
OKLCHoklch(32.6% 0.045 120.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 #31381D 12.25:1 AAA Lc -101.4 Preferred for body text
Black text on #31381D 1.71:1 Fails Lc 0.0 Not readable
#31381D text on white 12.25:1 AAA Lc 97.9 Preferred for body text
#31381D text on black 1.71: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 900.

  1. Step 50

    50

    #F5F6F3

    oklch(97.2% 0.004 121.6)

  2. Step 100

    100

    #E9EBE4

    oklch(93.7% 0.01 119.6)

  3. Step 200

    200

    #D7DBCE

    oklch(88.5% 0.018 120.7)

  4. Step 300

    300

    #BDC4AC

    oklch(80.8% 0.034 120.4)

  5. Step 400

    400

    #9BA681

    oklch(70.6% 0.053 121.2)

  6. Step 500

    500

    #839061

    oklch(63.1% 0.068 121)

  7. Step 600

    600

    #6D7A47

    oklch(55.6% 0.075 120.6)

  8. Step 700

    700

    #5B6738

    oklch(49.2% 0.07 120.8)

  9. Step 800

    800

    #4A542F

    oklch(42.7% 0.058 121.2)

  10. Step 900

    900 (this color)

    #31381D

    oklch(32.6% 0.045 120.8)

  11. Step 950

    950

    #242919

    oklch(27.1% 0.029 122.4)

Export this scale for Tailwind in the Tailwind colors tool

#31381D 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)#3B351B0.019
Deuteranopia (no green cones)#3A351E0.018
Tritanopia (no blue cones)#3335310.038
Achromatopsia (no color)#3535350.045

Harmonies

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

Complementary

The opposite hue (180°).

  • #31381D

    #31381D

    oklch(32.6% 0.045 120.8)

  • #382F48

    #382F48

    oklch(32.6% 0.045 300.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31381D

    #31381D

    oklch(32.6% 0.045 120.8)

  • #3D3418

    #3D3418

    oklch(32.7% 0.045 92)

  • #233B28

    #233B28

    oklch(32.6% 0.045 149.9)

Open the analogous palette in the generator

Split complementary

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

  • #31381D

    #31381D

    oklch(32.6% 0.045 120.8)

  • #2C334C

    #2C334C

    oklch(32.6% 0.046 271.7)

  • #422C3F

    #422C3F

    oklch(32.7% 0.045 331.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31381D

    #31381D

    oklch(32.6% 0.045 120.8)

  • #1E3749

    #1E3749

    oklch(32.5% 0.045 241.3)

  • #482A33

    #482A33

    oklch(32.6% 0.046 0.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31381D

    #31381D

    oklch(32.6% 0.045 120.8)

  • #133B41

    #133B41

    oklch(32.7% 0.045 208.8)

  • #382F48

    #382F48

    oklch(32.6% 0.045 300.5)

  • #492C26

    #492C26

    oklch(32.7% 0.045 32.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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