#271C02

Closest named color: Dark Brown (#341C02). oklch(23.4% 0.045 86.4), rgb(39, 28, 2).

Aa

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

About this color

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

Hue familyBrowns
Lightnessvery dark (23%)
Chromamuted (0.045)
Temperaturewarm
Nearest nameDark Brown (#341C02)
Black text1.25:1
White text16.75:1

Values

HEX#271C02
RGBrgb(39, 28, 2)
HSLhsl(42, 90%, 8%)
OKLCHoklch(23.4% 0.045 86.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 #271C02 16.75:1 AAA Lc -106.0 Preferred for body text
Black text on #271C02 1.25:1 Fails Lc 0.0 Not readable
#271C02 text on white 16.75:1 AAA Lc 103.6 Preferred for body text
#271C02 text on black 1.25: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

    #EEE9DF

    oklch(93.5% 0.014 84.6)

  3. Step 200

    200

    #E2D8C4

    oklch(88.5% 0.029 84.6)

  4. Step 300

    300

    #D0BF9A

    oklch(80.9% 0.053 86.2)

  5. Step 400

    400

    #B89D61

    oklch(70.7% 0.085 86.1)

  6. Step 500

    500

    #A68431

    oklch(63% 0.108 86.1)

  7. Step 600

    600

    #906D00

    oklch(55.4% 0.113 86.3)

  8. Step 700

    700

    #7A5C00

    oklch(49.2% 0.101 86.4)

  9. Step 800

    800

    #644B00

    oklch(42.8% 0.087 86.6)

  10. Step 900

    900

    #523E0B

    oklch(37.6% 0.07 85.7)

  11. Step 950

    950 (this color)

    #271C02

    oklch(23.4% 0.045 86.4)

Export this scale for Tailwind in the Tailwind colors tool

#271C02 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)#211C000.014
Deuteranopia (no green cones)#241F030.011
Tritanopia (no blue cones)#2B18170.041
Achromatopsia (no color)#1E1E1E0.045

Harmonies

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

Complementary

The opposite hue (180°).

  • #271C02

    #271C02

    oklch(23.4% 0.045 86.4)

  • #141D33

    #141D33

    oklch(23.4% 0.045 266.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #271C02

    #271C02

    oklch(23.4% 0.045 86.4)

  • #2D1807

    #2D1807

    oklch(23.4% 0.044 57.7)

  • #1D2005

    #1D2005

    oklch(23.3% 0.045 115.1)

Open the analogous palette in the generator

Split complementary

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

  • #271C02

    #271C02

    oklch(23.4% 0.045 86.4)

  • #042130

    #042130

    oklch(23.5% 0.045 235.2)

  • #201930

    #201930

    oklch(23.4% 0.044 296.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #271C02

    #271C02

    oklch(23.4% 0.045 86.4)

  • #002327

    #002327

    oklch(23.4% 0.04 205.9)

  • #291629

    #291629

    oklch(23.5% 0.045 326.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #271C02

    #271C02

    oklch(23.4% 0.045 86.4)

  • #00241D

    #00241D

    oklch(23.3% 0.043 176.7)

  • #141D33

    #141D33

    oklch(23.4% 0.045 266.2)

  • #2E141E

    #2E141E

    oklch(23.3% 0.045 356.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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