#31270F

Closest named color: Dark Brown (#341C02). oklch(27.8% 0.041 87), rgb(49, 39, 15).

Aa

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

About this color

#31270F is a dark, muted brown. In OKLCH its lightness is 28%, its chroma 0.041 and its hue 87°. 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.70:1.

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

Values

HEX#31270F
RGBrgb(49, 39, 15)
HSLhsl(42, 53%, 13%)
OKLCHoklch(27.8% 0.041 87)

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

    #F7F5F1

    oklch(97.1% 0.006 84.6)

  2. Step 100

    100

    #EEE9E0

    oklch(93.5% 0.013 82.4)

  3. Step 200

    200

    #E1D8C6

    oklch(88.5% 0.026 84.6)

  4. Step 300

    300

    #CEBF9E

    oklch(80.9% 0.048 86.4)

  5. Step 400

    400

    #B59E68

    oklch(70.7% 0.077 87.4)

  6. Step 500

    500

    #A3853C

    oklch(63% 0.099 86.9)

  7. Step 600

    600

    #8E6E14

    oklch(55.5% 0.107 86.9)

  8. Step 700

    700

    #795C02

    oklch(49.1% 0.1 87)

  9. Step 800

    800

    #624B0A

    oklch(42.6% 0.082 87)

  10. Step 900

    900

    #503F13

    oklch(37.7% 0.064 87.4)

  11. Step 950

    950 (this color)

    #31270F

    oklch(27.8% 0.041 87)

Export this scale for Tailwind in the Tailwind colors tool

#31270F 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)#2C270D0.011
Deuteranopia (no green cones)#2E29100.008
Tritanopia (no blue cones)#3523220.038
Achromatopsia (no color)#2828280.041

Harmonies

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

Complementary

The opposite hue (180°).

  • #31270F

    #31270F

    oklch(27.8% 0.041 87)

  • #1F283D

    #1F283D

    oklch(27.9% 0.041 266)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31270F

    #31270F

    oklch(27.8% 0.041 87)

  • #382314

    #382314

    oklch(27.9% 0.041 55.7)

  • #272B13

    #272B13

    oklch(27.8% 0.04 116.9)

Open the analogous palette in the generator

Split complementary

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

  • #31270F

    #31270F

    oklch(27.8% 0.041 87)

  • #132B3A

    #132B3A

    oklch(27.7% 0.041 238.1)

  • #2A243A

    #2A243A

    oklch(27.7% 0.041 296.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31270F

    #31270F

    oklch(27.8% 0.041 87)

  • #0A2E32

    #0A2E32

    oklch(27.8% 0.04 205.6)

  • #332133

    #332133

    oklch(27.8% 0.041 326.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31270F

    #31270F

    oklch(27.8% 0.041 87)

  • #0E2F28

    #0E2F28

    oklch(27.8% 0.041 176.9)

  • #1F283D

    #1F283D

    oklch(27.9% 0.041 266)

  • #382029

    #382029

    oklch(27.8% 0.04 355.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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