#31270B

Closest named color: Dark Brown (#341C02). oklch(27.7% 0.045 89.4), rgb(49, 39, 11).

Aa

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

About this color

#31270B is a dark, muted brown. In OKLCH its lightness is 28%, its chroma 0.045 and its hue 89°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Brown (#341C02), ΔE 0.033 away. White text reads best on it, at 14.73:1.

Hue familyBrowns
Lightnessdark (28%)
Chromamuted (0.045)
Temperaturewarm
Nearest nameDark Brown (#341C02)
Black text1.42:1
White text14.73:1

Values

HEX#31270B
RGBrgb(49, 39, 11)
HSLhsl(44, 63%, 12%)
OKLCHoklch(27.7% 0.045 89.4)

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 #31270B 14.73:1 AAA Lc -104.4 Preferred for body text
Black text on #31270B 1.42:1 Fails Lc 0.0 Not readable
#31270B text on white 14.73:1 AAA Lc 101.5 Preferred for body text
#31270B text on black 1.42: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

    #F7F5F0

    oklch(97% 0.007 88.6)

  2. Step 100

    100

    #EEEADF

    oklch(93.7% 0.015 90.2)

  3. Step 200

    200

    #E1D9C4

    oklch(88.6% 0.029 89.6)

  4. Step 300

    300

    #CEC09A

    oklch(81% 0.053 90.2)

  5. Step 400

    400

    #B69E61

    oklch(70.7% 0.085 88.7)

  6. Step 500

    500

    #A48630

    oklch(63.2% 0.109 89.3)

  7. Step 600

    600

    #8E6F00

    oklch(55.6% 0.114 89.2)

  8. Step 700

    700

    #775D00

    oklch(49.1% 0.1 89.6)

  9. Step 800

    800

    #624C00

    oklch(42.8% 0.087 89.5)

  10. Step 900

    900

    #513F0A

    oklch(37.7% 0.071 88.5)

  11. Step 950

    950 (this color)

    #31270B

    oklch(27.7% 0.045 89.4)

Export this scale for Tailwind in the Tailwind colors tool

#31270B 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)#2C26080.012
Deuteranopia (no green cones)#2F290C0.007
Tritanopia (no blue cones)#3623210.041
Achromatopsia (no color)#2828280.045

Harmonies

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

Complementary

The opposite hue (180°).

  • #31270B

    #31270B

    oklch(27.7% 0.045 89.4)

  • #1F273F

    #1F273F

    oklch(27.7% 0.046 269.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31270B

    #31270B

    oklch(27.7% 0.045 89.4)

  • #382210

    #382210

    oklch(27.6% 0.045 58.7)

  • #262B10

    #262B10

    oklch(27.7% 0.045 118.1)

Open the analogous palette in the generator

Split complementary

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

  • #31270B

    #31270B

    oklch(27.7% 0.045 89.4)

  • #112B3C

    #112B3C

    oklch(27.7% 0.045 239.8)

  • #2B233B

    #2B233B

    oklch(27.7% 0.045 298.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31270B

    #31270B

    oklch(27.7% 0.045 89.4)

  • #042E34

    #042E34

    oklch(27.7% 0.045 209.3)

  • #352033

    #352033

    oklch(27.8% 0.045 330.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31270B

    #31270B

    oklch(27.7% 0.045 89.4)

  • #072F29

    #072F29

    oklch(27.6% 0.045 180.7)

  • #1F273F

    #1F273F

    oklch(27.7% 0.046 269.2)

  • #3A1E28

    #3A1E28

    oklch(27.7% 0.046 357.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #31270B 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.