#2A2F22

Closest named color: Pakistan Green (#283618). oklch(29.6% 0.024 124.9), rgb(42, 47, 34).

Aa

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

About this color

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

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

Values

HEX#2A2F22
RGBrgb(42, 47, 34)
HSLhsl(83, 16%, 16%)
OKLCHoklch(29.6% 0.024 124.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 #2A2F22 13.74:1 AAA Lc -103.4 Preferred for body text
Black text on #2A2F22 1.52:1 Fails Lc 0.0 Not readable
#2A2F22 text on white 13.74:1 AAA Lc 100.3 Preferred for body text
#2A2F22 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

    #F5F6F3

    oklch(97.2% 0.004 121.6)

  2. Step 100

    100

    #E8EBE5

    oklch(93.6% 0.009 128.6)

  3. Step 200

    200

    #D7DBD0

    oklch(88.5% 0.015 123.1)

  4. Step 300

    300

    #BCC4B1

    oklch(80.9% 0.028 125.7)

  5. Step 400

    400

    #9AA687

    oklch(70.7% 0.046 124.8)

  6. Step 500

    500

    #81906A

    oklch(63.1% 0.057 125.5)

  7. Step 600

    600

    #6B7A51

    oklch(55.6% 0.063 124.7)

  8. Step 700

    700

    #596742

    oklch(49.2% 0.058 125.3)

  9. Step 800

    800

    #495436

    oklch(42.8% 0.049 124.8)

  10. Step 900

    900

    #3D452F

    oklch(37.6% 0.037 124.4)

  11. Step 950

    950 (this color)

    #2A2F22

    oklch(29.6% 0.024 124.9)

Export this scale for Tailwind in the Tailwind colors tool

#2A2F22 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)#312D210.013
Deuteranopia (no green cones)#302D230.013
Tritanopia (no blue cones)#2B2E2B0.018
Achromatopsia (no color)#2D2D2D0.024

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A2F22

    #2A2F22

    oklch(29.6% 0.024 124.9)

  • #2F2A37

    #2F2A37

    oklch(29.6% 0.024 302.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A2F22

    #2A2F22

    oklch(29.6% 0.024 124.9)

  • #302D1F

    #302D1F

    oklch(29.6% 0.024 97.4)

  • #233028

    #233028

    oklch(29.4% 0.023 157.7)

Open the analogous palette in the generator

Split complementary

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

  • #2A2F22

    #2A2F22

    oklch(29.6% 0.024 124.9)

  • #292C39

    #292C39

    oklch(29.6% 0.024 274.7)

  • #352832

    #352832

    oklch(29.6% 0.026 334.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A2F22

    #2A2F22

    oklch(29.6% 0.024 124.9)

  • #232E38

    #232E38

    oklch(29.5% 0.024 246.1)

  • #37282B

    #37282B

    oklch(29.5% 0.023 5.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A2F22

    #2A2F22

    oklch(29.6% 0.024 124.9)

  • #1F3034

    #1F3034

    oklch(29.6% 0.023 214)

  • #2F2A37

    #2F2A37

    oklch(29.6% 0.024 302.5)

  • #382925

    #382925

    oklch(29.7% 0.024 35.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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