#271D06

Closest named color: Dark Brown (#341C02). oklch(23.7% 0.04 85.6), rgb(39, 29, 6).

Aa

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

About this color

#271D06 is a very dark, muted brown. In OKLCH its lightness is 24%, its chroma 0.040 and its hue 86°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Brown (#341C02), ΔE 0.028 away. White text reads best on it, at 16.60:1.

Hue familyBrowns
Lightnessvery dark (24%)
Chromamuted (0.040)
Temperaturewarm
Nearest nameDark Brown (#341C02)
Black text1.26:1
White text16.60:1

Values

HEX#271D06
RGBrgb(39, 29, 6)
HSLhsl(42, 73%, 9%)
OKLCHoklch(23.7% 0.04 85.6)

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 #271D06 16.60:1 AAA Lc -105.9 Preferred for body text
Black text on #271D06 1.26:1 Fails Lc 0.0 Not readable
#271D06 text on white 16.60:1 AAA Lc 103.5 Preferred for body text
#271D06 text on black 1.26: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

    #CEBF9F

    oklch(80.9% 0.046 85.8)

  5. Step 400

    400

    #B69E69

    oklch(70.8% 0.076 86.1)

  6. Step 500

    500

    #A4853F

    oklch(63.2% 0.096 85.4)

  7. Step 600

    600

    #8F6E1A

    oklch(55.7% 0.105 85.5)

  8. Step 700

    700

    #795C09

    oklch(49.1% 0.097 86.3)

  9. Step 800

    800

    #634B0E

    oklch(42.7% 0.081 85.3)

  10. Step 900

    900

    #513F15

    oklch(37.8% 0.063 85.4)

  11. Step 950

    950 (this color)

    #271D06

    oklch(23.7% 0.04 85.6)

Export this scale for Tailwind in the Tailwind colors tool

#271D06 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)#221D040.011
Deuteranopia (no green cones)#241F070.008
Tritanopia (no blue cones)#2B1A180.035
Achromatopsia (no color)#1E1E1E0.040

Harmonies

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

Complementary

The opposite hue (180°).

  • #271D06

    #271D06

    oklch(23.7% 0.04 85.6)

  • #161E31

    #161E31

    oklch(23.7% 0.039 266.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #271D06

    #271D06

    oklch(23.7% 0.04 85.6)

  • #2D190B

    #2D190B

    oklch(23.7% 0.04 54.5)

  • #1E2109

    #1E2109

    oklch(23.8% 0.04 115.4)

Open the analogous palette in the generator

Split complementary

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

  • #271D06

    #271D06

    oklch(23.7% 0.04 85.6)

  • #09212F

    #09212F

    oklch(23.6% 0.04 237.5)

  • #201B2F

    #201B2F

    oklch(23.8% 0.038 294.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #271D06

    #271D06

    oklch(23.7% 0.04 85.6)

  • #012428

    #012428

    oklch(23.8% 0.04 206)

  • #281829

    #281829

    oklch(23.8% 0.039 324.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #271D06

    #271D06

    oklch(23.7% 0.04 85.6)

  • #04251E

    #04251E

    oklch(23.8% 0.04 175.8)

  • #161E31

    #161E31

    oklch(23.7% 0.039 266.1)

  • #2D161F

    #2D161F

    oklch(23.6% 0.04 355.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #271D06 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.