#313B18

Closest named color: Pakistan Green (#283618). oklch(33.4% 0.057 122.7), rgb(49, 59, 24).

Aa

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

About this color

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

Hue familyBrowns
Lightnessdark (33%)
Chromamuted (0.057)
Temperaturein between
Nearest namePakistan Green (#283618)
Black text1.76:1
White text11.86:1

Values

HEX#313B18
RGBrgb(49, 59, 24)
HSLhsl(77, 42%, 16%)
OKLCHoklch(33.4% 0.057 122.7)

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 #313B18 11.86:1 AAA Lc -100.8 Preferred for body text
Black text on #313B18 1.76:1 Fails Lc 0.0 Not readable
#313B18 text on white 11.86:1 AAA Lc 97.2 Preferred for body text
#313B18 text on black 1.76: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

    #D6DCCB

    oklch(88.5% 0.024 122.8)

  4. Step 300

    300

    #BBC6A8

    oklch(81% 0.043 123.7)

  5. Step 400

    400

    #99A879

    oklch(70.8% 0.067 122.5)

  6. Step 500

    500

    #809256

    oklch(63.1% 0.086 122.5)

  7. Step 600

    600

    #697C3A

    oklch(55.5% 0.094 122.8)

  8. Step 700

    700

    #58692C

    oklch(49.2% 0.088 122.6)

  9. Step 800

    800

    #485526

    oklch(42.6% 0.072 122.3)

  10. Step 900

    900 (this color)

    #313B18

    oklch(33.4% 0.057 122.7)

  11. Step 950

    950

    #232915

    oklch(26.9% 0.036 122.4)

Export this scale for Tailwind in the Tailwind colors tool

#313B18 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)#3E37150.024
Deuteranopia (no green cones)#3D371A0.024
Tritanopia (no blue cones)#3338330.047
Achromatopsia (no color)#3737370.057

Harmonies

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

Complementary

The opposite hue (180°).

  • #313B18

    #313B18

    oklch(33.4% 0.057 122.7)

  • #3C2F4E

    #3C2F4E

    oklch(33.4% 0.056 302.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #313B18

    #313B18

    oklch(33.4% 0.057 122.7)

  • #41350F

    #41350F

    oklch(33.4% 0.057 91.3)

  • #1D3F28

    #1D3F28

    oklch(33.5% 0.057 152.7)

Open the analogous palette in the generator

Split complementary

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

  • #313B18

    #313B18

    oklch(33.4% 0.057 122.7)

  • #2C3454

    #2C3454

    oklch(33.3% 0.058 272.3)

  • #482B43

    #482B43

    oklch(33.5% 0.057 333.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #313B18

    #313B18

    oklch(33.4% 0.057 122.7)

  • #193951

    #193951

    oklch(33.2% 0.057 243.4)

  • #4E2934

    #4E2934

    oklch(33.3% 0.057 1.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #313B18

    #313B18

    oklch(33.4% 0.057 122.7)

  • #033E48

    #033E48

    oklch(33.5% 0.057 212.9)

  • #3C2F4E

    #3C2F4E

    oklch(33.4% 0.056 302.8)

  • #502B23

    #502B23

    oklch(33.5% 0.057 33.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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