#313D20

Closest named color: Pakistan Green (#283618). oklch(34.1% 0.05 127.2), rgb(49, 61, 32).

Aa

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

About this color

#313D20 is a dark, muted green. In OKLCH its lightness is 34%, its chroma 0.050 and its hue 127°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pakistan Green (#283618), ΔE 0.029 away. White text reads best on it, at 11.54:1.

Hue familyGreens
Lightnessdark (34%)
Chromamuted (0.050)
Temperaturein between
Nearest namePakistan Green (#283618)
Black text1.81:1
White text11.54:1

Values

HEX#313D20
RGBrgb(49, 61, 32)
HSLhsl(85, 31%, 18%)
OKLCHoklch(34.1% 0.05 127.2)

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 #313D20 11.54:1 AAA Lc -100.2 Preferred for body text
Black text on #313D20 1.81:1 Fails Lc 7.3 Not readable
#313D20 text on white 11.54:1 AAA Lc 96.6 Preferred for body text
#313D20 text on black 1.81: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

    #F4F6F2

    oklch(97.1% 0.006 128.5)

  2. Step 100

    100

    #E8EBE4

    oklch(93.6% 0.01 125.7)

  3. Step 200

    200

    #D5DCCD

    oklch(88.5% 0.022 127.4)

  4. Step 300

    300

    #BAC6AC

    oklch(81% 0.038 127.5)

  5. Step 400

    400

    #96A880

    oklch(70.7% 0.06 127.6)

  6. Step 500

    500

    #7D925F

    oklch(63% 0.076 126.7)

  7. Step 600

    600

    #667C46

    oklch(55.5% 0.082 127)

  8. Step 700

    700

    #556937

    oklch(49.2% 0.077 126.9)

  9. Step 800

    800

    #45562E

    oklch(42.8% 0.065 127.7)

  10. Step 900

    900 (this color)

    #313D20

    oklch(34.1% 0.05 127.2)

  11. Step 950

    950

    #222918

    oklch(26.9% 0.032 126.6)

Export this scale for Tailwind in the Tailwind colors tool

#313D20 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)#403A1E0.025
Deuteranopia (no green cones)#3E39220.026
Tritanopia (no blue cones)#323B360.039
Achromatopsia (no color)#3939390.050

Harmonies

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

Complementary

The opposite hue (180°).

  • #313D20

    #313D20

    oklch(34.1% 0.05 127.2)

  • #3F314C

    #3F314C

    oklch(34% 0.05 307.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #313D20

    #313D20

    oklch(34.1% 0.05 127.2)

  • #3F3818

    #3F3818

    oklch(34% 0.049 97.2)

  • #20402E

    #20402E

    oklch(34.1% 0.05 157.7)

Open the analogous palette in the generator

Split complementary

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

  • #313D20

    #313D20

    oklch(34.1% 0.05 127.2)

  • #323652

    #323652

    oklch(34.2% 0.049 277.2)

  • #492E41

    #492E41

    oklch(34.1% 0.049 338.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #313D20

    #313D20

    oklch(34.1% 0.05 127.2)

  • #223A51

    #223A51

    oklch(34% 0.051 248.5)

  • #4E2D34

    #4E2D34

    oklch(34.1% 0.05 6.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #313D20

    #313D20

    oklch(34.1% 0.05 127.2)

  • #133E49

    #133E49

    oklch(34% 0.05 217.9)

  • #3F314C

    #3F314C

    oklch(34% 0.05 307.7)

  • #4F2F25

    #4F2F25

    oklch(34.2% 0.05 38.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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