#313E1A

Closest named color: Dark Olive (#373E02). oklch(34.3% 0.059 125.8), rgb(49, 62, 26).

Aa

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

About this color

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

Hue familyGreens
Lightnessdark (34%)
Chromamuted (0.059)
Temperaturein between
Nearest nameDark Olive (#373E02)
Black text1.83:1
White text11.44:1

Values

HEX#313E1A
RGBrgb(49, 62, 26)
HSLhsl(82, 41%, 17%)
OKLCHoklch(34.3% 0.059 125.8)

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 #313E1A 11.44:1 AAA Lc -100.0 Preferred for body text
Black text on #313E1A 1.83:1 Fails Lc 7.5 Not readable
#313E1A text on white 11.44:1 AAA Lc 96.3 Preferred for body text
#313E1A text on black 1.83: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

    #E8EBE2

    oklch(93.5% 0.012 121.7)

  3. Step 200

    200

    #D5DCCB

    oklch(88.4% 0.024 125.2)

  4. Step 300

    300

    #B9C6A7

    oklch(80.8% 0.045 125.9)

  5. Step 400

    400

    #96A978

    oklch(70.7% 0.071 125.4)

  6. Step 500

    500

    #7C9355

    oklch(63% 0.09 125.5)

  7. Step 600

    600

    #657D39

    oklch(55.5% 0.099 125.6)

  8. Step 700

    700

    #546A2B

    oklch(49.2% 0.093 125.7)

  9. Step 800

    800

    #455625

    oklch(42.6% 0.076 125.3)

  10. Step 900

    900 (this color)

    #313E1A

    oklch(34.3% 0.059 125.8)

  11. Step 950

    950

    #222A15

    oklch(27.1% 0.038 125.8)

Export this scale for Tailwind in the Tailwind colors tool

#313E1A 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)#413A170.028
Deuteranopia (no green cones)#3F391C0.029
Tritanopia (no blue cones)#333B360.048
Achromatopsia (no color)#3A3A3A0.060

Harmonies

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

Complementary

The opposite hue (180°).

  • #313E1A

    #313E1A

    oklch(34.3% 0.059 125.8)

  • #403051

    #403051

    oklch(34.2% 0.06 305.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #313E1A

    #313E1A

    oklch(34.3% 0.059 125.8)

  • #42380F

    #42380F

    oklch(34.2% 0.059 95.3)

  • #1B422B

    #1B422B

    oklch(34.3% 0.06 155.5)

Open the analogous palette in the generator

Split complementary

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

  • #313E1A

    #313E1A

    oklch(34.3% 0.059 125.8)

  • #303657

    #303657

    oklch(34.3% 0.058 275.1)

  • #4C2C44

    #4C2C44

    oklch(34.2% 0.06 336.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #313E1A

    #313E1A

    oklch(34.3% 0.059 125.8)

  • #1C3B55

    #1C3B55

    oklch(34.2% 0.059 246)

  • #522B34

    #522B34

    oklch(34.3% 0.059 5.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #313E1A

    #313E1A

    oklch(34.3% 0.059 125.8)

  • #03404C

    #03404C

    oklch(34.3% 0.059 215.7)

  • #403051

    #403051

    oklch(34.2% 0.06 305.8)

  • #532D23

    #532D23

    oklch(34.3% 0.059 35.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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