#312E08

Closest named color: Pakistan Green (#283618). oklch(29.6% 0.055 104.8), rgb(49, 46, 8).

Aa

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

About this color

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

Hue familyBrowns
Lightnessdark (30%)
Chromamuted (0.055)
Temperaturewarm
Nearest namePakistan Green (#283618)
Black text1.52:1
White text13.77:1

Values

HEX#312E08
RGBrgb(49, 46, 8)
HSLhsl(56, 72%, 11%)
OKLCHoklch(29.6% 0.055 104.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 #312E08 13.77:1 AAA Lc -103.4 Preferred for body text
Black text on #312E08 1.52:1 Fails Lc 0.0 Not readable
#312E08 text on white 13.77:1 AAA Lc 100.3 Preferred for body text
#312E08 text on black 1.52: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

    #EBEBDD

    oklch(93.6% 0.019 106.8)

  3. Step 200

    200

    #DCDBC0

    oklch(88.5% 0.036 105.4)

  4. Step 300

    300

    #C6C393

    oklch(80.8% 0.064 104.8)

  5. Step 400

    400

    #AAA453

    oklch(70.6% 0.104 104.9)

  6. Step 500

    500

    #968D05

    oklch(63.1% 0.133 105)

  7. Step 600

    600

    #7E7600

    oklch(55.5% 0.118 104.9)

  8. Step 700

    700

    #6A6300

    oklch(49.1% 0.104 104.8)

  9. Step 800

    800

    #575100

    oklch(42.7% 0.09 104.7)

  10. Step 900

    900

    #484300

    oklch(37.6% 0.08 104.8)

  11. Step 950

    950 (this color)

    #312E08

    oklch(29.6% 0.055 104.8)

Export this scale for Tailwind in the Tailwind colors tool

#312E08 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)#332C040.007
Deuteranopia (no green cones)#342E0A0.006
Tritanopia (no blue cones)#352A260.050
Achromatopsia (no color)#2D2D2D0.055

Harmonies

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

Complementary

The opposite hue (180°).

  • #312E08

    #312E08

    oklch(29.6% 0.055 104.8)

  • #2A2847

    #2A2847

    oklch(29.5% 0.056 285.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #312E08

    #312E08

    oklch(29.6% 0.055 104.8)

  • #3D2808

    #3D2808

    oklch(29.6% 0.055 73.6)

  • #213316

    #213316

    oklch(29.7% 0.054 134.7)

Open the analogous palette in the generator

Split complementary

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

  • #312E08

    #312E08

    oklch(29.6% 0.055 104.8)

  • #192E48

    #192E48

    oklch(29.7% 0.055 254.6)

  • #372440

    #372440

    oklch(29.6% 0.055 314.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #312E08

    #312E08

    oklch(29.6% 0.055 104.8)

  • #023241

    #023241

    oklch(29.5% 0.054 225)

  • #402133

    #402133

    oklch(29.6% 0.055 345.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #312E08

    #312E08

    oklch(29.6% 0.055 104.8)

  • #003434

    #003434

    oklch(29.4% 0.05 194.8)

  • #2A2847

    #2A2847

    oklch(29.5% 0.056 285.4)

  • #442024

    #442024

    oklch(29.5% 0.055 14)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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