#22821D

Closest named color: Tree Green (#2A7E19). oklch(53.2% 0.161 142.3), rgb(34, 130, 29).

Aa

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

About this color

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

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

Values

HEX#22821D
RGBrgb(34, 130, 29)
HSLhsl(117, 64%, 31%)
OKLCHoklch(53.2% 0.161 142.3)

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 #22821D 4.90:1 AA Lc -78.9 Fine for body text
Black text on #22821D 4.27:1 AA large text Lc 30.6 Non-text elements, placeholder text
#22821D text on white 4.90:1 AA Lc 73.5 Content text, not long reading
#22821D text on black 4.27:1 AA large text Lc -28.2 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

    #F2F7F1

    oklch(97.1% 0.01 140.5)

  2. Step 100

    100

    #E2EEE1

    oklch(93.7% 0.021 143.2)

  3. Step 200

    200

    #CBE0C8

    oklch(88.4% 0.039 141.7)

  4. Step 300

    300

    #A6CDA2

    oklch(80.9% 0.073 142.4)

  5. Step 400

    400

    #75B36F

    oklch(70.7% 0.116 142.2)

  6. Step 500

    500

    #4D9F47

    oklch(63% 0.148 142.3)

  7. Step 600

    600 (this color)

    #22821D

    oklch(53.2% 0.161 142.3)

  8. Step 700

    700

    #1C7418

    oklch(49% 0.149 142.4)

  9. Step 800

    800

    #1B5F17

    oklch(42.7% 0.124 142.3)

  10. Step 900

    900

    #1D4E1A

    oklch(37.7% 0.097 142.4)

  11. Step 950

    950

    #132E10

    oklch(27.1% 0.062 141.8)

Export this scale for Tailwind in the Tailwind colors tool

#22821D 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)#8575070.113
Deuteranopia (no green cones)#7A6E280.113
Tritanopia (no blue cones)#027E6F0.105
Achromatopsia (no color)#7171710.162

Harmonies

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

Complementary

The opposite hue (180°).

  • #22821D

    #22821D

    oklch(53.2% 0.161 142.3)

  • #9645A2

    #9645A2

    oklch(53.1% 0.162 322.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #22821D

    #22821D

    oklch(53.2% 0.161 142.3)

  • #6E7200

    #6E7200

    oklch(53.1% 0.118 112.2)

  • #007F66

    #007F66

    oklch(53.2% 0.102 172.6)

Open the analogous palette in the generator

Split complementary

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

  • #22821D

    #22821D

    oklch(53.2% 0.161 142.3)

  • #7155C0

    #7155C0

    oklch(53.2% 0.161 292.1)

  • #AE3A75

    #AE3A75

    oklch(53.2% 0.162 352.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #22821D

    #22821D

    oklch(53.2% 0.161 142.3)

  • #3667C8

    #3667C8

    oklch(53.3% 0.16 262.2)

  • #B73A3F

    #B73A3F

    oklch(53.2% 0.161 22.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #22821D

    #22821D

    oklch(53.2% 0.161 142.3)

  • #0076A0

    #0076A0

    oklch(53.2% 0.109 232.1)

  • #9645A2

    #9645A2

    oklch(53.1% 0.162 322.3)

  • #A75100

    #A75100

    oklch(53.2% 0.136 52.6)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #22821D.

Similar named colors

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

Use #22821D 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.