#313A08

Closest named color: Dark Olive (#373E02). oklch(32.9% 0.071 119.5), rgb(49, 58, 8).

Aa

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

About this color

#313A08 is a dark, moderately saturated brown. In OKLCH its lightness is 33%, its chroma 0.071 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.018 away. White text reads best on it, at 12.07:1.

Hue familyBrowns
Lightnessdark (33%)
Chromamoderately saturated (0.071)
Temperaturein between
Nearest nameDark Olive (#373E02)
Black text1.73:1
White text12.07:1

Values

HEX#313A08
RGBrgb(49, 58, 8)
HSLhsl(71, 76%, 13%)
OKLCHoklch(32.9% 0.071 119.5)

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

    #E8EBE0

    oklch(93.5% 0.015 119.1)

  3. Step 200

    200

    #D6DCC7

    oklch(88.4% 0.029 120)

  4. Step 300

    300

    #BCC6A0

    oklch(80.9% 0.053 119.6)

  5. Step 400

    400

    #9AA96B

    oklch(70.8% 0.086 119.7)

  6. Step 500

    500

    #829342

    oklch(63.2% 0.109 119.5)

  7. Step 600

    600

    #6B7D1E

    oklch(55.7% 0.119 119.9)

  8. Step 700

    700

    #5A690F

    oklch(49.1% 0.11 119.4)

  9. Step 800

    800

    #495612

    oklch(42.8% 0.091 120)

  10. Step 900

    900 (this color)

    #313A08

    oklch(32.9% 0.071 119.5)

  11. Step 950

    950

    #242A0F

    oklch(27.2% 0.045 119.9)

Export this scale for Tailwind in the Tailwind colors tool

#313A08 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)#3E36010.024
Deuteranopia (no green cones)#3D360C0.025
Tritanopia (no blue cones)#3436310.062
Achromatopsia (no color)#3636360.071

Harmonies

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

Complementary

The opposite hue (180°).

  • #313A08

    #313A08

    oklch(32.9% 0.071 119.5)

  • #3B2C54

    #3B2C54

    oklch(33% 0.071 299.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #313A08

    #313A08

    oklch(32.9% 0.071 119.5)

  • #433300

    #433300

    oklch(33% 0.067 89.4)

  • #163F20

    #163F20

    oklch(32.9% 0.071 149)

Open the analogous palette in the generator

Split complementary

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

  • #313A08

    #313A08

    oklch(32.9% 0.071 119.5)

  • #273259

    #273259

    oklch(32.8% 0.071 270.3)

  • #492747

    #492747

    oklch(33% 0.071 329.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #313A08

    #313A08

    oklch(32.9% 0.071 119.5)

  • #063955

    #063955

    oklch(32.9% 0.07 239.6)

  • #512434

    #512434

    oklch(32.9% 0.07 359.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #313A08

    #313A08

    oklch(32.9% 0.071 119.5)

  • #003D45

    #003D45

    oklch(33% 0.057 209.2)

  • #3B2C54

    #3B2C54

    oklch(33% 0.071 299.8)

  • #54251F

    #54251F

    oklch(32.9% 0.071 29)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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