#222F22

Closest named color: Pakistan Green (#283618). oklch(28.9% 0.029 144.8), rgb(34, 47, 34).

Aa

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

About this color

#222F22 is a dark close to neutral grey. In OKLCH its lightness is 29%, its chroma 0.029. 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 14.02:1.

Hue familyNeutrals
Lightnessdark (29%)
Chromaclose to neutral grey (0.029)
Temperatureneutral
Nearest namePakistan Green (#283618)
Black text1.49:1
White text14.02:1

Values

HEX#222F22
RGBrgb(34, 47, 34)
HSLhsl(120, 16%, 16%)
OKLCHoklch(28.9% 0.029 144.8)

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 #222F22 14.02:1 AAA Lc -103.7 Preferred for body text
Black text on #222F22 1.49:1 Fails Lc 0.0 Not readable
#222F22 text on white 14.02:1 AAA Lc 100.7 Preferred for body text
#222F22 text on black 1.49: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

    #F4F6F3

    oklch(97.1% 0.004 134.8)

  2. Step 100

    100

    #E6ECE6

    oklch(93.7% 0.01 145.5)

  3. Step 200

    200

    #D2DDD1

    oklch(88.6% 0.02 143)

  4. Step 300

    300

    #B3C7B3

    oklch(80.9% 0.035 145.2)

  5. Step 400

    400

    #8CAA8B

    oklch(70.7% 0.055 144.1)

  6. Step 500

    500

    #6F956F

    oklch(63.1% 0.07 144.7)

  7. Step 600

    600

    #567F57

    oklch(55.5% 0.076 145)

  8. Step 700

    700

    #466C47

    oklch(49.2% 0.072 145)

  9. Step 800

    800

    #3A583A

    oklch(42.8% 0.06 144.4)

  10. Step 900

    900

    #324832

    oklch(37.6% 0.046 144.6)

  11. Step 950

    950 (this color)

    #222F22

    oklch(28.9% 0.029 144.8)

Export this scale for Tailwind in the Tailwind colors tool

#222F22 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)#302D210.023
Deuteranopia (no green cones)#2D2B230.023
Tritanopia (no blue cones)#212E2B0.018
Achromatopsia (no color)#2C2C2C0.030

Harmonies

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

Complementary

The opposite hue (180°).

  • #222F22

    #222F22

    oklch(28.9% 0.029 144.8)

  • #332633

    #332633

    oklch(28.9% 0.03 326.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #222F22

    #222F22

    oklch(28.9% 0.029 144.8)

  • #2A2D1C

    #2A2D1C

    oklch(28.9% 0.029 116.4)

  • #1B302A

    #1B302A

    oklch(28.9% 0.029 174.1)

Open the analogous palette in the generator

Split complementary

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

  • #222F22

    #222F22

    oklch(28.9% 0.029 144.8)

  • #2C2838

    #2C2838

    oklch(28.8% 0.029 296)

  • #37252C

    #37252C

    oklch(28.9% 0.03 354)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #222F22

    #222F22

    oklch(28.9% 0.029 144.8)

  • #242B3A

    #242B3A

    oklch(28.9% 0.029 265.2)

  • #382524

    #382524

    oklch(28.7% 0.029 22.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #222F22

    #222F22

    oklch(28.9% 0.029 144.8)

  • #1C2E38

    #1C2E38

    oklch(29% 0.03 233.5)

  • #332633

    #332633

    oklch(28.9% 0.03 326.3)

  • #37271D

    #37271D

    oklch(28.9% 0.03 53.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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