#338B20

Closest named color: Forest Green (#228B22). oklch(56.2% 0.164 140.6), rgb(51, 139, 32).

Aa

Black text reads best on this color (4.85:1).

About this color

#338B20 is a medium-dark, vivid green. In OKLCH its lightness is 56%, its chroma 0.164 and its hue 141°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Forest Green (#228B22), ΔE 0.010 away. Black text reads best on it, at 4.85:1.

Hue familyGreens
Lightnessmedium-dark (56%)
Chromavivid (0.164)
Temperaturein between
Nearest nameForest Green (#228B22)
Black text4.85:1
White text4.32:1

Values

HEX#338B20
RGBrgb(51, 139, 32)
HSLhsl(109, 63%, 34%)
OKLCHoklch(56.2% 0.164 140.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 #338B20 4.32:1 AA large text Lc -75.0 Fine for body text
Black text on #338B20 4.85:1 AA Lc 34.5 Non-text elements, placeholder text
#338B20 text on white 4.32:1 AA large text Lc 69.5 Content text, not long reading
#338B20 text on black 4.85:1 AA Lc -32.1 Non-text elements, placeholder text

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

    #E3EEE0

    oklch(93.7% 0.022 139)

  3. Step 200

    200

    #CBE0C7

    oklch(88.4% 0.041 140.7)

  4. Step 300

    300

    #A7CDA0

    oklch(80.9% 0.074 140.7)

  5. Step 400

    400

    #77B36C

    oklch(70.8% 0.118 140.6)

  6. Step 500

    500

    #519F42

    oklch(63.2% 0.151 140.5)

  7. Step 600

    600 (this color)

    #338B20

    oklch(56.2% 0.164 140.6)

  8. Step 700

    700

    #22740E

    oklch(49.1% 0.152 140.6)

  9. Step 800

    800

    #1F5F11

    oklch(42.8% 0.127 140.6)

  10. Step 900

    900

    #204E17

    oklch(37.8% 0.099 140.6)

  11. Step 950

    950

    #142E0F

    oklch(27.2% 0.062 140.5)

Export this scale for Tailwind in the Tailwind colors tool

#338B20 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)#8F7E090.111
Deuteranopia (no green cones)#84772C0.111
Tritanopia (no blue cones)#2686770.111
Achromatopsia (no color)#7979790.164

Harmonies

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

Complementary

The opposite hue (180°).

  • #338B20

    #338B20

    oklch(56.2% 0.164 140.6)

  • #9F4FAF

    #9F4FAF

    oklch(56.4% 0.163 320.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #338B20

    #338B20

    oklch(56.2% 0.164 140.6)

  • #797B00

    #797B00

    oklch(56.2% 0.124 110.9)

  • #008A6C

    #008A6C

    oklch(56.4% 0.111 170.5)

Open the analogous palette in the generator

Split complementary

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

  • #338B20

    #338B20

    oklch(56.2% 0.164 140.6)

  • #775ECD

    #775ECD

    oklch(56.2% 0.165 290.5)

  • #B84382

    #B84382

    oklch(56.2% 0.164 350.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #338B20

    #338B20

    oklch(56.2% 0.164 140.6)

  • #3871D4

    #3871D4

    oklch(56.3% 0.164 260.6)

  • #C3424A

    #C3424A

    oklch(56.3% 0.164 20.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #338B20

    #338B20

    oklch(56.2% 0.164 140.6)

  • #0080AB

    #0080AB

    oklch(56.2% 0.113 230.8)

  • #9F4FAF

    #9F4FAF

    oklch(56.4% 0.163 320.7)

  • #B65500

    #B65500

    oklch(56.1% 0.147 50.5)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #338B20.

Similar named colors

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

Use #338B20 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.