#311B02

Closest named color: Dark Brown (#341C02). oklch(24.6% 0.052 66.3), rgb(49, 27, 2).

Aa

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

About this color

#311B02 is a very dark, muted brown. In OKLCH its lightness is 25%, its chroma 0.052 and its hue 66°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Brown (#341C02), ΔE 0.008 away. White text reads best on it, at 16.30:1.

Hue familyBrowns
Lightnessvery dark (25%)
Chromamuted (0.052)
Temperaturewarm
Nearest nameDark Brown (#341C02)
Black text1.28:1
White text16.30:1

Values

HEX#311B02
RGBrgb(49, 27, 2)
HSLhsl(32, 92%, 10%)
OKLCHoklch(24.6% 0.052 66.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 #311B02 16.30:1 AAA Lc -105.6 Preferred for body text
Black text on #311B02 1.28:1 Fails Lc 0.0 Not readable
#311B02 text on white 16.30:1 AAA Lc 103.1 Preferred for body text
#311B02 text on black 1.28: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

    #F9F4F0

    oklch(97% 0.008 61.5)

  2. Step 100

    100

    #F2E8DE

    oklch(93.6% 0.017 67.6)

  3. Step 200

    200

    #E9D5C2

    oklch(88.4% 0.034 65.9)

  4. Step 300

    300

    #DCB997

    oklch(80.8% 0.061 66)

  5. Step 400

    400

    #CA945C

    oklch(70.7% 0.098 66.1)

  6. Step 500

    500

    #BC7826

    oklch(63.1% 0.126 66)

  7. Step 600

    600

    #A36200

    oklch(55.6% 0.124 66.2)

  8. Step 700

    700

    #895200

    oklch(49.1% 0.109 66.6)

  9. Step 800

    800

    #714300

    oklch(42.8% 0.095 66.9)

  10. Step 900

    900

    #5E3703

    oklch(37.6% 0.082 66)

  11. Step 950

    950 (this color)

    #311B02

    oklch(24.6% 0.052 66.3)

Export this scale for Tailwind in the Tailwind colors tool

#311B02 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)#221D000.034
Deuteranopia (no green cones)#2722020.030
Tritanopia (no blue cones)#3716160.040
Achromatopsia (no color)#2020200.052

Harmonies

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

Complementary

The opposite hue (180°).

  • #311B02

    #311B02

    oklch(24.6% 0.052 66.3)

  • #082338

    #082338

    oklch(24.8% 0.051 245.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #311B02

    #311B02

    oklch(24.6% 0.052 66.3)

  • #35170E

    #35170E

    oklch(24.6% 0.051 37.5)

  • #282000

    #282000

    oklch(24.6% 0.05 95.4)

Open the analogous palette in the generator

Split complementary

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

  • #311B02

    #311B02

    oklch(24.6% 0.052 66.3)

  • #00262E

    #00262E

    oklch(24.7% 0.044 215.2)

  • #1A1E39

    #1A1E39

    oklch(24.6% 0.052 275.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #311B02

    #311B02

    oklch(24.6% 0.052 66.3)

  • #002724

    #002724

    oklch(24.6% 0.043 187.1)

  • #271A34

    #271A34

    oklch(24.7% 0.051 306.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #311B02

    #311B02

    oklch(24.6% 0.052 66.3)

  • #062816

    #062816

    oklch(24.7% 0.052 156.1)

  • #082338

    #082338

    oklch(24.8% 0.051 245.6)

  • #30162A

    #30162A

    oklch(24.6% 0.053 336.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #311B02 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.