#31310C

Closest named color: Pakistan Green (#283618). oklch(30.4% 0.055 109.3), rgb(49, 49, 12).

Aa

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

About this color

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

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

Values

HEX#31310C
RGBrgb(49, 49, 12)
HSLhsl(60, 61%, 12%)
OKLCHoklch(30.4% 0.055 109.3)

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 #31310C 13.33:1 AAA Lc -102.9 Preferred for body text
Black text on #31310C 1.57:1 Fails Lc 0.0 Not readable
#31310C text on white 13.33:1 AAA Lc 99.7 Preferred for body text
#31310C text on black 1.57: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

    #EAEBDD

    oklch(93.5% 0.019 110.1)

  3. Step 200

    200

    #DADCC1

    oklch(88.6% 0.036 110.6)

  4. Step 300

    300

    #C3C594

    oklch(81% 0.066 109.7)

  5. Step 400

    400

    #A5A655

    oklch(70.7% 0.104 109.4)

  6. Step 500

    500

    #908F12

    oklch(63.1% 0.132 109.2)

  7. Step 600

    600

    #797800

    oklch(55.5% 0.121 109.2)

  8. Step 700

    700

    #666500

    oklch(49.1% 0.107 109.1)

  9. Step 800

    800

    #535300

    oklch(42.8% 0.093 109.8)

  10. Step 900

    900

    #454500

    oklch(37.8% 0.082 109.8)

  11. Step 950

    950 (this color)

    #31310C

    oklch(30.4% 0.055 109.3)

Export this scale for Tailwind in the Tailwind colors tool

#31310C 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)#362F070.010
Deuteranopia (no green cones)#36300E0.010
Tritanopia (no blue cones)#352D290.050
Achromatopsia (no color)#2F2F2F0.055

Harmonies

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

Complementary

The opposite hue (180°).

  • #31310C

    #31310C

    oklch(30.4% 0.055 109.3)

  • #2E2A49

    #2E2A49

    oklch(30.5% 0.055 288.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31310C

    #31310C

    oklch(30.4% 0.055 109.3)

  • #3D2B09

    #3D2B09

    oklch(30.3% 0.054 79.5)

  • #20351A

    #20351A

    oklch(30.3% 0.054 139)

Open the analogous palette in the generator

Split complementary

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

  • #31310C

    #31310C

    oklch(30.4% 0.055 109.3)

  • #1E2F4A

    #1E2F4A

    oklch(30.4% 0.054 259.3)

  • #3B2540

    #3B2540

    oklch(30.4% 0.056 320)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31310C

    #31310C

    oklch(30.4% 0.055 109.3)

  • #073445

    #073445

    oklch(30.5% 0.055 228.9)

  • #432333

    #432333

    oklch(30.5% 0.054 349.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31310C

    #31310C

    oklch(30.4% 0.055 109.3)

  • #003739

    #003739

    oklch(30.6% 0.052 198.8)

  • #2E2A49

    #2E2A49

    oklch(30.5% 0.055 288.6)

  • #472324

    #472324

    oklch(30.5% 0.055 19)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #31310C 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.