#302F22

Closest named color: Pakistan Green (#283618). oklch(30.2% 0.022 104), rgb(48, 47, 34).

Aa

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

About this color

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

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

Values

HEX#302F22
RGBrgb(48, 47, 34)
HSLhsl(56, 17%, 16%)
OKLCHoklch(30.2% 0.022 104)

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 #302F22 13.50:1 AAA Lc -103.1 Preferred for body text
Black text on #302F22 1.55:1 Fails Lc 0.0 Not readable
#302F22 text on white 13.50:1 AAA Lc 100.0 Preferred for body text
#302F22 text on black 1.55: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

    #F6F5F3

    oklch(97% 0.003 84.6)

  2. Step 100

    100

    #EAEAE4

    oklch(93.5% 0.008 106.6)

  3. Step 200

    200

    #DADACF

    oklch(88.5% 0.015 106.7)

  4. Step 300

    300

    #C3C2AF

    oklch(81% 0.026 104.5)

  5. Step 400

    400

    #A5A284

    oklch(70.7% 0.042 102.7)

  6. Step 500

    500

    #8F8B65

    oklch(63% 0.054 102.8)

  7. Step 600

    600

    #79754C

    oklch(55.5% 0.059 103.4)

  8. Step 700

    700

    #66623D

    oklch(49% 0.054 102.9)

  9. Step 800

    800

    #535033

    oklch(42.6% 0.045 103.1)

  10. Step 900

    900

    #44432D

    oklch(37.7% 0.035 105.8)

  11. Step 950

    950 (this color)

    #302F22

    oklch(30.2% 0.022 104)

Export this scale for Tailwind in the Tailwind colors tool

#302F22 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)#312E210.003
Deuteranopia (no green cones)#322F220.004
Tritanopia (no blue cones)#322D2B0.020
Achromatopsia (no color)#2E2E2E0.022

Harmonies

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

Complementary

The opposite hue (180°).

  • #302F22

    #302F22

    oklch(30.2% 0.022 104)

  • #2D2D39

    #2D2D39

    oklch(30.2% 0.022 285)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #302F22

    #302F22

    oklch(30.2% 0.022 104)

  • #352D22

    #352D22

    oklch(30.2% 0.022 75.6)

  • #2A3126

    #2A3126

    oklch(30.3% 0.022 134.2)

Open the analogous palette in the generator

Split complementary

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

  • #302F22

    #302F22

    oklch(30.2% 0.022 104)

  • #272F3A

    #272F3A

    oklch(30.2% 0.023 256.4)

  • #322B36

    #322B36

    oklch(30.1% 0.022 313.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #302F22

    #302F22

    oklch(30.2% 0.022 104)

  • #223137

    #223137

    oklch(30.2% 0.023 224.6)

  • #372A31

    #372A31

    oklch(30.2% 0.023 345)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #302F22

    #302F22

    oklch(30.2% 0.022 104)

  • #213232

    #213232

    oklch(30.2% 0.022 196)

  • #2D2D39

    #2D2D39

    oklch(30.2% 0.022 285)

  • #392A2B

    #392A2B

    oklch(30.3% 0.022 14)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #302F22 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.