#271E0B

Closest named color: Dark Brown (#341C02). oklch(24.1% 0.034 84.4), rgb(39, 30, 11).

Aa

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

About this color

#271E0B is a very dark, muted brown. In OKLCH its lightness is 24%, its chroma 0.034 and its hue 84°. 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.44:1.

Hue familyBrowns
Lightnessvery dark (24%)
Chromamuted (0.034)
Temperaturewarm
Nearest nameDark Brown (#341C02)
Black text1.27:1
White text16.44:1

Values

HEX#271E0B
RGBrgb(39, 30, 11)
HSLhsl(41, 56%, 10%)
OKLCHoklch(24.1% 0.034 84.4)

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 #271E0B 16.44:1 AAA Lc -105.8 Preferred for body text
Black text on #271E0B 1.27:1 Fails Lc 0.0 Not readable
#271E0B text on white 16.44:1 AAA Lc 103.4 Preferred for body text
#271E0B text on black 1.27: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

    #EDE9E1

    oklch(93.5% 0.012 84.6)

  3. Step 200

    200

    #E0D8C9

    oklch(88.5% 0.022 83.3)

  4. Step 300

    300

    #CDBFA3

    oklch(80.9% 0.041 84.6)

  5. Step 400

    400

    #B49E72

    oklch(70.8% 0.065 84.3)

  6. Step 500

    500

    #A1854C

    oklch(63% 0.083 83.9)

  7. Step 600

    600

    #8C6F2E

    oklch(55.7% 0.09 84.8)

  8. Step 700

    700

    #775C20

    oklch(49% 0.084 84)

  9. Step 800

    800

    #614C1D

    oklch(42.8% 0.07 84.8)

  10. Step 900

    900

    #4F3F1D

    oklch(37.7% 0.055 84.4)

  11. Step 950

    950 (this color)

    #271E0B

    oklch(24.1% 0.034 84.4)

Export this scale for Tailwind in the Tailwind colors tool

#271E0B 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)#221E090.011
Deuteranopia (no green cones)#24200C0.008
Tritanopia (no blue cones)#2B1B1A0.031
Achromatopsia (no color)#1F1F1F0.034

Harmonies

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

Complementary

The opposite hue (180°).

  • #271E0B

    #271E0B

    oklch(24.1% 0.034 84.4)

  • #171F30

    #171F30

    oklch(24% 0.035 264.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #271E0B

    #271E0B

    oklch(24.1% 0.034 84.4)

  • #2C1B0F

    #2C1B0F

    oklch(24.1% 0.034 55.5)

  • #1F210D

    #1F210D

    oklch(24% 0.034 113.7)

Open the analogous palette in the generator

Split complementary

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

  • #271E0B

    #271E0B

    oklch(24.1% 0.034 84.4)

  • #0D222D

    #0D222D

    oklch(24% 0.034 233.5)

  • #201C2E

    #201C2E

    oklch(24% 0.034 293.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #271E0B

    #271E0B

    oklch(24.1% 0.034 84.4)

  • #072427

    #072427

    oklch(24% 0.034 204.8)

  • #281A29

    #281A29

    oklch(24.2% 0.035 324.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #271E0B

    #271E0B

    oklch(24.1% 0.034 84.4)

  • #0B251E

    #0B251E

    oklch(24.2% 0.035 173)

  • #171F30

    #171F30

    oklch(24% 0.035 264.6)

  • #2C1820

    #2C1820

    oklch(23.9% 0.035 354.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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