#338D5A

Closest named color: Sea Green (#2E8B57). oklch(57.6% 0.116 155.1), rgb(51, 141, 90).

Aa

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

About this color

#338D5A is a medium-dark, moderately saturated green. In OKLCH its lightness is 58%, its chroma 0.116 and its hue 155°. 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.09:1.

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

Values

HEX#338D5A
RGBrgb(51, 141, 90)
HSLhsl(146, 47%, 38%)
OKLCHoklch(57.6% 0.116 155.1)

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 #338D5A 4.11:1 AA large text Lc -73.5 Content text, not long reading
Black text on #338D5A 5.09:1 AA Lc 36.1 Non-text elements, placeholder text
#338D5A text on white 4.11:1 AA large text Lc 68.0 Content text, not long reading
#338D5A text on black 5.09:1 AA Lc -33.6 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

    #CBDFD1

    oklch(88.5% 0.029 155.2)

  4. Step 300

    300

    #A7CBB2

    oklch(80.9% 0.052 154.8)

  5. Step 400

    400

    #75B08A

    oklch(70.6% 0.083 155.4)

  6. Step 500

    500

    #4E9C6D

    oklch(63% 0.106 155.3)

  7. Step 600

    600 (this color)

    #338D5A

    oklch(57.6% 0.116 155.1)

  8. Step 700

    700

    #1D7245

    oklch(49.1% 0.107 155.3)

  9. Step 800

    800

    #1B5D39

    oklch(42.7% 0.089 155.4)

  10. Step 900

    900

    #1E4C31

    oklch(37.6% 0.069 155.2)

  11. Step 950

    950

    #132D1D

    oklch(27.1% 0.044 155)

Export this scale for Tailwind in the Tailwind colors tool

#338D5A 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)#8D82570.105
Deuteranopia (no green cones)#817A5D0.101
Tritanopia (no blue cones)#098C800.057
Achromatopsia (no color)#7D7D7D0.117

Harmonies

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

Complementary

The opposite hue (180°).

  • #338D5A

    #338D5A

    oklch(57.6% 0.116 155.1)

  • #A35D94

    #A35D94

    oklch(57.7% 0.116 335.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #338D5A

    #338D5A

    oklch(57.6% 0.116 155.1)

  • #698530

    #698530

    oklch(57.7% 0.117 125.4)

  • #008C81

    #008C81

    oklch(57.6% 0.101 185.2)

Open the analogous palette in the generator

Split complementary

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

  • #338D5A

    #338D5A

    oklch(57.6% 0.116 155.1)

  • #8966B0

    #8966B0

    oklch(57.6% 0.116 304.8)

  • #B15970

    #B15970

    oklch(57.6% 0.117 4.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #338D5A

    #338D5A

    oklch(57.6% 0.116 155.1)

  • #6672BD

    #6672BD

    oklch(57.6% 0.116 275.3)

  • #B35D48

    #B35D48

    oklch(57.6% 0.117 34.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #338D5A

    #338D5A

    oklch(57.6% 0.116 155.1)

  • #337FB9

    #337FB9

    oklch(57.6% 0.116 245)

  • #A35D94

    #A35D94

    oklch(57.7% 0.116 335.4)

  • #A7691F

    #A7691F

    oklch(57.6% 0.116 65.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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