#337E21

Closest named color: Tree Green (#2A7E19). oklch(52.6% 0.147 140.2), rgb(51, 126, 33).

Aa

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

About this color

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

Hue familyGreens
Lightnessmedium-dark (53%)
Chromavivid (0.147)
Temperaturein between
Nearest nameTree Green (#2A7E19)
Black text4.14:1
White text5.06:1

Values

HEX#337E21
RGBrgb(51, 126, 33)
HSLhsl(108, 58%, 31%)
OKLCHoklch(52.6% 0.147 140.2)

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 #337E21 5.06:1 AA Lc -80.0 Fine for body text
Black text on #337E21 4.14:1 AA large text Lc 29.4 Dividers and decoration only
#337E21 text on white 5.06:1 AA Lc 74.6 Content text, not long reading
#337E21 text on black 4.14:1 AA large text Lc -27.1 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

    #E3EDE1

    oklch(93.5% 0.019 140.5)

  3. Step 200

    200

    #CDE0C9

    oklch(88.6% 0.037 140.2)

  4. Step 300

    300

    #AACCA3

    oklch(80.9% 0.067 140.3)

  5. Step 400

    400

    #7CB171

    oklch(70.7% 0.106 140.2)

  6. Step 500

    500

    #599D4B

    oklch(63.1% 0.135 140.3)

  7. Step 600

    600 (this color)

    #337E21

    oklch(52.6% 0.147 140.2)

  8. Step 700

    700

    #2E721D

    oklch(49% 0.137 140.1)

  9. Step 800

    800

    #275D1B

    oklch(42.6% 0.113 140.3)

  10. Step 900

    900

    #254D1C

    oklch(37.8% 0.09 140.1)

  11. Step 950

    950

    #162D12

    oklch(27% 0.056 140.8)

Export this scale for Tailwind in the Tailwind colors tool

#337E21 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)#8272120.100
Deuteranopia (no green cones)#786C2A0.100
Tritanopia (no blue cones)#2A7A6C0.099
Achromatopsia (no color)#6E6E6E0.148

Harmonies

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

Complementary

The opposite hue (180°).

  • #337E21

    #337E21

    oklch(52.6% 0.147 140.2)

  • #8F499E

    #8F499E

    oklch(52.6% 0.147 320.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #337E21

    #337E21

    oklch(52.6% 0.147 140.2)

  • #6F7000

    #6F7000

    oklch(52.7% 0.115 110.4)

  • #007E62

    #007E62

    oklch(52.8% 0.104 170.2)

Open the analogous palette in the generator

Split complementary

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

  • #337E21

    #337E21

    oklch(52.6% 0.147 140.2)

  • #6C57B8

    #6C57B8

    oklch(52.6% 0.147 290.4)

  • #A64076

    #A64076

    oklch(52.7% 0.147 350.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #337E21

    #337E21

    oklch(52.6% 0.147 140.2)

  • #3467BE

    #3467BE

    oklch(52.5% 0.147 260.4)

  • #B03F46

    #B03F46

    oklch(52.8% 0.147 20.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #337E21

    #337E21

    oklch(52.6% 0.147 140.2)

  • #00759B

    #00759B

    oklch(52.6% 0.105 229.7)

  • #8F499E

    #8F499E

    oklch(52.6% 0.147 320.3)

  • #A74D00

    #A74D00

    oklch(52.6% 0.139 50.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #337E21 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.