#338C52

Closest named color: Sea Green (#2E8B57). oklch(57.2% 0.123 151.8), rgb(51, 140, 82).

Aa

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

About this color

#338C52 is a medium-dark, moderately saturated green. In OKLCH its lightness is 57%, its chroma 0.123 and its hue 152°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Sea Green (#2E8B57), ΔE 0.008 away. Black text reads best on it, at 5.01:1.

Hue familyGreens
Lightnessmedium-dark (57%)
Chromamoderately saturated (0.123)
Temperaturein between
Nearest nameSea Green (#2E8B57)
Black text5.01:1
White text4.18:1

Values

HEX#338C52
RGBrgb(51, 140, 82)
HSLhsl(141, 47%, 37%)
OKLCHoklch(57.2% 0.123 151.8)

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 #338C52 4.18:1 AA large text Lc -74.1 Content text, not long reading
Black text on #338C52 5.01:1 AA Lc 35.5 Non-text elements, placeholder text
#338C52 text on white 4.18:1 AA large text Lc 68.6 Content text, not long reading
#338C52 text on black 5.01:1 AA Lc -33.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

    #F2F7F3

    oklch(97.1% 0.007 151.9)

  2. Step 100

    100

    #E2EDE5

    oklch(93.6% 0.016 154.5)

  3. Step 200

    200

    #CBDFCF

    oklch(88.4% 0.03 151.5)

  4. Step 300

    300

    #A7CBAF

    oklch(80.8% 0.055 151.7)

  5. Step 400

    400

    #76B185

    oklch(70.8% 0.089 151.6)

  6. Step 500

    500

    #4F9D66

    oklch(63.1% 0.114 151.5)

  7. Step 600

    600 (this color)

    #338C52

    oklch(57.2% 0.123 151.8)

  8. Step 700

    700

    #1E723E

    oklch(48.9% 0.114 151.8)

  9. Step 800

    800

    #1C5D34

    oklch(42.6% 0.094 152.2)

  10. Step 900

    900

    #1E4D2D

    oklch(37.8% 0.075 151.6)

  11. Step 950

    950

    #132D1B

    oklch(27% 0.047 152.1)

Export this scale for Tailwind in the Tailwind colors tool

#338C52 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)#8C814E0.104
Deuteranopia (no green cones)#8179560.103
Tritanopia (no blue cones)#138A7E0.066
Achromatopsia (no color)#7C7C7C0.124

Harmonies

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

Complementary

The opposite hue (180°).

  • #338C52

    #338C52

    oklch(57.2% 0.123 151.8)

  • #A15A98

    #A15A98

    oklch(57.1% 0.123 331.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #338C52

    #338C52

    oklch(57.2% 0.123 151.8)

  • #6C8322

    #6C8322

    oklch(57.3% 0.123 122.1)

  • #008B7C

    #008B7C

    oklch(57.1% 0.102 181.8)

Open the analogous palette in the generator

Split complementary

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

  • #338C52

    #338C52

    oklch(57.2% 0.123 151.8)

  • #8565B4

    #8565B4

    oklch(57.2% 0.122 301.3)

  • #B15672

    #B15672

    oklch(57.2% 0.122 2.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #338C52

    #338C52

    oklch(57.2% 0.123 151.8)

  • #5F72C0

    #5F72C0

    oklch(57.3% 0.122 271.7)

  • #B55948

    #B55948

    oklch(57.2% 0.123 31.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #338C52

    #338C52

    oklch(57.2% 0.123 151.8)

  • #207FB9

    #207FB9

    oklch(57.1% 0.123 241.6)

  • #A15A98

    #A15A98

    oklch(57.1% 0.123 331.8)

  • #AA6518

    #AA6518

    oklch(57.2% 0.122 62.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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