#2F1E18

Closest named color: Dark Brown (#341C02). oklch(25.5% 0.029 40.3), rgb(47, 30, 24).

Aa

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

About this color

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

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

Values

HEX#2F1E18
RGBrgb(47, 30, 24)
HSLhsl(16, 32%, 14%)
OKLCHoklch(25.5% 0.029 40.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 #2F1E18 15.91:1 AAA Lc -105.4 Preferred for body text
Black text on #2F1E18 1.31:1 Fails Lc 0.0 Not readable
#2F1E18 text on white 15.91:1 AAA Lc 102.8 Preferred for body text
#2F1E18 text on black 1.31: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

    #F8F4F3

    oklch(97% 0.005 34.3)

  2. Step 100

    100

    #F0E8E5

    oklch(93.6% 0.01 41.9)

  3. Step 200

    200

    #E5D5D0

    oklch(88.5% 0.019 38.1)

  4. Step 300

    300

    #D5BAB0

    oklch(80.9% 0.034 41.4)

  5. Step 400

    400

    #C09687

    oklch(70.8% 0.055 40.6)

  6. Step 500

    500

    #AF7B69

    oklch(63.1% 0.071 39.9)

  7. Step 600

    600

    #9A6451

    oklch(55.7% 0.076 40.1)

  8. Step 700

    700

    #835241

    oklch(49% 0.071 39.9)

  9. Step 800

    800

    #6B4436

    oklch(42.8% 0.059 40.5)

  10. Step 900

    900

    #57392F

    oklch(37.7% 0.046 39.2)

  11. Step 950

    950 (this color)

    #2F1E18

    oklch(25.5% 0.029 40.3)

Export this scale for Tailwind in the Tailwind colors tool

#2F1E18 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)#2220180.027
Deuteranopia (no green cones)#2623180.024
Tritanopia (no blue cones)#331B1C0.016
Achromatopsia (no color)#2222220.029

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F1E18

    #2F1E18

    oklch(25.5% 0.029 40.3)

  • #12262C

    #12262C

    oklch(25.5% 0.028 219.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F1E18

    #2F1E18

    oklch(25.5% 0.029 40.3)

  • #2F1D1F

    #2F1D1F

    oklch(25.5% 0.029 12)

  • #2C2013

    #2C2013

    oklch(25.4% 0.029 68.1)

Open the analogous palette in the generator

Split complementary

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

  • #2F1E18

    #2F1E18

    oklch(25.5% 0.029 40.3)

  • #102726

    #102726

    oklch(25.4% 0.029 191.8)

  • #182430

    #182430

    oklch(25.5% 0.028 249)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F1E18

    #2F1E18

    oklch(25.5% 0.029 40.3)

  • #16271E

    #16271E

    oklch(25.4% 0.029 160.4)

  • #202131

    #202131

    oklch(25.4% 0.03 281.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F1E18

    #2F1E18

    oklch(25.5% 0.029 40.3)

  • #1E2617

    #1E2617

    oklch(25.6% 0.029 131)

  • #12262C

    #12262C

    oklch(25.5% 0.028 219.3)

  • #271F2D

    #271F2D

    oklch(25.5% 0.028 310.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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