#271D05

Closest named color: Dark Brown (#341C02). oklch(23.7% 0.041 86.5), rgb(39, 29, 5).

Aa

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

About this color

#271D05 is a very dark, muted brown. In OKLCH its lightness is 24%, 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.028 away. White text reads best on it, at 16.61:1.

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

Values

HEX#271D05
RGBrgb(39, 29, 5)
HSLhsl(42, 77%, 9%)
OKLCHoklch(23.7% 0.041 86.5)

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

    #E1D8C5

    oklch(88.4% 0.027 85.7)

  4. Step 300

    300

    #CEBF9D

    oklch(80.8% 0.049 87)

  5. Step 400

    400

    #B69E67

    oklch(70.8% 0.078 86.8)

  6. Step 500

    500

    #A4853B

    oklch(63.1% 0.1 86.4)

  7. Step 600

    600

    #8F6E12

    oklch(55.6% 0.108 86.5)

  8. Step 700

    700

    #7A5C00

    oklch(49.2% 0.101 86.4)

  9. Step 800

    800

    #634B09

    oklch(42.7% 0.083 86.2)

  10. Step 900

    900

    #513F13

    oklch(37.8% 0.065 86.1)

  11. Step 950

    950 (this color)

    #271D05

    oklch(23.7% 0.041 86.5)

Export this scale for Tailwind in the Tailwind colors tool

#271D05 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)#221D030.012
Deuteranopia (no green cones)#241F060.008
Tritanopia (no blue cones)#2B1A180.036
Achromatopsia (no color)#1E1E1E0.041

Harmonies

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

Complementary

The opposite hue (180°).

  • #271D05

    #271D05

    oklch(23.7% 0.041 86.5)

  • #161E32

    #161E32

    oklch(23.8% 0.04 266.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #271D05

    #271D05

    oklch(23.7% 0.041 86.5)

  • #2D190A

    #2D190A

    oklch(23.7% 0.041 56.1)

  • #1D2108

    #1D2108

    oklch(23.7% 0.042 117.3)

Open the analogous palette in the generator

Split complementary

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

  • #271D05

    #271D05

    oklch(23.7% 0.041 86.5)

  • #08212F

    #08212F

    oklch(23.6% 0.041 236.6)

  • #201A30

    #201A30

    oklch(23.6% 0.042 295.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #271D05

    #271D05

    oklch(23.7% 0.041 86.5)

  • #002428

    #002428

    oklch(23.8% 0.041 205.7)

  • #291729

    #291729

    oklch(23.7% 0.042 326.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #271D05

    #271D05

    oklch(23.7% 0.041 86.5)

  • #03251E

    #03251E

    oklch(23.8% 0.041 176.1)

  • #161E32

    #161E32

    oklch(23.8% 0.04 266.8)

  • #2E161F

    #2E161F

    oklch(23.8% 0.041 356.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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