#313E20

Closest named color: Dark Olive (#373E02). oklch(34.4% 0.052 128), rgb(49, 62, 32).

Aa

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

About this color

#313E20 is a dark, muted green. In OKLCH its lightness is 34%, its chroma 0.052 and its hue 128°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Olive (#373E02), ΔE 0.029 away. White text reads best on it, at 11.40:1.

Hue familyGreens
Lightnessdark (34%)
Chromamuted (0.052)
Temperaturein between
Nearest nameDark Olive (#373E02)
Black text1.84:1
White text11.40:1

Values

HEX#313E20
RGBrgb(49, 62, 32)
HSLhsl(86, 32%, 18%)
OKLCHoklch(34.4% 0.052 128)

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 #313E20 11.40:1 AAA Lc -100.0 Preferred for body text
Black text on #313E20 1.84:1 Fails Lc 7.6 Not readable
#313E20 text on white 11.40:1 AAA Lc 96.3 Preferred for body text
#313E20 text on black 1.84: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

    #E8EBE3

    oklch(93.6% 0.011 123.5)

  3. Step 200

    200

    #D5DCCD

    oklch(88.5% 0.022 127.4)

  4. Step 300

    300

    #B9C6AB

    oklch(80.9% 0.04 128.3)

  5. Step 400

    400

    #95A87F

    oklch(70.6% 0.061 128.1)

  6. Step 500

    500

    #7B935E

    oklch(63.1% 0.08 128.3)

  7. Step 600

    600

    #657D44

    oklch(55.6% 0.086 127.6)

  8. Step 700

    700

    #536936

    oklch(49% 0.08 128.2)

  9. Step 800

    800

    #44562D

    oklch(42.7% 0.067 128.3)

  10. Step 900

    900 (this color)

    #313E20

    oklch(34.4% 0.052 128)

  11. Step 950

    950

    #222A18

    oklch(27.2% 0.034 127.9)

Export this scale for Tailwind in the Tailwind colors tool

#313E20 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)#413A1E0.028
Deuteranopia (no green cones)#3F3A220.027
Tritanopia (no blue cones)#323C370.040
Achromatopsia (no color)#3A3A3A0.052

Harmonies

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

Complementary

The opposite hue (180°).

  • #313E20

    #313E20

    oklch(34.4% 0.052 128)

  • #40314E

    #40314E

    oklch(34.3% 0.053 307.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #313E20

    #313E20

    oklch(34.4% 0.052 128)

  • #403917

    #403917

    oklch(34.3% 0.052 97.9)

  • #1F412E

    #1F412E

    oklch(34.3% 0.052 157.6)

Open the analogous palette in the generator

Split complementary

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

  • #313E20

    #313E20

    oklch(34.4% 0.052 128)

  • #333654

    #333654

    oklch(34.4% 0.053 278.9)

  • #4A2E42

    #4A2E42

    oklch(34.3% 0.051 337.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #313E20

    #313E20

    oklch(34.4% 0.052 128)

  • #223B52

    #223B52

    oklch(34.3% 0.051 247.6)

  • #502D34

    #502D34

    oklch(34.4% 0.052 7.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #313E20

    #313E20

    oklch(34.4% 0.052 128)

  • #123F4B

    #123F4B

    oklch(34.3% 0.052 219)

  • #40314E

    #40314E

    oklch(34.3% 0.053 307.5)

  • #502F25

    #502F25

    oklch(34.4% 0.052 37.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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