#338D4C

Closest named color: Sea Green (#2E8B57). oklch(57.3% 0.13 149.5), rgb(51, 141, 76).

Aa

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

About this color

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

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

Values

HEX#338D4C
RGBrgb(51, 141, 76)
HSLhsl(137, 47%, 38%)
OKLCHoklch(57.3% 0.13 149.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 #338D4C 4.15:1 AA large text Lc -73.8 Content text, not long reading
Black text on #338D4C 5.05:1 AA Lc 35.8 Non-text elements, placeholder text
#338D4C text on white 4.15:1 AA large text Lc 68.3 Content text, not long reading
#338D4C text on black 5.05:1 AA Lc -33.4 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

    #E2EDE4

    oklch(93.5% 0.017 151.1)

  3. Step 200

    200

    #CBE0CE

    oklch(88.6% 0.033 149.5)

  4. Step 300

    300

    #A7CCAD

    oklch(81% 0.058 149.6)

  5. Step 400

    400

    #76B181

    oklch(70.7% 0.093 149.4)

  6. Step 500

    500

    #4E9D61

    oklch(63% 0.119 149.7)

  7. Step 600

    600 (this color)

    #338D4C

    oklch(57.3% 0.13 149.5)

  8. Step 700

    700

    #1E7338

    oklch(49.1% 0.122 149.3)

  9. Step 800

    800

    #1C5E2F

    oklch(42.8% 0.101 149.4)

  10. Step 900

    900

    #1E4D2A

    oklch(37.7% 0.078 149.6)

  11. Step 950

    950

    #132D19

    oklch(27% 0.049 149.6)

Export this scale for Tailwind in the Tailwind colors tool

#338D4C 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)#8E81470.107
Deuteranopia (no green cones)#8279500.105
Tritanopia (no blue cones)#168A7D0.073
Achromatopsia (no color)#7C7C7C0.131

Harmonies

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

Complementary

The opposite hue (180°).

  • #338D4C

    #338D4C

    oklch(57.3% 0.13 149.5)

  • #A2599D

    #A2599D

    oklch(57.3% 0.131 329.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #338D4C

    #338D4C

    oklch(57.3% 0.13 149.5)

  • #708310

    #708310

    oklch(57.5% 0.131 119.6)

  • #008C7A

    #008C7A

    oklch(57.3% 0.104 179.5)

Open the analogous palette in the generator

Split complementary

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

  • #338D4C

    #338D4C

    oklch(57.3% 0.13 149.5)

  • #8464B9

    #8464B9

    oklch(57.2% 0.13 299.7)

  • #B45376

    #B45376

    oklch(57.3% 0.131 359.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #338D4C

    #338D4C

    oklch(57.3% 0.13 149.5)

  • #5A72C5

    #5A72C5

    oklch(57.3% 0.131 269.8)

  • #B95649

    #B95649

    oklch(57.4% 0.131 29.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #338D4C

    #338D4C

    oklch(57.3% 0.13 149.5)

  • #0081BC

    #0081BC

    oklch(57.4% 0.129 239.1)

  • #A2599D

    #A2599D

    oklch(57.3% 0.131 329.7)

  • #AF620F

    #AF620F

    oklch(57.3% 0.13 59.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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