#271D08

Closest named color: Dark Brown (#341C02). oklch(23.7% 0.037 83.8), rgb(39, 29, 8).

Aa

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

About this color

#271D08 is a very dark, muted brown. In OKLCH its lightness is 24%, its chroma 0.037 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.59:1.

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

Values

HEX#271D08
RGBrgb(39, 29, 8)
HSLhsl(41, 66%, 9%)
OKLCHoklch(23.7% 0.037 83.8)

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

    #E1D8C7

    oklch(88.5% 0.025 83.4)

  4. Step 300

    300

    #CEBFA1

    oklch(80.9% 0.044 84.5)

  5. Step 400

    400

    #B69D6D

    oklch(70.7% 0.071 83.3)

  6. Step 500

    500

    #A38545

    oklch(63.1% 0.09 84.6)

  7. Step 600

    600

    #8E6E24

    oklch(55.6% 0.098 84.5)

  8. Step 700

    700

    #795B16

    oklch(49% 0.091 83.5)

  9. Step 800

    800

    #634B16

    oklch(42.8% 0.076 83.5)

  10. Step 900

    900

    #503F19

    oklch(37.7% 0.059 85)

  11. Step 950

    950 (this color)

    #271D08

    oklch(23.7% 0.037 83.8)

Export this scale for Tailwind in the Tailwind colors tool

#271D08 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)#211D060.013
Deuteranopia (no green cones)#241F090.008
Tritanopia (no blue cones)#2B1A180.032
Achromatopsia (no color)#1E1E1E0.037

Harmonies

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

Complementary

The opposite hue (180°).

  • #271D08

    #271D08

    oklch(23.7% 0.037 83.8)

  • #151E30

    #151E30

    oklch(23.6% 0.037 263.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #271D08

    #271D08

    oklch(23.7% 0.037 83.8)

  • #2C1A0D

    #2C1A0D

    oklch(23.8% 0.036 55.8)

  • #1E210B

    #1E210B

    oklch(23.8% 0.038 115.7)

Open the analogous palette in the generator

Split complementary

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

  • #271D08

    #271D08

    oklch(23.7% 0.037 83.8)

  • #0A212E

    #0A212E

    oklch(23.6% 0.038 236.3)

  • #201B2F

    #201B2F

    oklch(23.8% 0.038 294.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #271D08

    #271D08

    oklch(23.7% 0.037 83.8)

  • #032427

    #032427

    oklch(23.9% 0.038 203.7)

  • #271829

    #271829

    oklch(23.6% 0.038 322.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #271D08

    #271D08

    oklch(23.7% 0.037 83.8)

  • #07241D

    #07241D

    oklch(23.6% 0.037 174.2)

  • #151E30

    #151E30

    oklch(23.6% 0.037 263.5)

  • #2C1720

    #2C1720

    oklch(23.7% 0.037 353)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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