#212F15

Closest named color: Pakistan Green (#283618). oklch(28.5% 0.048 132), rgb(33, 47, 21).

Aa

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

About this color

#212F15 is a dark, muted green. In OKLCH its lightness is 28%, its chroma 0.048 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.027 away. White text reads best on it, at 14.16:1.

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

Values

HEX#212F15
RGBrgb(33, 47, 21)
HSLhsl(92, 38%, 13%)
OKLCHoklch(28.5% 0.048 132)

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 #212F15 14.16:1 AAA Lc -103.8 Preferred for body text
Black text on #212F15 1.48:1 Fails Lc 0.0 Not readable
#212F15 text on white 14.16:1 AAA Lc 100.8 Preferred for body text
#212F15 text on black 1.48: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

    #F3F7F1

    oklch(97.1% 0.009 134.9)

  2. Step 100

    100

    #E6ECE1

    oklch(93.5% 0.016 130.4)

  3. Step 200

    200

    #D1DEC9

    oklch(88.5% 0.032 133.3)

  4. Step 300

    300

    #B3C9A3

    oklch(80.9% 0.057 132.2)

  5. Step 400

    400

    #8BAD71

    oklch(70.7% 0.091 132.4)

  6. Step 500

    500

    #6F984A

    oklch(63.1% 0.116 131.8)

  7. Step 600

    600

    #56822B

    oklch(55.6% 0.127 132.2)

  8. Step 700

    700

    #476E1D

    oklch(49.2% 0.118 131.8)

  9. Step 800

    800

    #3A5A1B

    oklch(42.8% 0.098 132.3)

  10. Step 900

    900

    #324A1C

    oklch(37.8% 0.077 132.1)

  11. Step 950

    950 (this color)

    #212F15

    oklch(28.5% 0.048 132)

Export this scale for Tailwind in the Tailwind colors tool

#212F15 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)#312C130.028
Deuteranopia (no green cones)#2F2B170.028
Tritanopia (no blue cones)#212D290.036
Achromatopsia (no color)#2B2B2B0.048

Harmonies

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

Complementary

The opposite hue (180°).

  • #212F15

    #212F15

    oklch(28.5% 0.048 132)

  • #32233B

    #32233B

    oklch(28.5% 0.047 312.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #212F15

    #212F15

    oklch(28.5% 0.048 132)

  • #2F2B0B

    #2F2B0B

    oklch(28.6% 0.049 102.2)

  • #103123

    #103123

    oklch(28.4% 0.047 162.9)

Open the analogous palette in the generator

Split complementary

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

  • #212F15

    #212F15

    oklch(28.5% 0.048 132)

  • #262741

    #262741

    oklch(28.5% 0.047 281.3)

  • #3A2031

    #3A2031

    oklch(28.4% 0.048 341.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #212F15

    #212F15

    oklch(28.5% 0.048 132)

  • #172B41

    #172B41

    oklch(28.4% 0.048 252)

  • #3E1F24

    #3E1F24

    oklch(28.3% 0.048 10.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #212F15

    #212F15

    oklch(28.5% 0.048 132)

  • #062F3B

    #062F3B

    oklch(28.4% 0.048 222.3)

  • #32233B

    #32233B

    oklch(28.5% 0.047 312.2)

  • #3E2216

    #3E2216

    oklch(28.6% 0.048 43.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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