#313A12

Closest named color: Pakistan Green (#283618). oklch(33% 0.062 120.6), rgb(49, 58, 18).

Aa

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

About this color

#313A12 is a dark, muted brown. In OKLCH its lightness is 33%, its chroma 0.062 and its hue 121°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pakistan Green (#283618), ΔE 0.022 away. White text reads best on it, at 12.03:1.

Hue familyBrowns
Lightnessdark (33%)
Chromamuted (0.062)
Temperaturein between
Nearest namePakistan Green (#283618)
Black text1.74:1
White text12.03:1

Values

HEX#313A12
RGBrgb(49, 58, 18)
HSLhsl(73, 53%, 15%)
OKLCHoklch(33% 0.062 120.6)

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 #313A12 12.03:1 AAA Lc -101.0 Preferred for body text
Black text on #313A12 1.74:1 Fails Lc 0.0 Not readable
#313A12 text on white 12.03:1 AAA Lc 97.5 Preferred for body text
#313A12 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

    #F5F6F2

    oklch(97.1% 0.005 117.9)

  2. Step 100

    100

    #E8EBE2

    oklch(93.5% 0.012 121.7)

  3. Step 200

    200

    #D6DCC9

    oklch(88.5% 0.026 121.2)

  4. Step 300

    300

    #BCC6A4

    oklch(81% 0.048 120.8)

  5. Step 400

    400

    #9AA873

    oklch(70.7% 0.075 120.4)

  6. Step 500

    500

    #81924E

    oklch(63% 0.095 120.7)

  7. Step 600

    600

    #6B7C30

    oklch(55.6% 0.103 120.5)

  8. Step 700

    700

    #596923

    oklch(49.2% 0.096 121)

  9. Step 800

    800

    #49551F

    oklch(42.6% 0.079 120.4)

  10. Step 900

    900 (this color)

    #313A12

    oklch(33% 0.062 120.6)

  11. Step 950

    950

    #242913

    oklch(26.9% 0.038 119.5)

Export this scale for Tailwind in the Tailwind colors tool

#313A12 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)#3E360E0.024
Deuteranopia (no green cones)#3D36150.025
Tritanopia (no blue cones)#3437310.051
Achromatopsia (no color)#3636360.062

Harmonies

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

Complementary

The opposite hue (180°).

  • #313A12

    #313A12

    oklch(33% 0.062 120.6)

  • #3B2D50

    #3B2D50

    oklch(32.9% 0.062 301.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #313A12

    #313A12

    oklch(33% 0.062 120.6)

  • #413407

    #413407

    oklch(33% 0.062 91.8)

  • #1B3E24

    #1B3E24

    oklch(33% 0.061 150.2)

Open the analogous palette in the generator

Split complementary

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

  • #313A12

    #313A12

    oklch(33% 0.062 120.6)

  • #293355

    #293355

    oklch(32.9% 0.062 270.3)

  • #472944

    #472944

    oklch(33% 0.061 330.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #313A12

    #313A12

    oklch(33% 0.062 120.6)

  • #123952

    #123952

    oklch(33% 0.062 240.6)

  • #4F2734

    #4F2734

    oklch(33.1% 0.062 0.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #313A12

    #313A12

    oklch(33% 0.062 120.6)

  • #003D46

    #003D46

    oklch(33% 0.057 211)

  • #3B2D50

    #3B2D50

    oklch(32.9% 0.062 301.5)

  • #512822

    #512822

    oklch(33% 0.063 29.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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