#338B62

Closest named color: Sea Green (#2E8B57). oklch(57.3% 0.106 159.9), rgb(51, 139, 98).

Aa

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

About this color

#338B62 is a medium-dark, moderately saturated green. In OKLCH its lightness is 57%, its chroma 0.106 and its hue 160°. 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.01:1.

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

Values

HEX#338B62
RGBrgb(51, 139, 98)
HSLhsl(152, 46%, 37%)
OKLCHoklch(57.3% 0.106 159.9)

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

    #F2F7F4

    oklch(97.2% 0.007 160.1)

  2. Step 100

    100

    #E2EDE7

    oklch(93.6% 0.014 162.5)

  3. Step 200

    200

    #CBDFD3

    oklch(88.5% 0.027 159.5)

  4. Step 300

    300

    #A7CBB6

    oklch(81% 0.048 159.5)

  5. Step 400

    400

    #76B090

    oklch(70.8% 0.077 159.5)

  6. Step 500

    500

    #4F9C75

    oklch(63.2% 0.098 159.7)

  7. Step 600

    600 (this color)

    #338B62

    oklch(57.3% 0.106 159.9)

  8. Step 700

    700

    #1E714D

    oklch(49% 0.098 160.2)

  9. Step 800

    800

    #1C5C3F

    oklch(42.6% 0.081 160)

  10. Step 900

    900

    #1E4C36

    oklch(37.7% 0.064 160.2)

  11. Step 950

    950

    #132C20

    oklch(26.9% 0.039 161.3)

Export this scale for Tailwind in the Tailwind colors tool

#338B62 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)#8981600.099
Deuteranopia (no green cones)#7D78650.097
Tritanopia (no blue cones)#008A800.047
Achromatopsia (no color)#7C7C7C0.107

Harmonies

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

Complementary

The opposite hue (180°).

  • #338B62

    #338B62

    oklch(57.3% 0.106 159.9)

  • #A15E8C

    #A15E8C

    oklch(57.3% 0.106 339.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #338B62

    #338B62

    oklch(57.3% 0.106 159.9)

  • #63843D

    #63843D

    oklch(57.1% 0.106 129.8)

  • #008A85

    #008A85

    oklch(57.2% 0.099 190.3)

Open the analogous palette in the generator

Split complementary

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

  • #338B62

    #338B62

    oklch(57.3% 0.106 159.9)

  • #8B66A7

    #8B66A7

    oklch(57.3% 0.105 309.5)

  • #AD5C6A

    #AD5C6A

    oklch(57.4% 0.106 10)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #338B62

    #338B62

    oklch(57.3% 0.106 159.9)

  • #6C70B5

    #6C70B5

    oklch(57.2% 0.106 280)

  • #AC6146

    #AC6146

    oklch(57.3% 0.105 40.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #338B62

    #338B62

    oklch(57.3% 0.106 159.9)

  • #437CB4

    #437CB4

    oklch(57.3% 0.106 249.8)

  • #A15E8C

    #A15E8C

    oklch(57.3% 0.106 339.7)

  • #A06C27

    #A06C27

    oklch(57.4% 0.106 69.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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