#313A1D

Closest named color: Pakistan Green (#283618). oklch(33.2% 0.049 123.1), rgb(49, 58, 29).

Aa

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

About this color

#313A1D is a dark, muted brown. In OKLCH its lightness is 33%, its chroma 0.049 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.021 away. White text reads best on it, at 11.97:1.

Hue familyBrowns
Lightnessdark (33%)
Chromamuted (0.049)
Temperaturein between
Nearest namePakistan Green (#283618)
Black text1.75:1
White text11.97:1

Values

HEX#313A1D
RGBrgb(49, 58, 29)
HSLhsl(79, 33%, 17%)
OKLCHoklch(33.2% 0.049 123.1)

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 #313A1D 11.97:1 AAA Lc -101.0 Preferred for body text
Black text on #313A1D 1.75:1 Fails Lc 0.0 Not readable
#313A1D text on white 11.97:1 AAA Lc 97.4 Preferred for body text
#313A1D text on black 1.75: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

    #D6DCCD

    oklch(88.6% 0.021 124.7)

  4. Step 300

    300

    #BCC5AB

    oklch(80.9% 0.037 122.8)

  5. Step 400

    400

    #99A77F

    oklch(70.7% 0.058 123.5)

  6. Step 500

    500

    #81915E

    oklch(63.1% 0.074 122.7)

  7. Step 600

    600

    #6A7B44

    oklch(55.5% 0.081 123.1)

  8. Step 700

    700

    #586836

    oklch(49.1% 0.076 123.7)

  9. Step 800

    800

    #48552D

    oklch(42.8% 0.063 123.8)

  10. Step 900

    900 (this color)

    #313A1D

    oklch(33.2% 0.049 123.1)

  11. Step 950

    950

    #232918

    oklch(27% 0.031 124.2)

Export this scale for Tailwind in the Tailwind colors tool

#313A1D 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)#3D371B0.021
Deuteranopia (no green cones)#3C371F0.022
Tritanopia (no blue cones)#3337330.041
Achromatopsia (no color)#3737370.049

Harmonies

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

Complementary

The opposite hue (180°).

  • #313A1D

    #313A1D

    oklch(33.2% 0.049 123.1)

  • #3B304A

    #3B304A

    oklch(33.3% 0.047 303.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #313A1D

    #313A1D

    oklch(33.2% 0.049 123.1)

  • #3E3516

    #3E3516

    oklch(33.1% 0.049 93.4)

  • #213D2A

    #213D2A

    oklch(33.1% 0.048 153.4)

Open the analogous palette in the generator

Split complementary

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

  • #313A1D

    #313A1D

    oklch(33.2% 0.049 123.1)

  • #2E344F

    #2E344F

    oklch(33.2% 0.049 273.9)

  • #452C41

    #452C41

    oklch(33.2% 0.05 332.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #313A1D

    #313A1D

    oklch(33.2% 0.049 123.1)

  • #1E394D

    #1E394D

    oklch(33.3% 0.049 242.2)

  • #4B2B33

    #4B2B33

    oklch(33.2% 0.049 3.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #313A1D

    #313A1D

    oklch(33.2% 0.049 123.1)

  • #113C45

    #113C45

    oklch(33.1% 0.049 214.3)

  • #3B304A

    #3B304A

    oklch(33.3% 0.047 303.3)

  • #4C2C25

    #4C2C25

    oklch(33.1% 0.049 33.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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