#313C12

Closest named color: Dark Olive (#373E02). oklch(33.6% 0.065 122.4), rgb(49, 60, 18).

Aa

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

About this color

#313C12 is a dark, muted brown. In OKLCH its lightness is 34%, its chroma 0.065 and its hue 122°. 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.76:1.

Hue familyBrowns
Lightnessdark (34%)
Chromamuted (0.065)
Temperaturein between
Nearest nameDark Olive (#373E02)
Black text1.78:1
White text11.76:1

Values

HEX#313C12
RGBrgb(49, 60, 18)
HSLhsl(76, 54%, 15%)
OKLCHoklch(33.6% 0.065 122.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 #313C12 11.76:1 AAA Lc -100.6 Preferred for body text
Black text on #313C12 1.78:1 Fails Lc 0.0 Not readable
#313C12 text on white 11.76:1 AAA Lc 96.9 Preferred for body text
#313C12 text on black 1.78: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

    #F4F6F1

    oklch(97% 0.007 124.4)

  2. Step 100

    100

    #E8EBE1

    oklch(93.5% 0.014 120.3)

  3. Step 200

    200

    #D6DCC9

    oklch(88.5% 0.026 121.2)

  4. Step 300

    300

    #BBC6A4

    oklch(80.9% 0.048 122)

  5. Step 400

    400

    #98A972

    oklch(70.8% 0.078 122.4)

  6. Step 500

    500

    #7F934C

    oklch(63.1% 0.099 122.2)

  7. Step 600

    600

    #687D2D

    oklch(55.6% 0.109 122.5)

  8. Step 700

    700

    #576920

    oklch(49% 0.1 122.1)

  9. Step 800

    800

    #47561D

    oklch(42.7% 0.083 122.4)

  10. Step 900

    900 (this color)

    #313C12

    oklch(33.6% 0.065 122.4)

  11. Step 950

    950

    #232A12

    oklch(27.1% 0.042 122.5)

Export this scale for Tailwind in the Tailwind colors tool

#313C12 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)#40380D0.027
Deuteranopia (no green cones)#3E38150.026
Tritanopia (no blue cones)#3439330.053
Achromatopsia (no color)#3838380.065

Harmonies

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

Complementary

The opposite hue (180°).

  • #313C12

    #313C12

    oklch(33.6% 0.065 122.4)

  • #3D2E53

    #3D2E53

    oklch(33.6% 0.066 301.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #313C12

    #313C12

    oklch(33.6% 0.065 122.4)

  • #433505

    #433505

    oklch(33.5% 0.065 91.2)

  • #184026

    #184026

    oklch(33.5% 0.065 152.8)

Open the analogous palette in the generator

Split complementary

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

  • #313C12

    #313C12

    oklch(33.6% 0.065 122.4)

  • #2B3458

    #2B3458

    oklch(33.5% 0.065 271.9)

  • #4A2945

    #4A2945

    oklch(33.4% 0.065 332.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #313C12

    #313C12

    oklch(33.6% 0.065 122.4)

  • #133A55

    #133A55

    oklch(33.5% 0.064 242.6)

  • #522734

    #522734

    oklch(33.5% 0.066 2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #313C12

    #313C12

    oklch(33.6% 0.065 122.4)

  • #003E49

    #003E49

    oklch(33.5% 0.059 214.1)

  • #3D2E53

    #3D2E53

    oklch(33.6% 0.066 301.6)

  • #532921

    #532921

    oklch(33.5% 0.064 32)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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