#31270C

Closest named color: Dark Brown (#341C02). oklch(27.8% 0.044 88.9), rgb(49, 39, 12).

Aa

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

About this color

#31270C is a dark, muted brown. In OKLCH its lightness is 28%, its chroma 0.044 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.72:1.

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

Values

HEX#31270C
RGBrgb(49, 39, 12)
HSLhsl(44, 61%, 12%)
OKLCHoklch(27.8% 0.044 88.9)

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

    #CEBF9B

    oklch(80.8% 0.051 88.1)

  5. Step 400

    400

    #B69E62

    oklch(70.7% 0.084 88.4)

  6. Step 500

    500

    #A48633

    oklch(63.2% 0.107 88.8)

  7. Step 600

    600

    #8E6F00

    oklch(55.6% 0.114 89.2)

  8. Step 700

    700

    #785D00

    oklch(49.2% 0.101 88.9)

  9. Step 800

    800

    #624C00

    oklch(42.8% 0.087 89.5)

  10. Step 900

    900

    #503F0D

    oklch(37.6% 0.069 89)

  11. Step 950

    950 (this color)

    #31270C

    oklch(27.8% 0.044 88.9)

Export this scale for Tailwind in the Tailwind colors tool

#31270C 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)#2C27090.011
Deuteranopia (no green cones)#2F290D0.007
Tritanopia (no blue cones)#3623210.040
Achromatopsia (no color)#2828280.044

Harmonies

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

Complementary

The opposite hue (180°).

  • #31270C

    #31270C

    oklch(27.8% 0.044 88.9)

  • #1F273E

    #1F273E

    oklch(27.7% 0.044 268.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31270C

    #31270C

    oklch(27.8% 0.044 88.9)

  • #382311

    #382311

    oklch(27.8% 0.043 60.2)

  • #262B11

    #262B11

    oklch(27.7% 0.043 118.3)

Open the analogous palette in the generator

Split complementary

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

  • #31270C

    #31270C

    oklch(27.8% 0.044 88.9)

  • #112B3B

    #112B3B

    oklch(27.7% 0.044 238.2)

  • #2B233B

    #2B233B

    oklch(27.7% 0.045 298.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31270C

    #31270C

    oklch(27.8% 0.044 88.9)

  • #052E34

    #052E34

    oklch(27.7% 0.044 209.5)

  • #342033

    #342033

    oklch(27.7% 0.044 328.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31270C

    #31270C

    oklch(27.8% 0.044 88.9)

  • #092F29

    #092F29

    oklch(27.7% 0.043 180.3)

  • #1F273E

    #1F273E

    oklch(27.7% 0.044 268.8)

  • #3A1F28

    #3A1F28

    oklch(27.9% 0.044 358.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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