#338F4D

Closest named color: Sea Green (#2E8B57). oklch(57.9% 0.132 149.6), rgb(51, 143, 77).

Aa

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

About this color

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

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

Values

HEX#338F4D
RGBrgb(51, 143, 77)
HSLhsl(137, 47%, 38%)
OKLCHoklch(57.9% 0.132 149.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 #338F4D 4.05:1 AA large text Lc -73.0 Content text, not long reading
Black text on #338F4D 5.17:1 AA Lc 36.6 Non-text elements, placeholder text
#338F4D text on white 4.05:1 AA large text Lc 67.5 Content text, not long reading
#338F4D text on black 5.17:1 AA Lc -34.2 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

    #A6CCAC

    oklch(80.9% 0.06 149.5)

  5. Step 400

    400

    #75B181

    oklch(70.6% 0.094 149.8)

  6. Step 500

    500

    #4D9E60

    oklch(63.2% 0.122 149.4)

  7. Step 600

    600 (this color)

    #338F4D

    oklch(57.9% 0.132 149.6)

  8. Step 700

    700

    #1B7338

    oklch(49% 0.123 149.7)

  9. Step 800

    800

    #1A5E2F

    oklch(42.7% 0.102 149.8)

  10. Step 900

    900

    #1D4D2A

    oklch(37.7% 0.079 149.9)

  11. Step 950

    950

    #122D19

    oklch(26.9% 0.05 150.3)

Export this scale for Tailwind in the Tailwind colors tool

#338F4D 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)#9083480.109
Deuteranopia (no green cones)#847B510.106
Tritanopia (no blue cones)#148C7F0.074
Achromatopsia (no color)#7E7E7E0.133

Harmonies

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

Complementary

The opposite hue (180°).

  • #338F4D

    #338F4D

    oklch(57.9% 0.132 149.6)

  • #A45A9F

    #A45A9F

    oklch(57.8% 0.132 329.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #338F4D

    #338F4D

    oklch(57.9% 0.132 149.6)

  • #71840F

    #71840F

    oklch(57.8% 0.132 119.5)

  • #008E7C

    #008E7C

    oklch(57.9% 0.105 179.6)

Open the analogous palette in the generator

Split complementary

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

  • #338F4D

    #338F4D

    oklch(57.9% 0.132 149.6)

  • #8666BC

    #8666BC

    oklch(57.9% 0.131 299.5)

  • #B65477

    #B65477

    oklch(57.8% 0.132 359.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #338F4D

    #338F4D

    oklch(57.9% 0.132 149.6)

  • #5B74C8

    #5B74C8

    oklch(57.9% 0.132 269.5)

  • #BB574A

    #BB574A

    oklch(57.8% 0.132 29.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #338F4D

    #338F4D

    oklch(57.9% 0.132 149.6)

  • #0082BF

    #0082BF

    oklch(57.8% 0.132 239.8)

  • #A45A9F

    #A45A9F

    oklch(57.8% 0.132 329.6)

  • #B1640D

    #B1640D

    oklch(57.9% 0.132 60.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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