#302D22

Closest named color: Pakistan Green (#283618). oklch(29.7% 0.019 94.6), rgb(48, 45, 34).

Aa

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

About this color

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

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

Values

HEX#302D22
RGBrgb(48, 45, 34)
HSLhsl(47, 17%, 16%)
OKLCHoklch(29.7% 0.019 94.6)

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 #302D22 13.77:1 AAA Lc -103.4 Preferred for body text
Black text on #302D22 1.52:1 Fails Lc 0.0 Not readable
#302D22 text on white 13.77:1 AAA Lc 100.4 Preferred for body text
#302D22 text on black 1.52: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

    #EBEAE5

    oklch(93.6% 0.007 97.4)

  3. Step 200

    200

    #DCD9D0

    oklch(88.5% 0.013 91.5)

  4. Step 300

    300

    #C5C1B0

    oklch(80.9% 0.024 96)

  5. Step 400

    400

    #A8A187

    oklch(70.8% 0.037 94.7)

  6. Step 500

    500

    #928A69

    oklch(63.2% 0.048 96.1)

  7. Step 600

    600

    #7D7351

    oklch(55.6% 0.051 93.7)

  8. Step 700

    700

    #696141

    oklch(49.2% 0.048 95.8)

  9. Step 800

    800

    #564F36

    oklch(42.7% 0.04 94.3)

  10. Step 900

    900

    #47422F

    oklch(37.8% 0.031 95.1)

  11. Step 950

    950 (this color)

    #302D22

    oklch(29.7% 0.019 94.6)

Export this scale for Tailwind in the Tailwind colors tool

#302D22 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)#2F2C210.004
Deuteranopia (no green cones)#302D220.000
Tritanopia (no blue cones)#322B2A0.018
Achromatopsia (no color)#2D2D2D0.019

Harmonies

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

Complementary

The opposite hue (180°).

  • #302D22

    #302D22

    oklch(29.7% 0.019 94.6)

  • #2A2C37

    #2A2C37

    oklch(29.6% 0.02 277)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #302D22

    #302D22

    oklch(29.7% 0.019 94.6)

  • #342B23

    #342B23

    oklch(29.6% 0.019 63.6)

  • #2B2F24

    #2B2F24

    oklch(29.8% 0.02 123.9)

Open the analogous palette in the generator

Split complementary

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

  • #302D22

    #302D22

    oklch(29.7% 0.019 94.6)

  • #252E36

    #252E36

    oklch(29.6% 0.019 245.3)

  • #2F2B35

    #2F2B35

    oklch(29.7% 0.019 303.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #302D22

    #302D22

    oklch(29.7% 0.019 94.6)

  • #223033

    #223033

    oklch(29.8% 0.02 212.3)

  • #332931

    #332931

    oklch(29.5% 0.02 333)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #302D22

    #302D22

    oklch(29.7% 0.019 94.6)

  • #22302E

    #22302E

    oklch(29.6% 0.019 185.4)

  • #2A2C37

    #2A2C37

    oklch(29.6% 0.02 277)

  • #36292C

    #36292C

    oklch(29.7% 0.02 2.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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