#313D2E

Closest named color: Onyx (#343A40). oklch(34.4% 0.03 139.4), rgb(49, 61, 46).

Aa

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

About this color

#313D2E is a dark, muted green. In OKLCH its lightness is 34%, its chroma 0.030 and its hue 139°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Onyx (#343A40), ΔE 0.037 away. White text reads best on it, at 11.42:1.

Hue familyGreens
Lightnessdark (34%)
Chromamuted (0.030)
Temperaturein between
Nearest nameOnyx (#343A40)
Black text1.83:1
White text11.42:1

Values

HEX#313D2E
RGBrgb(49, 61, 46)
HSLhsl(108, 14%, 21%)
OKLCHoklch(34.4% 0.03 139.4)

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 #313D2E 11.42:1 AAA Lc -100.1 Preferred for body text
Black text on #313D2E 1.83:1 Fails Lc 7.5 Not readable
#313D2E text on white 11.42:1 AAA Lc 96.3 Preferred for body text
#313D2E 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

    #F4F6F4

    oklch(97.1% 0.003 145.5)

  2. Step 100

    100

    #E8EBE7

    oklch(93.7% 0.006 137.8)

  3. Step 200

    200

    #D5DBD3

    oklch(88.5% 0.013 137.8)

  4. Step 300

    300

    #B9C4B7

    oklch(80.8% 0.022 140.9)

  5. Step 400

    400

    #95A691

    oklch(70.6% 0.036 139.7)

  6. Step 500

    500

    #7B9176

    oklch(63.2% 0.047 139.9)

  7. Step 600

    600

    #647B5F

    oklch(55.6% 0.05 140.1)

  8. Step 700

    700

    #53674E

    oklch(49% 0.046 139.4)

  9. Step 800

    800

    #445440

    oklch(42.6% 0.038 139.4)

  10. Step 900

    900 (this color)

    #313D2E

    oklch(34.4% 0.03 139.4)

  11. Step 950

    950

    #222920

    oklch(27.1% 0.019 138.8)

Export this scale for Tailwind in the Tailwind colors tool

#313D2E 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)#3E3A2D0.022
Deuteranopia (no green cones)#3C392F0.022
Tritanopia (no blue cones)#303C390.020
Achromatopsia (no color)#3A3A3A0.030

Harmonies

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

Complementary

The opposite hue (180°).

  • #313D2E

    #313D2E

    oklch(34.4% 0.03 139.4)

  • #403443

    #403443

    oklch(34.4% 0.03 319.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #313D2E

    #313D2E

    oklch(34.4% 0.03 139.4)

  • #3A3B28

    #3A3B28

    oklch(34.6% 0.031 110.4)

  • #293E36

    #293E36

    oklch(34.3% 0.03 168.9)

Open the analogous palette in the generator

Split complementary

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

  • #313D2E

    #313D2E

    oklch(34.4% 0.03 139.4)

  • #383748

    #383748

    oklch(34.5% 0.029 287.4)

  • #45333B

    #45333B

    oklch(34.4% 0.029 350.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #313D2E

    #313D2E

    oklch(34.4% 0.03 139.4)

  • #303A49

    #303A49

    oklch(34.6% 0.03 258.4)

  • #483333

    #483333

    oklch(34.5% 0.031 18.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #313D2E

    #313D2E

    oklch(34.4% 0.03 139.4)

  • #283C46

    #283C46

    oklch(34.4% 0.031 230.4)

  • #403443

    #403443

    oklch(34.4% 0.03 319.5)

  • #46352B

    #46352B

    oklch(34.5% 0.03 51.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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