#312B09

Closest named color: Pakistan Green (#283618). oklch(28.8% 0.051 99.1), rgb(49, 43, 9).

Aa

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

About this color

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

Hue familyBrowns
Lightnessdark (29%)
Chromamuted (0.051)
Temperaturewarm
Nearest namePakistan Green (#283618)
Black text1.48:1
White text14.18:1

Values

HEX#312B09
RGBrgb(49, 43, 9)
HSLhsl(51, 69%, 11%)
OKLCHoklch(28.8% 0.051 99.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 #312B09 14.18:1 AAA Lc -103.8 Preferred for body text
Black text on #312B09 1.48:1 Fails Lc 0.0 Not readable
#312B09 text on white 14.18:1 AAA Lc 100.8 Preferred for body text
#312B09 text on black 1.48: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

    #F7F6F0

    oklch(97.2% 0.008 98.9)

  2. Step 100

    100

    #ECEADD

    oklch(93.5% 0.017 99.6)

  3. Step 200

    200

    #DEDAC1

    oklch(88.5% 0.034 99.6)

  4. Step 300

    300

    #CAC296

    oklch(81% 0.059 98.9)

  5. Step 400

    400

    #AFA258

    oklch(70.7% 0.096 99.5)

  6. Step 500

    500

    #9C8A1C

    oklch(63.1% 0.123 99.2)

  7. Step 600

    600

    #847400

    oklch(55.7% 0.116 99.7)

  8. Step 700

    700

    #6F6100

    oklch(49.1% 0.102 99.4)

  9. Step 800

    800

    #5B4F00

    oklch(42.7% 0.088 99.2)

  10. Step 900

    900

    #4C4200

    oklch(37.8% 0.078 99.5)

  11. Step 950

    950 (this color)

    #312B09

    oklch(28.8% 0.051 99.1)

Export this scale for Tailwind in the Tailwind colors tool

#312B09 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)#302A050.005
Deuteranopia (no green cones)#322C0B0.004
Tritanopia (no blue cones)#3527240.047
Achromatopsia (no color)#2B2B2B0.051

Harmonies

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

Complementary

The opposite hue (180°).

  • #312B09

    #312B09

    oklch(28.8% 0.051 99.1)

  • #252843

    #252843

    oklch(28.8% 0.049 278)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #312B09

    #312B09

    oklch(28.8% 0.051 99.1)

  • #3B260B

    #3B260B

    oklch(28.9% 0.051 69.9)

  • #233013

    #233013

    oklch(28.9% 0.051 129.1)

Open the analogous palette in the generator

Split complementary

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

  • #312B09

    #312B09

    oklch(28.8% 0.051 99.1)

  • #152C43

    #152C43

    oklch(28.7% 0.052 250.1)

  • #32233E

    #32233E

    oklch(28.7% 0.052 309)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #312B09

    #312B09

    oklch(28.8% 0.051 99.1)

  • #02303C

    #02303C

    oklch(28.7% 0.051 220.5)

  • #3B2033

    #3B2033

    oklch(28.7% 0.051 338.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #312B09

    #312B09

    oklch(28.8% 0.051 99.1)

  • #003230

    #003230

    oklch(28.6% 0.049 190.5)

  • #252843

    #252843

    oklch(28.8% 0.049 278)

  • #401F25

    #401F25

    oklch(28.7% 0.051 9.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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