#271D02

Closest named color: Dark Brown (#341C02). oklch(23.6% 0.045 89), rgb(39, 29, 2).

Aa

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

About this color

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

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

Values

HEX#271D02
RGBrgb(39, 29, 2)
HSLhsl(44, 90%, 8%)
OKLCHoklch(23.6% 0.045 89)

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

    #F7F5F0

    oklch(97% 0.007 88.6)

  2. Step 100

    100

    #EEEADE

    oklch(93.7% 0.017 91.6)

  3. Step 200

    200

    #E1D9C3

    oklch(88.6% 0.031 90.3)

  4. Step 300

    300

    #CEBF9A

    oklch(80.8% 0.053 88.6)

  5. Step 400

    400

    #B69E60

    oklch(70.7% 0.086 89)

  6. Step 500

    500

    #A4852F

    oklch(63% 0.109 88.6)

  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

    #513F09

    oklch(37.7% 0.072 88.7)

  11. Step 950

    950 (this color)

    #271D02

    oklch(23.6% 0.045 89)

Export this scale for Tailwind in the Tailwind colors tool

#271D02 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)#221D000.012
Deuteranopia (no green cones)#241F030.008
Tritanopia (no blue cones)#2B19170.041
Achromatopsia (no color)#1E1E1E0.045

Harmonies

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

Complementary

The opposite hue (180°).

  • #271D02

    #271D02

    oklch(23.6% 0.045 89)

  • #161D34

    #161D34

    oklch(23.7% 0.046 269.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #271D02

    #271D02

    oklch(23.6% 0.045 89)

  • #2E1906

    #2E1906

    oklch(23.8% 0.045 60.5)

  • #1C2106

    #1C2106

    oklch(23.5% 0.045 118.7)

Open the analogous palette in the generator

Split complementary

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

  • #271D02

    #271D02

    oklch(23.6% 0.045 89)

  • #062131

    #062131

    oklch(23.6% 0.045 238.6)

  • #211931

    #211931

    oklch(23.6% 0.046 298.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #271D02

    #271D02

    oklch(23.6% 0.045 89)

  • #002429

    #002429

    oklch(23.8% 0.041 208.4)

  • #2A1629

    #2A1629

    oklch(23.6% 0.046 328.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #271D02

    #271D02

    oklch(23.6% 0.045 89)

  • #00251F

    #00251F

    oklch(23.7% 0.043 179.4)

  • #161D34

    #161D34

    oklch(23.7% 0.046 269.9)

  • #2F151E

    #2F151E

    oklch(23.7% 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 #271D02, closest first.

Similar named colors

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

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