#313A0C

Closest named color: Dark Olive (#373E02). oklch(32.9% 0.068 119.9), rgb(49, 58, 12).

Aa

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

About this color

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

Hue familyBrowns
Lightnessdark (33%)
Chromamuted (0.068)
Temperaturein between
Nearest nameDark Olive (#373E02)
Black text1.74:1
White text12.06:1

Values

HEX#313A0C
RGBrgb(49, 58, 12)
HSLhsl(72, 66%, 14%)
OKLCHoklch(32.9% 0.068 119.9)

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 #313A0C 12.06:1 AAA Lc -101.1 Preferred for body text
Black text on #313A0C 1.74:1 Fails Lc 0.0 Not readable
#313A0C text on white 12.06:1 AAA Lc 97.5 Preferred for body text
#313A0C text on black 1.74: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

    #F5F6F1

    oklch(97.1% 0.007 115.7)

  2. Step 100

    100

    #E8EBE1

    oklch(93.5% 0.014 120.3)

  3. Step 200

    200

    #D6DCC8

    oklch(88.4% 0.028 120.6)

  4. Step 300

    300

    #BCC6A2

    oklch(80.9% 0.05 120.1)

  5. Step 400

    400

    #9AA86E

    oklch(70.6% 0.081 119.6)

  6. Step 500

    500

    #829346

    oklch(63.2% 0.105 119.8)

  7. Step 600

    600

    #6B7C26

    oklch(55.5% 0.112 119.8)

  8. Step 700

    700

    #5A6918

    oklch(49.2% 0.104 119.7)

  9. Step 800

    800

    #495617

    oklch(42.8% 0.087 120.3)

  10. Step 900

    900 (this color)

    #313A0C

    oklch(32.9% 0.068 119.9)

  11. Step 950

    950

    #242910

    oklch(26.9% 0.042 118.7)

Export this scale for Tailwind in the Tailwind colors tool

#313A0C 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)#3E36060.024
Deuteranopia (no green cones)#3D36100.025
Tritanopia (no blue cones)#3436310.059
Achromatopsia (no color)#3636360.068

Harmonies

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

Complementary

The opposite hue (180°).

  • #313A0C

    #313A0C

    oklch(32.9% 0.068 119.9)

  • #3B2C53

    #3B2C53

    oklch(32.9% 0.069 300.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #313A0C

    #313A0C

    oklch(32.9% 0.068 119.9)

  • #433300

    #433300

    oklch(33% 0.067 89.4)

  • #173F22

    #173F22

    oklch(33% 0.068 150.1)

Open the analogous palette in the generator

Split complementary

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

  • #313A0C

    #313A0C

    oklch(32.9% 0.068 119.9)

  • #283358

    #283358

    oklch(33% 0.067 269.9)

  • #482746

    #482746

    oklch(32.8% 0.069 329.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #313A0C

    #313A0C

    oklch(32.9% 0.068 119.9)

  • #0B3954

    #0B3954

    oklch(32.9% 0.067 240)

  • #512534

    #512534

    oklch(33% 0.068 359.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #313A0C

    #313A0C

    oklch(32.9% 0.068 119.9)

  • #003D45

    #003D45

    oklch(33% 0.057 209.2)

  • #3B2C53

    #3B2C53

    oklch(32.9% 0.069 300.4)

  • #532620

    #532620

    oklch(32.9% 0.069 29.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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