#312D08

Closest named color: Pakistan Green (#283618). oklch(29.3% 0.054 103.1), rgb(49, 45, 8).

Aa

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

About this color

#312D08 is a dark, muted brown. In OKLCH its lightness is 29%, its chroma 0.054 and its hue 103°. Its hue sits on the warm side of the wheel. The nearest named color is Pakistan Green (#283618), ΔE 0.031 away. White text reads best on it, at 13.91:1.

Hue familyBrowns
Lightnessdark (29%)
Chromamuted (0.054)
Temperaturewarm
Nearest namePakistan Green (#283618)
Black text1.50:1
White text13.91:1

Values

HEX#312D08
RGBrgb(49, 45, 8)
HSLhsl(54, 72%, 11%)
OKLCHoklch(29.3% 0.054 103.1)

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 #312D08 13.91:1 AAA Lc -103.5 Preferred for body text
Black text on #312D08 1.50:1 Fails Lc 0.0 Not readable
#312D08 text on white 13.91:1 AAA Lc 100.5 Preferred for body text
#312D08 text on black 1.50: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

    #F6F6EF

    oklch(97.1% 0.009 106.6)

  2. Step 100

    100

    #ECEBDD

    oklch(93.7% 0.019 103.4)

  3. Step 200

    200

    #DDDBC0

    oklch(88.6% 0.036 103.6)

  4. Step 300

    300

    #C8C393

    oklch(80.9% 0.064 102.7)

  5. Step 400

    400

    #ACA354

    oklch(70.6% 0.101 102.8)

  6. Step 500

    500

    #988C0C

    oklch(63.1% 0.13 103.3)

  7. Step 600

    600

    #807500

    oklch(55.5% 0.117 103)

  8. Step 700

    700

    #6C6200

    oklch(49% 0.103 102.5)

  9. Step 800

    800

    #585000

    oklch(42.6% 0.089 102.9)

  10. Step 900

    900

    #494300

    oklch(37.7% 0.08 103.8)

  11. Step 950

    950 (this color)

    #312D08

    oklch(29.3% 0.054 103.1)

Export this scale for Tailwind in the Tailwind colors tool

#312D08 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)#322B040.007
Deuteranopia (no green cones)#332D0A0.005
Tritanopia (no blue cones)#3529260.050
Achromatopsia (no color)#2C2C2C0.054

Harmonies

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

Complementary

The opposite hue (180°).

  • #312D08

    #312D08

    oklch(29.3% 0.054 103.1)

  • #282846

    #282846

    oklch(29.2% 0.054 282.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #312D08

    #312D08

    oklch(29.3% 0.054 103.1)

  • #3C2709

    #3C2709

    oklch(29.2% 0.053 72.2)

  • #213215

    #213215

    oklch(29.4% 0.054 133.7)

Open the analogous palette in the generator

Split complementary

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

  • #312D08

    #312D08

    oklch(29.3% 0.054 103.1)

  • #172D46

    #172D46

    oklch(29.2% 0.054 252.8)

  • #35243F

    #35243F

    oklch(29.3% 0.053 312.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #312D08

    #312D08

    oklch(29.3% 0.054 103.1)

  • #01323F

    #01323F

    oklch(29.4% 0.053 221.3)

  • #3E2133

    #3E2133

    oklch(29.3% 0.052 342.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #312D08

    #312D08

    oklch(29.3% 0.054 103.1)

  • #003433

    #003433

    oklch(29.4% 0.05 192.7)

  • #282846

    #282846

    oklch(29.2% 0.054 282.5)

  • #432024

    #432024

    oklch(29.3% 0.054 13.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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