#312E17

Closest named color: Pakistan Green (#283618). oklch(29.8% 0.038 101.9), rgb(49, 46, 23).

Aa

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

About this color

#312E17 is a dark, muted brown. In OKLCH its lightness is 30%, its chroma 0.038 and its hue 102°. Its hue sits on the warm side of the wheel. The nearest named color is Pakistan Green (#283618), ΔE 0.030 away. White text reads best on it, at 13.69:1.

Hue familyBrowns
Lightnessdark (30%)
Chromamuted (0.038)
Temperaturewarm
Nearest namePakistan Green (#283618)
Black text1.53:1
White text13.69:1

Values

HEX#312E17
RGBrgb(49, 46, 23)
HSLhsl(53, 36%, 14%)
OKLCHoklch(29.8% 0.038 101.9)

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 #312E17 13.69:1 AAA Lc -103.3 Preferred for body text
Black text on #312E17 1.53:1 Fails Lc 0.0 Not readable
#312E17 text on white 13.69:1 AAA Lc 100.2 Preferred for body text
#312E17 text on black 1.53: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 950.

  1. Step 50

    50

    #F6F6F1

    oklch(97.2% 0.007 106.5)

  2. Step 100

    100

    #EBEAE1

    oklch(93.5% 0.012 101.5)

  3. Step 200

    200

    #DCDAC8

    oklch(88.5% 0.024 101.7)

  4. Step 300

    300

    #C6C2A1

    oklch(80.9% 0.045 101.6)

  5. Step 400

    400

    #A9A36E

    oklch(70.8% 0.072 102.5)

  6. Step 500

    500

    #958B46

    oklch(63% 0.091 101.2)

  7. Step 600

    600

    #7F7526

    oklch(55.6% 0.099 102)

  8. Step 700

    700

    #6B6218

    oklch(49% 0.092 102.2)

  9. Step 800

    800

    #585017

    oklch(42.7% 0.076 101.2)

  10. Step 900

    900

    #48431A

    oklch(37.8% 0.06 102.4)

  11. Step 950

    950 (this color)

    #312E17

    oklch(29.8% 0.038 101.9)

Export this scale for Tailwind in the Tailwind colors tool

#312E17 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)#322D150.004
Deuteranopia (no green cones)#332E180.004
Tritanopia (no blue cones)#342B280.034
Achromatopsia (no color)#2D2D2D0.038

Harmonies

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

Complementary

The opposite hue (180°).

  • #312E17

    #312E17

    oklch(29.8% 0.038 101.9)

  • #2A2B40

    #2A2B40

    oklch(29.8% 0.038 281.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #312E17

    #312E17

    oklch(29.8% 0.038 101.9)

  • #392A17

    #392A17

    oklch(29.7% 0.038 72.1)

  • #26311D

    #26311D

    oklch(29.7% 0.038 131.8)

Open the analogous palette in the generator

Split complementary

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

  • #312E17

    #312E17

    oklch(29.8% 0.038 101.9)

  • #1F2F40

    #1F2F40

    oklch(29.9% 0.038 250.6)

  • #34283B

    #34283B

    oklch(29.9% 0.037 312.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #312E17

    #312E17

    oklch(29.8% 0.038 101.9)

  • #16323B

    #16323B

    oklch(29.9% 0.037 221.3)

  • #3A2633

    #3A2633

    oklch(29.8% 0.037 340.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #312E17

    #312E17

    oklch(29.8% 0.038 101.9)

  • #133332

    #133332

    oklch(29.7% 0.038 192.6)

  • #2A2B40

    #2A2B40

    oklch(29.8% 0.038 281.7)

  • #3E2528

    #3E2528

    oklch(29.7% 0.038 11.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #312E17 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.