#2F2818

Closest named color: Dark Brown (#341C02). oklch(28% 0.029 86.9), rgb(47, 40, 24).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessdark (28%)
Chromaclose to neutral grey (0.029)
Temperatureneutral
Nearest nameDark Brown (#341C02)
Black text1.43:1
White text14.60:1

Values

HEX#2F2818
RGBrgb(47, 40, 24)
HSLhsl(42, 32%, 14%)
OKLCHoklch(28% 0.029 86.9)

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 #2F2818 14.60:1 AAA Lc -104.3 Preferred for body text
Black text on #2F2818 1.43:1 Fails Lc 0.0 Not readable
#2F2818 text on white 14.60:1 AAA Lc 101.4 Preferred for body text
#2F2818 text on black 1.43: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

    #DED9CB

    oklch(88.5% 0.02 90.6)

  4. Step 300

    300

    #CAC0A8

    oklch(81% 0.035 88.1)

  5. Step 400

    400

    #AF9F7A

    oklch(70.7% 0.054 87.3)

  6. Step 500

    500

    #9C8757

    oklch(63.1% 0.07 86.8)

  7. Step 600

    600

    #87703C

    oklch(55.6% 0.076 86)

  8. Step 700

    700

    #725E2E

    oklch(49.1% 0.071 87)

  9. Step 800

    800

    #5D4D27

    oklch(42.7% 0.059 87)

  10. Step 900

    900

    #4C4024

    oklch(37.7% 0.046 87)

  11. Step 950

    950 (this color)

    #2F2818

    oklch(28% 0.029 86.9)

Export this scale for Tailwind in the Tailwind colors tool

#2F2818 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)#2C28170.006
Deuteranopia (no green cones)#2D2A180.008
Tritanopia (no blue cones)#3225240.027
Achromatopsia (no color)#2929290.029

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F2818

    #2F2818

    oklch(28% 0.029 86.9)

  • #222937

    #222937

    oklch(28.1% 0.028 264)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F2818

    #2F2818

    oklch(28% 0.029 86.9)

  • #34251B

    #34251B

    oklch(27.9% 0.029 54.9)

  • #282B1A

    #282B1A

    oklch(28.1% 0.03 116.5)

Open the analogous palette in the generator

Split complementary

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

  • #2F2818

    #2F2818

    oklch(28% 0.029 86.9)

  • #1B2B35

    #1B2B35

    oklch(28% 0.028 236.6)

  • #2A2636

    #2A2636

    oklch(28% 0.03 295.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F2818

    #2F2818

    oklch(28% 0.029 86.9)

  • #172D30

    #172D30

    oklch(28% 0.028 206.8)

  • #312430

    #312430

    oklch(28.1% 0.029 328.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F2818

    #2F2818

    oklch(28% 0.029 86.9)

  • #182E28

    #182E28

    oklch(28.1% 0.03 174.7)

  • #222937

    #222937

    oklch(28.1% 0.028 264)

  • #352329

    #352329

    oklch(28% 0.029 357.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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