#212F22

Closest named color: Pakistan Green (#283618). oklch(28.8% 0.03 146.6), rgb(33, 47, 34).

Aa

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

About this color

#212F22 is a dark, muted green. In OKLCH its lightness is 29%, its chroma 0.030 and its hue 147°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pakistan Green (#283618), ΔE 0.035 away. White text reads best on it, at 14.05:1.

Hue familyGreens
Lightnessdark (29%)
Chromamuted (0.030)
Temperaturein between
Nearest namePakistan Green (#283618)
Black text1.49:1
White text14.05:1

Values

HEX#212F22
RGBrgb(33, 47, 34)
HSLhsl(124, 18%, 16%)
OKLCHoklch(28.8% 0.03 146.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 #212F22 14.05:1 AAA Lc -103.7 Preferred for body text
Black text on #212F22 1.49:1 Fails Lc 0.0 Not readable
#212F22 text on white 14.05:1 AAA Lc 100.7 Preferred for body text
#212F22 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

    #F3F6F3

    oklch(97% 0.005 145.5)

  2. Step 100

    100

    #E6ECE6

    oklch(93.7% 0.01 145.5)

  3. Step 200

    200

    #D1DDD2

    oklch(88.5% 0.02 147.8)

  4. Step 300

    300

    #B2C7B3

    oklch(80.8% 0.036 146.5)

  5. Step 400

    400

    #8AAB8C

    oklch(70.8% 0.057 146.5)

  6. Step 500

    500

    #6C966F

    oklch(63.1% 0.074 146.4)

  7. Step 600

    600

    #538057

    oklch(55.6% 0.08 146.5)

  8. Step 700

    700

    #446C47

    oklch(49.1% 0.074 146.1)

  9. Step 800

    800

    #38583B

    oklch(42.7% 0.061 146.7)

  10. Step 900

    900

    #314933

    oklch(37.9% 0.048 146.6)

  11. Step 950

    950 (this color)

    #212F22

    oklch(28.8% 0.03 146.6)

Export this scale for Tailwind in the Tailwind colors tool

#212F22 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.024
Deuteranopia (no green cones)#2D2B230.024
Tritanopia (no blue cones)#1F2E2B0.018
Achromatopsia (no color)#2C2C2C0.031

Harmonies

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

Complementary

The opposite hue (180°).

  • #212F22

    #212F22

    oklch(28.8% 0.03 146.6)

  • #332633

    #332633

    oklch(28.9% 0.03 326.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #212F22

    #212F22

    oklch(28.8% 0.03 146.6)

  • #2A2D1B

    #2A2D1B

    oklch(28.9% 0.031 116.1)

  • #1A302A

    #1A302A

    oklch(28.9% 0.03 174.8)

Open the analogous palette in the generator

Split complementary

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

  • #212F22

    #212F22

    oklch(28.8% 0.03 146.6)

  • #2C2838

    #2C2838

    oklch(28.8% 0.029 296)

  • #37252B

    #37252B

    oklch(28.9% 0.029 357.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #212F22

    #212F22

    oklch(28.8% 0.03 146.6)

  • #242B3A

    #242B3A

    oklch(28.9% 0.029 265.2)

  • #392523

    #392523

    oklch(28.8% 0.031 25.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #212F22

    #212F22

    oklch(28.8% 0.03 146.6)

  • #1C2D38

    #1C2D38

    oklch(28.7% 0.03 237.6)

  • #332633

    #332633

    oklch(28.9% 0.03 326.3)

  • #37271C

    #37271C

    oklch(28.8% 0.031 55.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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