#2F2F1F

Closest named color: Pakistan Green (#283618). oklch(30% 0.027 107.9), rgb(47, 47, 31).

Aa

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

About this color

#2F2F1F is a dark close to neutral grey. In OKLCH its lightness is 30%, its chroma 0.027. It has too little chroma to lean warm or cool. The nearest named color is Pakistan Green (#283618), ΔE 0.032 away. White text reads best on it, at 13.57:1.

Hue familyNeutrals
Lightnessdark (30%)
Chromaclose to neutral grey (0.027)
Temperatureneutral
Nearest namePakistan Green (#283618)
Black text1.54:1
White text13.57:1

Values

HEX#2F2F1F
RGBrgb(47, 47, 31)
HSLhsl(60, 21%, 15%)
OKLCHoklch(30% 0.027 107.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 #2F2F1F 13.57:1 AAA Lc -103.2 Preferred for body text
Black text on #2F2F1F 1.54:1 Fails Lc 0.0 Not readable
#2F2F1F text on white 13.57:1 AAA Lc 100.1 Preferred for body text
#2F2F1F text on black 1.54: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

    #F6F6F2

    oklch(97.2% 0.005 106.5)

  2. Step 100

    100

    #EAEAE3

    oklch(93.5% 0.009 106.6)

  3. Step 200

    200

    #DADACD

    oklch(88.5% 0.018 106.8)

  4. Step 300

    300

    #C2C3AB

    oklch(81% 0.033 109.1)

  5. Step 400

    400

    #A3A37E

    oklch(70.6% 0.051 107.6)

  6. Step 500

    500

    #8D8D5E

    oklch(63.2% 0.066 108.1)

  7. Step 600

    600

    #777744

    oklch(55.7% 0.072 108.5)

  8. Step 700

    700

    #646435

    oklch(49.2% 0.067 108.6)

  9. Step 800

    800

    #52512D

    oklch(42.7% 0.054 107.1)

  10. Step 900

    900

    #444328

    oklch(37.6% 0.042 106.4)

  11. Step 950

    950 (this color)

    #2F2F1F

    oklch(30% 0.027 107.9)

Export this scale for Tailwind in the Tailwind colors tool

#2F2F1F 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)#322E1E0.006
Deuteranopia (no green cones)#322E200.007
Tritanopia (no blue cones)#312D2B0.024
Achromatopsia (no color)#2E2E2E0.027

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F2F1F

    #2F2F1F

    oklch(30% 0.027 107.9)

  • #2D2C3B

    #2D2C3B

    oklch(30.1% 0.027 287.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F2F1F

    #2F2F1F

    oklch(30% 0.027 107.9)

  • #352C1E

    #352C1E

    oklch(29.9% 0.027 78.4)

  • #273124

    #273124

    oklch(29.9% 0.027 138.5)

Open the analogous palette in the generator

Split complementary

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

  • #2F2F1F

    #2F2F1F

    oklch(30% 0.027 107.9)

  • #252E3C

    #252E3C

    oklch(29.9% 0.028 259.1)

  • #342A37

    #342A37

    oklch(30.1% 0.027 318.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F2F1F

    #2F2F1F

    oklch(30% 0.027 107.9)

  • #1F3139

    #1F3139

    oklch(30.1% 0.028 227.5)

  • #382830

    #382830

    oklch(29.9% 0.027 347.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F2F1F

    #2F2F1F

    oklch(30% 0.027 107.9)

  • #1D3233

    #1D3233

    oklch(30% 0.027 199.7)

  • #2D2C3B

    #2D2C3B

    oklch(30.1% 0.027 287.7)

  • #3A2829

    #3A2829

    oklch(29.9% 0.027 15.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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