#271A02

Closest named color: Dark Brown (#341C02). oklch(22.9% 0.044 80.9), rgb(39, 26, 2).

Aa

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

About this color

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

Hue familyBrowns
Lightnessvery dark (23%)
Chromamuted (0.044)
Temperaturewarm
Nearest nameDark Brown (#341C02)
Black text1.23:1
White text17.00:1

Values

HEX#271A02
RGBrgb(39, 26, 2)
HSLhsl(39, 90%, 8%)
OKLCHoklch(22.9% 0.044 80.9)

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 #271A02 17.00:1 AAA Lc -106.2 Preferred for body text
Black text on #271A02 1.23:1 Fails Lc 0.0 Not readable
#271A02 text on white 17.00:1 AAA Lc 103.8 Preferred for body text
#271A02 text on black 1.23: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

    #F8F5F0

    oklch(97.1% 0.007 80.7)

  2. Step 100

    100

    #EFE9DF

    oklch(93.6% 0.015 80.7)

  3. Step 200

    200

    #E3D8C4

    oklch(88.6% 0.029 82.6)

  4. Step 300

    300

    #D2BE9B

    oklch(80.9% 0.052 81.6)

  5. Step 400

    400

    #BB9B63

    oklch(70.6% 0.083 80.8)

  6. Step 500

    500

    #AA8234

    oklch(63.1% 0.106 81.2)

  7. Step 600

    600

    #956B00

    oklch(55.6% 0.115 81.4)

  8. Step 700

    700

    #7E5900

    oklch(49% 0.101 80.5)

  9. Step 800

    800

    #674900

    oklch(42.7% 0.088 81.6)

  10. Step 900

    900

    #543D0E

    oklch(37.6% 0.069 81)

  11. Step 950

    950 (this color)

    #271A02

    oklch(22.9% 0.044 80.9)

Export this scale for Tailwind in the Tailwind colors tool

#271A02 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)#1F1A000.018
Deuteranopia (no green cones)#221E030.016
Tritanopia (no blue cones)#2B16150.039
Achromatopsia (no color)#1C1C1C0.044

Harmonies

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

Complementary

The opposite hue (180°).

  • #271A02

    #271A02

    oklch(22.9% 0.044 80.9)

  • #101C31

    #101C31

    oklch(22.7% 0.045 261)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #271A02

    #271A02

    oklch(22.9% 0.044 80.9)

  • #2D1608

    #2D1608

    oklch(22.9% 0.044 50.6)

  • #1E1E04

    #1E1E04

    oklch(22.8% 0.043 109.4)

Open the analogous palette in the generator

Split complementary

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

  • #271A02

    #271A02

    oklch(22.9% 0.044 80.9)

  • #02202D

    #02202D

    oklch(22.9% 0.043 230.5)

  • #1D192F

    #1D192F

    oklch(23% 0.042 291.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #271A02

    #271A02

    oklch(22.9% 0.044 80.9)

  • #002224

    #002224

    oklch(22.9% 0.039 200.5)

  • #261529

    #261529

    oklch(22.8% 0.045 321.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #271A02

    #271A02

    oklch(22.9% 0.044 80.9)

  • #01231A

    #01231A

    oklch(22.9% 0.043 171.5)

  • #101C31

    #101C31

    oklch(22.7% 0.045 261)

  • #2C131F

    #2C131F

    oklch(22.8% 0.045 351.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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