#272012

Closest named color: Dark Brown (#341C02). oklch(24.7% 0.027 84), rgb(39, 32, 18).

Aa

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

About this color

#272012 is a very dark close to neutral grey. In OKLCH its lightness is 25%, its chroma 0.027. It has too little chroma to lean warm or cool. The nearest named color is Dark Brown (#341C02), ΔE 0.031 away. White text reads best on it, at 16.13:1.

Hue familyNeutrals
Lightnessvery dark (25%)
Chromaclose to neutral grey (0.027)
Temperatureneutral
Nearest nameDark Brown (#341C02)
Black text1.30:1
White text16.13:1

Values

HEX#272012
RGBrgb(39, 32, 18)
HSLhsl(40, 37%, 11%)
OKLCHoklch(24.7% 0.027 84)

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 #272012 16.13:1 AAA Lc -105.6 Preferred for body text
Black text on #272012 1.30:1 Fails Lc 0.0 Not readable
#272012 text on white 16.13:1 AAA Lc 103.1 Preferred for body text
#272012 text on black 1.30: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

    #F7F5F2

    oklch(97.1% 0.005 78.3)

  2. Step 100

    100

    #EDE9E3

    oklch(93.5% 0.009 78.3)

  3. Step 200

    200

    #DFD8CC

    oklch(88.4% 0.018 81.3)

  4. Step 300

    300

    #CABFAA

    oklch(80.8% 0.031 83.6)

  5. Step 400

    400

    #AF9E7D

    oklch(70.6% 0.05 83.8)

  6. Step 500

    500

    #9C875C

    oklch(63.2% 0.065 84.6)

  7. Step 600

    600

    #877042

    oklch(55.6% 0.07 83.7)

  8. Step 700

    700

    #725E34

    oklch(49.2% 0.065 84.6)

  9. Step 800

    800

    #5D4D2B

    oklch(42.8% 0.054 85)

  10. Step 900

    900

    #4C4027

    oklch(37.7% 0.042 84.9)

  11. Step 950

    950 (this color)

    #272012

    oklch(24.7% 0.027 84)

Export this scale for Tailwind in the Tailwind colors tool

#272012 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)#2320110.008
Deuteranopia (no green cones)#2522120.008
Tritanopia (no blue cones)#2A1E1C0.022
Achromatopsia (no color)#2121210.027

Harmonies

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

Complementary

The opposite hue (180°).

  • #272012

    #272012

    oklch(24.7% 0.027 84)

  • #1B212E

    #1B212E

    oklch(24.8% 0.026 265.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #272012

    #272012

    oklch(24.7% 0.027 84)

  • #2B1E15

    #2B1E15

    oklch(24.8% 0.026 55.9)

  • #212314

    #212314

    oklch(24.9% 0.027 114.5)

Open the analogous palette in the generator

Split complementary

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

  • #272012

    #272012

    oklch(24.7% 0.027 84)

  • #14232C

    #14232C

    oklch(24.7% 0.027 235.7)

  • #221F2D

    #221F2D

    oklch(24.9% 0.027 294.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #272012

    #272012

    oklch(24.7% 0.027 84)

  • #102527

    #102527

    oklch(24.8% 0.027 203.6)

  • #271D28

    #271D28

    oklch(24.7% 0.025 323.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #272012

    #272012

    oklch(24.7% 0.027 84)

  • #132520

    #132520

    oklch(24.7% 0.026 174.5)

  • #1B212E

    #1B212E

    oklch(24.8% 0.026 265.3)

  • #2B1C22

    #2B1C22

    oklch(24.8% 0.026 353.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #272012 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.