#313D1A

Closest named color: Dark Olive (#373E02). oklch(34% 0.058 125), rgb(49, 61, 26).

Aa

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

About this color

#313D1A is a dark, muted brown. In OKLCH its lightness is 34%, its chroma 0.058 and its hue 125°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Olive (#373E02), ΔE 0.023 away. White text reads best on it, at 11.58:1.

Hue familyBrowns
Lightnessdark (34%)
Chromamuted (0.058)
Temperaturein between
Nearest nameDark Olive (#373E02)
Black text1.81:1
White text11.58:1

Values

HEX#313D1A
RGBrgb(49, 61, 26)
HSLhsl(81, 40%, 17%)
OKLCHoklch(34% 0.058 125)

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 #313D1A 11.58:1 AAA Lc -100.3 Preferred for body text
Black text on #313D1A 1.81:1 Fails Lc 0.0 Not readable
#313D1A text on white 11.58:1 AAA Lc 96.6 Preferred for body text
#313D1A text on black 1.81: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

    #F4F6F2

    oklch(97.1% 0.006 128.5)

  2. Step 100

    100

    #E8EBE2

    oklch(93.5% 0.012 121.7)

  3. Step 200

    200

    #D5DCCB

    oklch(88.4% 0.024 125.2)

  4. Step 300

    300

    #BAC6A8

    oklch(80.9% 0.043 125.1)

  5. Step 400

    400

    #97A979

    oklch(70.8% 0.07 124.8)

  6. Step 500

    500

    #7D9356

    oklch(63.1% 0.089 125.1)

  7. Step 600

    600

    #667D3B

    oklch(55.6% 0.096 125.3)

  8. Step 700

    700

    #55692D

    oklch(49% 0.089 124.9)

  9. Step 800

    800

    #465626

    oklch(42.7% 0.074 124.7)

  10. Step 900

    900 (this color)

    #313D1A

    oklch(34% 0.058 125)

  11. Step 950

    950

    #222A15

    oklch(27.1% 0.038 125.8)

Export this scale for Tailwind in the Tailwind colors tool

#313D1A 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)#4039170.027
Deuteranopia (no green cones)#3F391C0.027
Tritanopia (no blue cones)#333A350.047
Achromatopsia (no color)#3939390.058

Harmonies

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

Complementary

The opposite hue (180°).

  • #313D1A

    #313D1A

    oklch(34% 0.058 125)

  • #3F3050

    #3F3050

    oklch(34% 0.058 305.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #313D1A

    #313D1A

    oklch(34% 0.058 125)

  • #413710

    #413710

    oklch(33.9% 0.057 94.7)

  • #1C412A

    #1C412A

    oklch(34.1% 0.059 154.4)

Open the analogous palette in the generator

Split complementary

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

  • #313D1A

    #313D1A

    oklch(34% 0.058 125)

  • #2F3556

    #2F3556

    oklch(34% 0.059 275)

  • #4A2C44

    #4A2C44

    oklch(34% 0.058 334.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #313D1A

    #313D1A

    oklch(34% 0.058 125)

  • #1C3B54

    #1C3B54

    oklch(34.1% 0.058 245)

  • #512B34

    #512B34

    oklch(34.1% 0.057 5.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #313D1A

    #313D1A

    oklch(34% 0.058 125)

  • #053F4A

    #053F4A

    oklch(33.9% 0.057 214.6)

  • #3F3050

    #3F3050

    oklch(34% 0.058 305.1)

  • #512C23

    #512C23

    oklch(33.8% 0.057 34.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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