#313A18

Closest named color: Pakistan Green (#283618). oklch(33.1% 0.055 121.7), rgb(49, 58, 24).

Aa

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

About this color

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

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

Values

HEX#313A18
RGBrgb(49, 58, 24)
HSLhsl(76, 41%, 16%)
OKLCHoklch(33.1% 0.055 121.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 #313A18 12.00:1 AAA Lc -101.0 Preferred for body text
Black text on #313A18 1.74:1 Fails Lc 0.0 Not readable
#313A18 text on white 12.00:1 AAA Lc 97.5 Preferred for body text
#313A18 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

    #E8EBE3

    oklch(93.6% 0.011 123.5)

  3. Step 200

    200

    #D6DCCB

    oklch(88.5% 0.024 122.8)

  4. Step 300

    300

    #BCC5A8

    oklch(80.9% 0.041 121.3)

  5. Step 400

    400

    #9AA779

    oklch(70.6% 0.066 120.9)

  6. Step 500

    500

    #819257

    oklch(63.2% 0.084 122)

  7. Step 600

    600

    #6B7C3B

    oklch(55.7% 0.092 121.6)

  8. Step 700

    700

    #59682D

    oklch(49.1% 0.085 121.5)

  9. Step 800

    800

    #495527

    oklch(42.7% 0.07 121.5)

  10. Step 900

    900 (this color)

    #313A18

    oklch(33.1% 0.055 121.7)

  11. Step 950

    950

    #242916

    oklch(27% 0.034 120.7)

Export this scale for Tailwind in the Tailwind colors tool

#313A18 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)#3D37150.021
Deuteranopia (no green cones)#3C361A0.023
Tritanopia (no blue cones)#3337320.045
Achromatopsia (no color)#3636360.055

Harmonies

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

Complementary

The opposite hue (180°).

  • #313A18

    #313A18

    oklch(33.1% 0.055 121.7)

  • #3B2F4D

    #3B2F4D

    oklch(33.2% 0.054 301.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #313A18

    #313A18

    oklch(33.1% 0.055 121.7)

  • #403510

    #403510

    oklch(33.2% 0.055 92.5)

  • #1E3E27

    #1E3E27

    oklch(33.2% 0.056 151.4)

Open the analogous palette in the generator

Split complementary

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

  • #313A18

    #313A18

    oklch(33.1% 0.055 121.7)

  • #2C3452

    #2C3452

    oklch(33.2% 0.054 271.8)

  • #462B42

    #462B42

    oklch(33.1% 0.054 332.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #313A18

    #313A18

    oklch(33.1% 0.055 121.7)

  • #19394F

    #19394F

    oklch(33.1% 0.054 241.1)

  • #4D2933

    #4D2933

    oklch(33.1% 0.055 2.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #313A18

    #313A18

    oklch(33.1% 0.055 121.7)

  • #053D46

    #053D46

    oklch(33.1% 0.055 211.7)

  • #3B2F4D

    #3B2F4D

    oklch(33.2% 0.054 301.9)

  • #4E2A24

    #4E2A24

    oklch(33% 0.055 30.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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