#3A7221

Closest named color: Tree Green (#2A7E19). oklch(49.6% 0.128 137.6), rgb(58, 114, 33).

Aa

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

About this color

#3A7221 is a medium-dark, moderately saturated green. In OKLCH its lightness is 50%, its chroma 0.128 and its hue 138°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Tree Green (#2A7E19), ΔE 0.040 away. White text reads best on it, at 5.81:1.

Hue familyGreens
Lightnessmedium-dark (50%)
Chromamoderately saturated (0.128)
Temperaturein between
Nearest nameTree Green (#2A7E19)
Black text3.60:1
White text5.81:1

Values

HEX#3A7221
RGBrgb(58, 114, 33)
HSLhsl(101, 55%, 29%)
OKLCHoklch(49.6% 0.128 137.6)

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 #3A7221 5.81:1 AA Lc -84.1 Fine for body text
Black text on #3A7221 3.60:1 AA large text Lc 25.2 Dividers and decoration only
#3A7221 text on white 5.81:1 AA Lc 78.9 Fine for body text
#3A7221 text on black 3.60:1 AA large text Lc -22.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 700.

  1. Step 50

    50

    #F3F7F1

    oklch(97.1% 0.009 134.9)

  2. Step 100

    100

    #E4EDE1

    oklch(93.6% 0.019 137.8)

  3. Step 200

    200

    #CFDFC9

    oklch(88.6% 0.034 137.1)

  4. Step 300

    300

    #AECBA4

    oklch(81% 0.062 137.7)

  5. Step 400

    400

    #82AF72

    oklch(70.6% 0.099 137.7)

  6. Step 500

    500

    #629B4C

    oklch(63.1% 0.126 137.6)

  7. Step 600

    600

    #48852D

    oklch(55.6% 0.137 137.5)

  8. Step 700

    700 (this color)

    #3A7221

    oklch(49.6% 0.128 137.6)

  9. Step 800

    800

    #2F5C1C

    oklch(42.7% 0.106 137.7)

  10. Step 900

    900

    #2A4B1D

    oklch(37.5% 0.082 137.7)

  11. Step 950

    950

    #192C12

    oklch(26.9% 0.052 137.8)

Export this scale for Tailwind in the Tailwind colors tool

#3A7221 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)#7668150.082
Deuteranopia (no green cones)#6E63280.082
Tritanopia (no blue cones)#366E620.089
Achromatopsia (no color)#6565650.128

Harmonies

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

Complementary

The opposite hue (180°).

  • #3A7221

    #3A7221

    oklch(49.6% 0.128 137.6)

  • #7F4791

    #7F4791

    oklch(49.5% 0.128 317.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A7221

    #3A7221

    oklch(49.6% 0.128 137.6)

  • #696600

    #696600

    oklch(49.7% 0.107 107.7)

  • #007456

    #007456

    oklch(49.6% 0.101 167.2)

Open the analogous palette in the generator

Split complementary

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

  • #3A7221

    #3A7221

    oklch(49.6% 0.128 137.6)

  • #6053A6

    #6053A6

    oklch(49.6% 0.129 288)

  • #943F6F

    #943F6F

    oklch(49.6% 0.128 347.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A7221

    #3A7221

    oklch(49.6% 0.128 137.6)

  • #2E61A9

    #2E61A9

    oklch(49.5% 0.128 257.5)

  • #9D3E46

    #9D3E46

    oklch(49.6% 0.127 17.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A7221

    #3A7221

    oklch(49.6% 0.128 137.6)

  • #006C8D

    #006C8D

    oklch(49.6% 0.097 227.9)

  • #7F4791

    #7F4791

    oklch(49.5% 0.128 317.5)

  • #9A4610

    #9A4610

    oklch(49.5% 0.128 47.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #3A7221 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.