#21812B

Closest named color: Tree Green (#2A7E19). oklch(53% 0.151 144.5), rgb(33, 129, 43).

Aa

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

About this color

#21812B is a medium-dark, vivid green. In OKLCH its lightness is 53%, its chroma 0.151 and its hue 145°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Tree Green (#2A7E19), ΔE 0.014 away. White text reads best on it, at 4.95:1.

Hue familyGreens
Lightnessmedium-dark (53%)
Chromavivid (0.151)
Temperaturein between
Nearest nameTree Green (#2A7E19)
Black text4.23:1
White text4.95:1

Values

HEX#21812B
RGBrgb(33, 129, 43)
HSLhsl(126, 59%, 32%)
OKLCHoklch(53% 0.151 144.5)

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 #21812B 4.95:1 AA Lc -79.3 Fine for body text
Black text on #21812B 4.23:1 AA large text Lc 30.2 Non-text elements, placeholder text
#21812B text on white 4.95:1 AA Lc 73.8 Content text, not long reading
#21812B text on black 4.23:1 AA large text Lc -27.9 Dividers and decoration only

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 600.

  1. Step 50

    50

    #F2F7F2

    oklch(97.1% 0.008 145.5)

  2. Step 100

    100

    #E2EEE2

    oklch(93.7% 0.02 145.4)

  3. Step 200

    200

    #CBE0CA

    oklch(88.5% 0.037 144)

  4. Step 300

    300

    #A6CDA6

    oklch(81% 0.068 144.9)

  5. Step 400

    400

    #75B275

    oklch(70.6% 0.108 144.3)

  6. Step 500

    500

    #4D9F50

    oklch(63.2% 0.14 144.4)

  7. Step 600

    600 (this color)

    #21812B

    oklch(53% 0.151 144.5)

  8. Step 700

    700

    #1C7425

    oklch(49.1% 0.141 144.4)

  9. Step 800

    800

    #1B5F21

    oklch(42.8% 0.116 144.5)

  10. Step 900

    900

    #1D4E20

    oklch(37.8% 0.091 144.6)

  11. Step 950

    950

    #132E14

    oklch(27.2% 0.057 144.5)

Export this scale for Tailwind in the Tailwind colors tool

#21812B 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)#8375200.110
Deuteranopia (no green cones)#786D330.111
Tritanopia (no blue cones)#007D6F0.094
Achromatopsia (no color)#7070700.152

Harmonies

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

Complementary

The opposite hue (180°).

  • #21812B

    #21812B

    oklch(53% 0.151 144.5)

  • #95489C

    #95489C

    oklch(53.1% 0.15 324.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #21812B

    #21812B

    oklch(53% 0.151 144.5)

  • #6B7300

    #6B7300

    oklch(53.1% 0.12 114.5)

  • #007E68

    #007E68

    oklch(52.9% 0.1 174.8)

Open the analogous palette in the generator

Split complementary

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

  • #21812B

    #21812B

    oklch(53% 0.151 144.5)

  • #7355B9

    #7355B9

    oklch(52.9% 0.152 294.5)

  • #AB3E71

    #AB3E71

    oklch(53% 0.152 354.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #21812B

    #21812B

    oklch(53% 0.151 144.5)

  • #3F66C2

    #3F66C2

    oklch(53.1% 0.151 264.5)

  • #B23F3E

    #B23F3E

    oklch(52.9% 0.15 24.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #21812B

    #21812B

    oklch(53% 0.151 144.5)

  • #0075A2

    #0075A2

    oklch(53% 0.111 234.2)

  • #95489C

    #95489C

    oklch(53.1% 0.15 324.2)

  • #A45200

    #A45200

    oklch(52.9% 0.132 54.3)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #21812B.

Similar named colors

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

Use #21812B 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.