#338D48

Closest named color: Sea Green (#2E8B57). oklch(57.3% 0.134 148.2), rgb(51, 141, 72).

Aa

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

About this color

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

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

Values

HEX#338D48
RGBrgb(51, 141, 72)
HSLhsl(134, 47%, 38%)
OKLCHoklch(57.3% 0.134 148.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 #338D48 4.16:1 AA large text Lc -73.8 Content text, not long reading
Black text on #338D48 5.04:1 AA Lc 35.7 Non-text elements, placeholder text
#338D48 text on white 4.16:1 AA large text Lc 68.3 Content text, not long reading
#338D48 text on black 5.04:1 AA Lc -33.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

    #E2EDE3

    oklch(93.5% 0.018 148.1)

  3. Step 200

    200

    #CBE0CD

    oklch(88.6% 0.034 148)

  4. Step 300

    300

    #A7CCAB

    oklch(80.9% 0.061 148)

  5. Step 400

    400

    #76B17E

    oklch(70.6% 0.096 147.9)

  6. Step 500

    500

    #4E9E5D

    oklch(63.2% 0.125 148.1)

  7. Step 600

    600 (this color)

    #338D48

    oklch(57.3% 0.134 148.2)

  8. Step 700

    700

    #1E7335

    oklch(49.1% 0.124 148.3)

  9. Step 800

    800

    #1C5E2C

    oklch(42.7% 0.104 148.1)

  10. Step 900

    900

    #1E4D28

    oklch(37.7% 0.081 148.3)

  11. Step 950

    950

    #132D18

    oklch(27% 0.05 148.5)

Export this scale for Tailwind in the Tailwind colors tool

#338D48 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)#8E81420.107
Deuteranopia (no green cones)#83794D0.107
Tritanopia (no blue cones)#198A7D0.078
Achromatopsia (no color)#7C7C7C0.135

Harmonies

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

Complementary

The opposite hue (180°).

  • #338D48

    #338D48

    oklch(57.3% 0.134 148.2)

  • #A258A0

    #A258A0

    oklch(57.3% 0.135 328.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #338D48

    #338D48

    oklch(57.3% 0.134 148.2)

  • #718200

    #718200

    oklch(57.3% 0.134 118.5)

  • #008C78

    #008C78

    oklch(57.3% 0.105 177.9)

Open the analogous palette in the generator

Split complementary

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

  • #338D48

    #338D48

    oklch(57.3% 0.134 148.2)

  • #8364BC

    #8364BC

    oklch(57.3% 0.134 298.3)

  • #B55277

    #B55277

    oklch(57.3% 0.134 358.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #338D48

    #338D48

    oklch(57.3% 0.134 148.2)

  • #5772C7

    #5772C7

    oklch(57.2% 0.135 268.6)

  • #BA5449

    #BA5449

    oklch(57.2% 0.134 28.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #338D48

    #338D48

    oklch(57.3% 0.134 148.2)

  • #0081BA

    #0081BA

    oklch(57.3% 0.127 238.2)

  • #A258A0

    #A258A0

    oklch(57.3% 0.135 328.1)

  • #B16008

    #B16008

    oklch(57.2% 0.134 57.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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