#212D17

Closest named color: Pakistan Green (#283618). oklch(27.9% 0.042 131.9), rgb(33, 45, 23).

Aa

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

About this color

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

Hue familyGreens
Lightnessdark (28%)
Chromamuted (0.042)
Temperaturein between
Nearest namePakistan Green (#283618)
Black text1.45:1
White text14.45:1

Values

HEX#212D17
RGBrgb(33, 45, 23)
HSLhsl(93, 32%, 13%)
OKLCHoklch(27.9% 0.042 131.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 #212D17 14.45:1 AAA Lc -104.1 Preferred for body text
Black text on #212D17 1.45:1 Fails Lc 0.0 Not readable
#212D17 text on white 14.45:1 AAA Lc 101.2 Preferred for body text
#212D17 text on black 1.45: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

    #F4F6F2

    oklch(97.1% 0.006 128.5)

  2. Step 100

    100

    #E6ECE2

    oklch(93.6% 0.015 132.5)

  3. Step 200

    200

    #D3DDCB

    oklch(88.5% 0.027 130.9)

  4. Step 300

    300

    #B5C8A7

    oklch(80.9% 0.05 132)

  5. Step 400

    400

    #8FAB78

    oklch(70.7% 0.078 131.5)

  6. Step 500

    500

    #739654

    oklch(63.1% 0.101 131.6)

  7. Step 600

    600

    #5B8038

    oklch(55.5% 0.109 131.7)

  8. Step 700

    700

    #4B6C2B

    oklch(49% 0.101 131.7)

  9. Step 800

    800

    #3D5824

    oklch(42.6% 0.084 131.9)

  10. Step 900

    900

    #344923

    oklch(37.7% 0.066 132.5)

  11. Step 950

    950 (this color)

    #212D17

    oklch(27.9% 0.042 131.9)

Export this scale for Tailwind in the Tailwind colors tool

#212D17 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)#2F2A150.025
Deuteranopia (no green cones)#2D29180.025
Tritanopia (no blue cones)#212B280.032
Achromatopsia (no color)#2929290.042

Harmonies

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

Complementary

The opposite hue (180°).

  • #212D17

    #212D17

    oklch(27.9% 0.042 131.9)

  • #302338

    #302338

    oklch(28.1% 0.042 312.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #212D17

    #212D17

    oklch(27.9% 0.042 131.9)

  • #2D290F

    #2D290F

    oklch(27.8% 0.042 100.7)

  • #142F22

    #142F22

    oklch(27.9% 0.041 161.1)

Open the analogous palette in the generator

Split complementary

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

  • #212D17

    #212D17

    oklch(27.9% 0.042 131.9)

  • #25263D

    #25263D

    oklch(27.9% 0.042 281.4)

  • #37202E

    #37202E

    oklch(27.9% 0.042 343)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #212D17

    #212D17

    oklch(27.9% 0.042 131.9)

  • #192A3D

    #192A3D

    oklch(28% 0.042 252.1)

  • #3A2023

    #3A2023

    oklch(27.9% 0.041 12.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #212D17

    #212D17

    oklch(27.9% 0.042 131.9)

  • #0D2D37

    #0D2D37

    oklch(27.9% 0.041 221.9)

  • #302338

    #302338

    oklch(28.1% 0.042 312.1)

  • #3A2218

    #3A2218

    oklch(28% 0.041 43.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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