#338B39

Closest named color: Forest Green (#228B22). oklch(56.5% 0.145 144.5), rgb(51, 139, 57).

Aa

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

About this color

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

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

Values

HEX#338B39
RGBrgb(51, 139, 57)
HSLhsl(124, 46%, 37%)
OKLCHoklch(56.5% 0.145 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 #338B39 4.29:1 AA large text Lc -74.8 Content text, not long reading
Black text on #338B39 4.89:1 AA Lc 34.7 Non-text elements, placeholder text
#338B39 text on white 4.29:1 AA large text Lc 69.3 Content text, not long reading
#338B39 text on black 4.89:1 AA Lc -32.3 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

    #F2F7F2

    oklch(97.1% 0.008 145.5)

  2. Step 100

    100

    #E3EDE2

    oklch(93.6% 0.018 142.8)

  3. Step 200

    200

    #CBE0CB

    oklch(88.5% 0.036 145.3)

  4. Step 300

    300

    #A7CCA7

    oklch(80.8% 0.065 144.9)

  5. Step 400

    400

    #77B277

    oklch(70.8% 0.105 144.4)

  6. Step 500

    500

    #509E53

    oklch(63.1% 0.134 144.5)

  7. Step 600

    600 (this color)

    #338B39

    oklch(56.5% 0.145 144.5)

  8. Step 700

    700

    #217328

    oklch(49% 0.135 144.4)

  9. Step 800

    800

    #1E5E23

    oklch(42.7% 0.112 144.5)

  10. Step 900

    900

    #1F4D22

    oklch(37.6% 0.087 144.8)

  11. Step 950

    950

    #142D14

    oklch(26.9% 0.055 143.9)

Export this scale for Tailwind in the Tailwind colors tool

#338B39 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)#8D7F310.107
Deuteranopia (no green cones)#82773F0.107
Tritanopia (no blue cones)#2087790.091
Achromatopsia (no color)#7A7A7A0.146

Harmonies

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

Complementary

The opposite hue (180°).

  • #338B39

    #338B39

    oklch(56.5% 0.145 144.5)

  • #9F54A5

    #9F54A5

    oklch(56.6% 0.145 324.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #338B39

    #338B39

    oklch(56.5% 0.145 144.5)

  • #757E00

    #757E00

    oklch(56.6% 0.128 114.7)

  • #008A72

    #008A72

    oklch(56.5% 0.107 174.7)

Open the analogous palette in the generator

Split complementary

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

  • #338B39

    #338B39

    oklch(56.5% 0.145 144.5)

  • #7D61C2

    #7D61C2

    oklch(56.5% 0.146 294.6)

  • #B44B7B

    #B44B7B

    oklch(56.4% 0.146 354.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #338B39

    #338B39

    oklch(56.5% 0.145 144.5)

  • #4A71CB

    #4A71CB

    oklch(56.5% 0.146 264.6)

  • #BC4C49

    #BC4C49

    oklch(56.4% 0.146 24.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #338B39

    #338B39

    oklch(56.5% 0.145 144.5)

  • #0080B1

    #0080B1

    oklch(56.6% 0.119 234.3)

  • #9F54A5

    #9F54A5

    oklch(56.6% 0.145 324.5)

  • #B35A00

    #B35A00

    oklch(56.5% 0.141 54.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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