#272817

Closest named color: Jet (#212529). oklch(27.1% 0.029 111.1), rgb(39, 40, 23).

Aa

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

About this color

#272817 is a dark close to neutral grey. In OKLCH its lightness is 27%, its chroma 0.029. It has too little chroma to lean warm or cool. The nearest named color is Jet (#212529), ΔE 0.038 away. White text reads best on it, at 14.97:1.

Hue familyNeutrals
Lightnessdark (27%)
Chromaclose to neutral grey (0.029)
Temperatureneutral
Nearest nameJet (#212529)
Black text1.40:1
White text14.97:1

Values

HEX#272817
RGBrgb(39, 40, 23)
HSLhsl(64, 27%, 12%)
OKLCHoklch(27.1% 0.029 111.1)

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 #272817 14.97:1 AAA Lc -104.6 Preferred for body text
Black text on #272817 1.40:1 Fails Lc 0.0 Not readable
#272817 text on white 14.97:1 AAA Lc 101.8 Preferred for body text
#272817 text on black 1.40: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

    #F5F6F2

    oklch(97.1% 0.005 117.9)

  2. Step 100

    100

    #EAEBE3

    oklch(93.7% 0.011 112.4)

  3. Step 200

    200

    #D9DBCC

    oklch(88.6% 0.02 113)

  4. Step 300

    300

    #C1C3AA

    oklch(80.9% 0.034 110.9)

  5. Step 400

    400

    #A2A47C

    oklch(70.7% 0.055 110.1)

  6. Step 500

    500

    #8B8E5B

    oklch(63.2% 0.071 111.1)

  7. Step 600

    600

    #757840

    oklch(55.7% 0.078 111.4)

  8. Step 700

    700

    #626532

    oklch(49.2% 0.072 111.8)

  9. Step 800

    800

    #50522A

    oklch(42.7% 0.059 111.2)

  10. Step 900

    900

    #424426

    oklch(37.7% 0.047 111.7)

  11. Step 950

    950 (this color)

    #272817

    oklch(27.1% 0.029 111.1)

Export this scale for Tailwind in the Tailwind colors tool

#272817 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)#2B27160.008
Deuteranopia (no green cones)#2B27180.009
Tritanopia (no blue cones)#2926240.026
Achromatopsia (no color)#2727270.029

Harmonies

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

Complementary

The opposite hue (180°).

  • #272817

    #272817

    oklch(27.1% 0.029 111.1)

  • #262434

    #262434

    oklch(27% 0.03 290)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #272817

    #272817

    oklch(27.1% 0.029 111.1)

  • #2E2516

    #2E2516

    oklch(27% 0.029 79.8)

  • #1F2A1D

    #1F2A1D

    oklch(27% 0.028 140.7)

Open the analogous palette in the generator

Split complementary

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

  • #272817

    #272817

    oklch(27.1% 0.029 111.1)

  • #1E2735

    #1E2735

    oklch(27.1% 0.029 259.1)

  • #2D222F

    #2D222F

    oklch(27% 0.028 321.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #272817

    #272817

    oklch(27.1% 0.029 111.1)

  • #172932

    #172932

    oklch(27% 0.029 231)

  • #322128

    #322128

    oklch(27.1% 0.029 352.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #272817

    #272817

    oklch(27.1% 0.029 111.1)

  • #142B2C

    #142B2C

    oklch(27.1% 0.029 199.2)

  • #262434

    #262434

    oklch(27% 0.03 290)

  • #342120

    #342120

    oklch(27.1% 0.03 22.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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