#313E17

Closest named color: Dark Olive (#373E02). oklch(34.2% 0.063 125), rgb(49, 62, 23).

Aa

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

About this color

#313E17 is a dark, muted brown. In OKLCH its lightness is 34%, its chroma 0.063 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.018 away. White text reads best on it, at 11.46:1.

Hue familyBrowns
Lightnessdark (34%)
Chromamuted (0.063)
Temperaturein between
Nearest nameDark Olive (#373E02)
Black text1.83:1
White text11.46:1

Values

HEX#313E17
RGBrgb(49, 62, 23)
HSLhsl(80, 46%, 17%)
OKLCHoklch(34.2% 0.063 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 #313E17 11.46:1 AAA Lc -100.1 Preferred for body text
Black text on #313E17 1.83:1 Fails Lc 7.5 Not readable
#313E17 text on white 11.46:1 AAA Lc 96.4 Preferred for body text
#313E17 text on black 1.83: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

    #E8ECE2

    oklch(93.7% 0.014 124.6)

  3. Step 200

    200

    #D5DCCA

    oklch(88.4% 0.025 124.3)

  4. Step 300

    300

    #B9C6A6

    oklch(80.8% 0.046 125.4)

  5. Step 400

    400

    #96A975

    oklch(70.7% 0.075 124.6)

  6. Step 500

    500

    #7C9451

    oklch(63.2% 0.096 125.2)

  7. Step 600

    600

    #657E34

    oklch(55.7% 0.105 125.3)

  8. Step 700

    700

    #546A26

    oklch(49.1% 0.098 125)

  9. Step 800

    800

    #455621

    oklch(42.6% 0.08 124.6)

  10. Step 900

    900 (this color)

    #313E17

    oklch(34.2% 0.063 125)

  11. Step 950

    950

    #222A14

    oklch(27.1% 0.039 125.3)

Export this scale for Tailwind in the Tailwind colors tool

#313E17 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)#413A130.028
Deuteranopia (no green cones)#4039190.030
Tritanopia (no blue cones)#333B350.050
Achromatopsia (no color)#3939390.063

Harmonies

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

Complementary

The opposite hue (180°).

  • #313E17

    #313E17

    oklch(34.2% 0.063 125)

  • #403053

    #403053

    oklch(34.3% 0.063 304.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #313E17

    #313E17

    oklch(34.2% 0.063 125)

  • #43380A

    #43380A

    oklch(34.3% 0.063 95)

  • #19422A

    #19422A

    oklch(34.2% 0.063 155.3)

Open the analogous palette in the generator

Split complementary

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

  • #313E17

    #313E17

    oklch(34.2% 0.063 125)

  • #2F3559

    #2F3559

    oklch(34.1% 0.064 275.3)

  • #4C2B45

    #4C2B45

    oklch(34.1% 0.063 335.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #313E17

    #313E17

    oklch(34.2% 0.063 125)

  • #193B57

    #193B57

    oklch(34.1% 0.063 246)

  • #532A34

    #532A34

    oklch(34.2% 0.062 5.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #313E17

    #313E17

    oklch(34.2% 0.063 125)

  • #00404C

    #00404C

    oklch(34.2% 0.06 215.2)

  • #403053

    #403053

    oklch(34.3% 0.063 304.3)

  • #542C21

    #542C21

    oklch(34.3% 0.062 36.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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