#312B01

Closest named color: Pakistan Green (#283618). oklch(28.7% 0.059 101), rgb(49, 43, 1).

Aa

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

About this color

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

Hue familyBrowns
Lightnessdark (29%)
Chromamuted (0.059)
Temperaturewarm
Nearest namePakistan Green (#283618)
Black text1.47:1
White text14.22:1

Values

HEX#312B01
RGBrgb(49, 43, 1)
HSLhsl(53, 96%, 10%)
OKLCHoklch(28.7% 0.059 101)

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 #312B01 14.22:1 AAA Lc -103.8 Preferred for body text
Black text on #312B01 1.47:1 Fails Lc 0.0 Not readable
#312B01 text on white 14.22:1 AAA Lc 100.8 Preferred for body text
#312B01 text on black 1.47: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

    #F7F6EF

    oklch(97.2% 0.009 100)

  2. Step 100

    100

    #ECEBDB

    oklch(93.7% 0.021 103.9)

  3. Step 200

    200

    #DEDABE

    oklch(88.4% 0.038 100.4)

  4. Step 300

    300

    #CAC38E

    oklch(81% 0.071 101.5)

  5. Step 400

    400

    #B0A249

    oklch(70.6% 0.111 100.5)

  6. Step 500

    500

    #9B8B00

    oklch(63.1% 0.132 101.2)

  7. Step 600

    600

    #827400

    oklch(55.5% 0.116 101)

  8. Step 700

    700

    #6E6200

    oklch(49.2% 0.103 101)

  9. Step 800

    800

    #5A5000

    oklch(42.8% 0.089 101.1)

  10. Step 900

    900

    #4B4200

    oklch(37.7% 0.078 100.6)

  11. Step 950

    950 (this color)

    #312B01

    oklch(28.7% 0.059 101)

Export this scale for Tailwind in the Tailwind colors tool

#312B01 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)#3029000.007
Deuteranopia (no green cones)#322C030.004
Tritanopia (no blue cones)#3627230.054
Achromatopsia (no color)#2B2B2B0.059

Harmonies

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

Complementary

The opposite hue (180°).

  • #312B01

    #312B01

    oklch(28.7% 0.059 101)

  • #262647

    #262647

    oklch(28.6% 0.06 282)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #312B01

    #312B01

    oklch(28.7% 0.059 101)

  • #3D2503

    #3D2503

    oklch(28.8% 0.059 70.7)

  • #20300F

    #20300F

    oklch(28.6% 0.058 130.9)

Open the analogous palette in the generator

Split complementary

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

  • #312B01

    #312B01

    oklch(28.7% 0.059 101)

  • #122C47

    #122C47

    oklch(28.8% 0.059 251.4)

  • #342140

    #342140

    oklch(28.6% 0.06 311.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #312B01

    #312B01

    oklch(28.7% 0.059 101)

  • #00303D

    #00303D

    oklch(28.7% 0.053 221.7)

  • #3E1E33

    #3E1E33

    oklch(28.7% 0.059 341.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #312B01

    #312B01

    oklch(28.7% 0.059 101)

  • #003230

    #003230

    oklch(28.6% 0.049 190.5)

  • #262647

    #262647

    oklch(28.6% 0.06 282)

  • #431D23

    #431D23

    oklch(28.7% 0.059 11.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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