#34271F

Closest named color: Jet (#212529). oklch(28.5% 0.024 53.1), rgb(52, 39, 31).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessdark (29%)
Chromaclose to neutral grey (0.024)
Temperatureneutral
Nearest nameJet (#212529)
Black text1.45:1
White text14.42:1

Values

HEX#34271F
RGBrgb(52, 39, 31)
HSLhsl(23, 25%, 16%)
OKLCHoklch(28.5% 0.024 53.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 #34271F 14.42:1 AAA Lc -104.1 Preferred for body text
Black text on #34271F 1.45:1 Fails Lc 0.0 Not readable
#34271F text on white 14.42:1 AAA Lc 101.2 Preferred for body text
#34271F text on black 1.45: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

    #F8F5F3

    oklch(97.2% 0.004 56.4)

  2. Step 100

    100

    #EFE8E5

    oklch(93.6% 0.009 44.9)

  3. Step 200

    200

    #E2D6D0

    oklch(88.4% 0.016 48.5)

  4. Step 300

    300

    #D0BCB0

    oklch(80.9% 0.028 53.1)

  5. Step 400

    400

    #B89986

    oklch(70.6% 0.046 53.3)

  6. Step 500

    500

    #A68068

    oklch(63% 0.059 53.6)

  7. Step 600

    600

    #916950

    oklch(55.5% 0.063 53)

  8. Step 700

    700

    #7C5741

    oklch(49.1% 0.059 51.6)

  9. Step 800

    800

    #654835

    oklch(42.8% 0.05 54.2)

  10. Step 900

    900

    #523C2E

    oklch(37.7% 0.039 53.7)

  11. Step 950

    950 (this color)

    #34271F

    oklch(28.5% 0.024 53.1)

Export this scale for Tailwind in the Tailwind colors tool

#34271F 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)#2B281E0.018
Deuteranopia (no green cones)#2E2B1F0.017
Tritanopia (no blue cones)#3825250.016
Achromatopsia (no color)#2A2A2A0.024

Harmonies

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

Complementary

The opposite hue (180°).

  • #34271F

    #34271F

    oklch(28.5% 0.024 53.1)

  • #1E2C34

    #1E2C34

    oklch(28.4% 0.024 233.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #34271F

    #34271F

    oklch(28.5% 0.024 53.1)

  • #352625

    #352625

    oklch(28.6% 0.023 23)

  • #30291C

    #30291C

    oklch(28.5% 0.025 82.7)

Open the analogous palette in the generator

Split complementary

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

  • #34271F

    #34271F

    oklch(28.5% 0.024 53.1)

  • #1B2E2F

    #1B2E2F

    oklch(28.5% 0.025 200.1)

  • #242A36

    #242A36

    oklch(28.5% 0.024 264.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #34271F

    #34271F

    oklch(28.5% 0.024 53.1)

  • #1E2E29

    #1E2E29

    oklch(28.5% 0.023 173.2)

  • #2A2835

    #2A2835

    oklch(28.5% 0.024 291.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #34271F

    #34271F

    oklch(28.5% 0.024 53.1)

  • #232D22

    #232D22

    oklch(28.4% 0.024 142.5)

  • #1E2C34

    #1E2C34

    oklch(28.4% 0.024 233.8)

  • #302631

    #302631

    oklch(28.5% 0.024 323.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #34271F 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.