#313B1A

Closest named color: Pakistan Green (#283618). oklch(33.4% 0.054 123.2), rgb(49, 59, 26).

Aa

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

About this color

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

Hue familyBrowns
Lightnessdark (33%)
Chromamuted (0.054)
Temperaturein between
Nearest namePakistan Green (#283618)
Black text1.77:1
White text11.85:1

Values

HEX#313B1A
RGBrgb(49, 59, 26)
HSLhsl(78, 39%, 17%)
OKLCHoklch(33.4% 0.054 123.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 #313B1A 11.85:1 AAA Lc -100.8 Preferred for body text
Black text on #313B1A 1.77:1 Fails Lc 0.0 Not readable
#313B1A text on white 11.85:1 AAA Lc 97.2 Preferred for body text
#313B1A text on black 1.77: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

    #F5F6F2

    oklch(97.1% 0.005 117.9)

  2. Step 100

    100

    #E8EBE3

    oklch(93.6% 0.011 123.5)

  3. Step 200

    200

    #D6DCCC

    oklch(88.5% 0.022 123.7)

  4. Step 300

    300

    #BBC5A9

    oklch(80.8% 0.04 123.3)

  5. Step 400

    400

    #99A87B

    oklch(70.8% 0.065 123)

  6. Step 500

    500

    #809259

    oklch(63.1% 0.082 123)

  7. Step 600

    600

    #697C3E

    oklch(55.6% 0.09 123.3)

  8. Step 700

    700

    #57682F

    oklch(48.9% 0.084 123.3)

  9. Step 800

    800

    #485528

    oklch(42.7% 0.069 122.6)

  10. Step 900

    900 (this color)

    #313B1A

    oklch(33.4% 0.054 123.2)

  11. Step 950

    950

    #232916

    oklch(26.9% 0.034 123)

Export this scale for Tailwind in the Tailwind colors tool

#313B1A 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)#3E38170.023
Deuteranopia (no green cones)#3D371C0.025
Tritanopia (no blue cones)#3338330.044
Achromatopsia (no color)#3737370.054

Harmonies

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

Complementary

The opposite hue (180°).

  • #313B1A

    #313B1A

    oklch(33.4% 0.054 123.2)

  • #3C2F4D

    #3C2F4D

    oklch(33.3% 0.054 303.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #313B1A

    #313B1A

    oklch(33.4% 0.054 123.2)

  • #403612

    #403612

    oklch(33.5% 0.054 93.7)

  • #1E3F29

    #1E3F29

    oklch(33.5% 0.055 153.2)

Open the analogous palette in the generator

Split complementary

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

  • #313B1A

    #313B1A

    oklch(33.4% 0.054 123.2)

  • #2D3452

    #2D3452

    oklch(33.3% 0.054 273.1)

  • #472C42

    #472C42

    oklch(33.5% 0.053 333.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #313B1A

    #313B1A

    oklch(33.4% 0.054 123.2)

  • #1B3950

    #1B3950

    oklch(33.3% 0.054 243.6)

  • #4E2A34

    #4E2A34

    oklch(33.5% 0.055 2.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #313B1A

    #313B1A

    oklch(33.4% 0.054 123.2)

  • #083D47

    #083D47

    oklch(33.3% 0.054 214)

  • #3C2F4D

    #3C2F4D

    oklch(33.3% 0.054 303.5)

  • #4F2C24

    #4F2C24

    oklch(33.6% 0.054 33.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #313B1A 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.