#313D18

Closest named color: Dark Olive (#373E02). oklch(33.9% 0.06 124.4), rgb(49, 61, 24).

Aa

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

About this color

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

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

Values

HEX#313D18
RGBrgb(49, 61, 24)
HSLhsl(79, 44%, 17%)
OKLCHoklch(33.9% 0.06 124.4)

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

    #BAC6A7

    oklch(80.9% 0.044 124.6)

  5. Step 400

    400

    #97A977

    oklch(70.8% 0.072 124.3)

  6. Step 500

    500

    #7D9353

    oklch(63% 0.092 124.5)

  7. Step 600

    600

    #677D37

    oklch(55.6% 0.1 124.1)

  8. Step 700

    700

    #556929

    oklch(49% 0.093 124.3)

  9. Step 800

    800

    #465623

    oklch(42.7% 0.077 124.1)

  10. Step 900

    900 (this color)

    #313D18

    oklch(33.9% 0.06 124.4)

  11. Step 950

    950

    #222A14

    oklch(27.1% 0.039 125.3)

Export this scale for Tailwind in the Tailwind colors tool

#313D18 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)#4039140.026
Deuteranopia (no green cones)#3F391A0.027
Tritanopia (no blue cones)#333A350.049
Achromatopsia (no color)#3939390.060

Harmonies

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

Complementary

The opposite hue (180°).

  • #313D18

    #313D18

    oklch(33.9% 0.06 124.4)

  • #3F2F51

    #3F2F51

    oklch(33.9% 0.061 305)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #313D18

    #313D18

    oklch(33.9% 0.06 124.4)

  • #42370D

    #42370D

    oklch(34% 0.06 94)

  • #1B4129

    #1B4129

    oklch(34% 0.061 153.9)

Open the analogous palette in the generator

Split complementary

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

  • #313D18

    #313D18

    oklch(33.9% 0.06 124.4)

  • #2E3557

    #2E3557

    oklch(33.9% 0.061 273.9)

  • #4B2B44

    #4B2B44

    oklch(33.9% 0.061 335.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #313D18

    #313D18

    oklch(33.9% 0.06 124.4)

  • #193B55

    #193B55

    oklch(34% 0.061 244.1)

  • #512A34

    #512A34

    oklch(33.9% 0.059 4.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #313D18

    #313D18

    oklch(33.9% 0.06 124.4)

  • #003F4B

    #003F4B

    oklch(33.9% 0.06 215.5)

  • #3F2F51

    #3F2F51

    oklch(33.9% 0.061 305)

  • #522C22

    #522C22

    oklch(34% 0.059 35.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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