#2F231A

Closest named color: Dark Brown (#341C02). oklch(26.8% 0.024 58.3), rgb(47, 35, 26).

Aa

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

About this color

#2F231A is a dark close to neutral grey. In OKLCH its lightness is 27%, its chroma 0.024. It has too little chroma to lean warm or cool. The nearest named color is Dark Brown (#341C02), ΔE 0.033 away. White text reads best on it, at 15.25:1.

Hue familyNeutrals
Lightnessdark (27%)
Chromaclose to neutral grey (0.024)
Temperatureneutral
Nearest nameDark Brown (#341C02)
Black text1.37:1
White text15.25:1

Values

HEX#2F231A
RGBrgb(47, 35, 26)
HSLhsl(26, 29%, 14%)
OKLCHoklch(26.8% 0.024 58.3)

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 #2F231A 15.25:1 AAA Lc -104.9 Preferred for body text
Black text on #2F231A 1.37:1 Fails Lc 0.0 Not readable
#2F231A text on white 15.25:1 AAA Lc 102.1 Preferred for body text
#2F231A text on black 1.37: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

    #F7F5F3

    oklch(97.1% 0.003 67.8)

  2. Step 100

    100

    #EEE9E4

    oklch(93.7% 0.009 67.7)

  3. Step 200

    200

    #E2D7CF

    oklch(88.6% 0.016 58.6)

  4. Step 300

    300

    #CFBDAF

    oklch(81% 0.028 60.3)

  5. Step 400

    400

    #B79A85

    oklch(70.7% 0.046 57.8)

  6. Step 500

    500

    #A58166

    oklch(63.1% 0.059 58.3)

  7. Step 600

    600

    #906A4D

    oklch(55.6% 0.064 58.3)

  8. Step 700

    700

    #7A583E

    oklch(49% 0.059 58.2)

  9. Step 800

    800

    #644834

    oklch(42.7% 0.049 56.5)

  10. Step 900

    900

    #513D2D

    oklch(37.7% 0.038 59.9)

  11. Step 950

    950 (this color)

    #2F231A

    oklch(26.8% 0.024 58.3)

Export this scale for Tailwind in the Tailwind colors tool

#2F231A 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)#2724190.016
Deuteranopia (no green cones)#29261A0.015
Tritanopia (no blue cones)#3321210.018
Achromatopsia (no color)#2525250.025

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F231A

    #2F231A

    oklch(26.8% 0.024 58.3)

  • #1B2830

    #1B2830

    oklch(26.9% 0.023 235.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F231A

    #2F231A

    oklch(26.8% 0.024 58.3)

  • #31211F

    #31211F

    oklch(26.7% 0.025 26.9)

  • #2B2518

    #2B2518

    oklch(26.7% 0.024 86)

Open the analogous palette in the generator

Split complementary

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

  • #2F231A

    #2F231A

    oklch(26.8% 0.024 58.3)

  • #17292C

    #17292C

    oklch(26.7% 0.024 209.1)

  • #212632

    #212632

    oklch(26.9% 0.024 267.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F231A

    #2F231A

    oklch(26.8% 0.024 58.3)

  • #182A26

    #182A26

    oklch(26.8% 0.025 178.7)

  • #272330

    #272330

    oklch(26.6% 0.024 298.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F231A

    #2F231A

    oklch(26.8% 0.024 58.3)

  • #1E291F

    #1E291F

    oklch(26.7% 0.024 147.3)

  • #1B2830

    #1B2830

    oklch(26.9% 0.023 235.8)

  • #2D222C

    #2D222C

    oklch(26.9% 0.024 329.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #2F231A 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.