#313D17

Closest named color: Dark Olive (#373E02). oklch(33.9% 0.061 124.2), rgb(49, 61, 23).

Aa

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

About this color

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

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

Values

HEX#313D17
RGBrgb(49, 61, 23)
HSLhsl(79, 45%, 16%)
OKLCHoklch(33.9% 0.061 124.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 #313D17 11.59:1 AAA Lc -100.3 Preferred for body text
Black text on #313D17 1.81:1 Fails Lc 0.0 Not readable
#313D17 text on white 11.59:1 AAA Lc 96.6 Preferred for body text
#313D17 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

    #D5DCCA

    oklch(88.4% 0.025 124.3)

  4. Step 300

    300

    #BAC6A6

    oklch(80.9% 0.046 124.2)

  5. Step 400

    400

    #97A976

    oklch(70.8% 0.074 124)

  6. Step 500

    500

    #7D9352

    oklch(63% 0.093 124.3)

  7. Step 600

    600

    #677D35

    oklch(55.6% 0.102 123.9)

  8. Step 700

    700

    #556A28

    oklch(49.2% 0.095 124.7)

  9. Step 800

    800

    #465622

    oklch(42.7% 0.078 124)

  10. Step 900

    900 (this color)

    #313D17

    oklch(33.9% 0.061 124.2)

  11. Step 950

    950

    #222A14

    oklch(27.1% 0.039 125.3)

Export this scale for Tailwind in the Tailwind colors tool

#313D17 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)#4039130.026
Deuteranopia (no green cones)#3F39190.027
Tritanopia (no blue cones)#333A350.051
Achromatopsia (no color)#3939390.061

Harmonies

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

Complementary

The opposite hue (180°).

  • #313D17

    #313D17

    oklch(33.9% 0.061 124.2)

  • #3F2F51

    #3F2F51

    oklch(33.9% 0.061 305)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #313D17

    #313D17

    oklch(33.9% 0.061 124.2)

  • #42370B

    #42370B

    oklch(33.9% 0.062 94.5)

  • #1A4129

    #1A4129

    oklch(33.9% 0.062 154.3)

Open the analogous palette in the generator

Split complementary

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

  • #313D17

    #313D17

    oklch(33.9% 0.061 124.2)

  • #2E3557

    #2E3557

    oklch(33.9% 0.061 273.9)

  • #4B2B45

    #4B2B45

    oklch(34% 0.062 334)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #313D17

    #313D17

    oklch(33.9% 0.061 124.2)

  • #183B55

    #183B55

    oklch(34% 0.061 243.5)

  • #522934

    #522934

    oklch(33.9% 0.062 3.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #313D17

    #313D17

    oklch(33.9% 0.061 124.2)

  • #003F4B

    #003F4B

    oklch(33.9% 0.06 215.5)

  • #3F2F51

    #3F2F51

    oklch(33.9% 0.061 305)

  • #532B22

    #532B22

    oklch(33.9% 0.062 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 #313D17, closest first.

Similar named colors

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

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