#212E1B

Closest named color: Pakistan Green (#283618). oklch(28.3% 0.038 136.1), rgb(33, 46, 27).

Aa

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

About this color

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

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

Values

HEX#212E1B
RGBrgb(33, 46, 27)
HSLhsl(101, 26%, 14%)
OKLCHoklch(28.3% 0.038 136.1)

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 #212E1B 14.27:1 AAA Lc -103.9 Preferred for body text
Black text on #212E1B 1.47:1 Fails Lc 0.0 Not readable
#212E1B text on white 14.27:1 AAA Lc 101.0 Preferred for body text
#212E1B text on black 1.47: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

    #E6ECE3

    oklch(93.6% 0.014 134.9)

  3. Step 200

    200

    #D2DDCD

    oklch(88.5% 0.025 135.7)

  4. Step 300

    300

    #B4C8AB

    oklch(81% 0.045 135.9)

  5. Step 400

    400

    #8CAB7F

    oklch(70.6% 0.071 136.6)

  6. Step 500

    500

    #70965E

    oklch(63% 0.091 136)

  7. Step 600

    600

    #588144

    oklch(55.8% 0.1 136.1)

  8. Step 700

    700

    #486D35

    oklch(49.3% 0.094 135.9)

  9. Step 800

    800

    #3B582D

    oklch(42.6% 0.076 136.2)

  10. Step 900

    900

    #334928

    oklch(37.8% 0.06 135.8)

  11. Step 950

    950 (this color)

    #212E1B

    oklch(28.3% 0.038 136.1)

Export this scale for Tailwind in the Tailwind colors tool

#212E1B 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)#2F2B1A0.025
Deuteranopia (no green cones)#2D2A1C0.024
Tritanopia (no blue cones)#212D290.026
Achromatopsia (no color)#2A2A2A0.038

Harmonies

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

Complementary

The opposite hue (180°).

  • #212E1B

    #212E1B

    oklch(28.3% 0.038 136.1)

  • #312436

    #312436

    oklch(28.3% 0.037 316.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #212E1B

    #212E1B

    oklch(28.3% 0.038 136.1)

  • #2C2B14

    #2C2B14

    oklch(28.4% 0.038 106.4)

  • #153025

    #153025

    oklch(28.4% 0.039 165.2)

Open the analogous palette in the generator

Split complementary

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

  • #212E1B

    #212E1B

    oklch(28.3% 0.038 136.1)

  • #28273C

    #28273C

    oklch(28.4% 0.038 285.9)

  • #37222E

    #37222E

    oklch(28.3% 0.038 344.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #212E1B

    #212E1B

    oklch(28.3% 0.038 136.1)

  • #1D2A3C

    #1D2A3C

    oklch(28.2% 0.038 256.6)

  • #3A2223

    #3A2223

    oklch(28.3% 0.037 17)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #212E1B

    #212E1B

    oklch(28.3% 0.038 136.1)

  • #132D38

    #132D38

    oklch(28.2% 0.038 227.9)

  • #312436

    #312436

    oklch(28.3% 0.037 316.4)

  • #392419

    #392419

    oklch(28.3% 0.037 48.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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