#338A5E

Closest named color: Sea Green (#2E8B57). oklch(56.9% 0.108 157.9), rgb(51, 138, 94).

Aa

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

About this color

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

Hue familyGreens
Lightnessmedium-dark (57%)
Chromamoderately saturated (0.108)
Temperaturein between
Nearest nameSea Green (#2E8B57)
Black text4.93:1
White text4.25:1

Values

HEX#338A5E
RGBrgb(51, 138, 94)
HSLhsl(150, 46%, 37%)
OKLCHoklch(56.9% 0.108 157.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 #338A5E 4.25:1 AA large text Lc -74.6 Content text, not long reading
Black text on #338A5E 4.93:1 AA Lc 35.0 Non-text elements, placeholder text
#338A5E text on white 4.25:1 AA large text Lc 69.1 Content text, not long reading
#338A5E text on black 4.93:1 AA Lc -32.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

    #F2F7F4

    oklch(97.2% 0.007 160.1)

  2. Step 100

    100

    #E3EDE6

    oklch(93.7% 0.014 155.6)

  3. Step 200

    200

    #CBDFD2

    oklch(88.5% 0.028 157.3)

  4. Step 300

    300

    #A7CBB5

    oklch(81% 0.049 158.3)

  5. Step 400

    400

    #76B08E

    oklch(70.8% 0.079 157.9)

  6. Step 500

    500

    #4F9C72

    oklch(63.2% 0.1 157.9)

  7. Step 600

    600 (this color)

    #338A5E

    oklch(56.9% 0.108 157.9)

  8. Step 700

    700

    #20714A

    oklch(49% 0.1 158)

  9. Step 800

    800

    #1D5C3D

    oklch(42.6% 0.083 158.2)

  10. Step 900

    900

    #1F4C34

    oklch(37.7% 0.065 157.8)

  11. Step 950

    950

    #132D1F

    oklch(27.2% 0.042 158.4)

Export this scale for Tailwind in the Tailwind colors tool

#338A5E 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)#89805B0.100
Deuteranopia (no green cones)#7D77610.098
Tritanopia (no blue cones)#07897E0.049
Achromatopsia (no color)#7B7B7B0.109

Harmonies

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

Complementary

The opposite hue (180°).

  • #338A5E

    #338A5E

    oklch(56.9% 0.108 157.9)

  • #A05D8D

    #A05D8D

    oklch(57% 0.108 338.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #338A5E

    #338A5E

    oklch(56.9% 0.108 157.9)

  • #648338

    #648338

    oklch(56.9% 0.109 128.2)

  • #008982

    #008982

    oklch(56.8% 0.099 188.5)

Open the analogous palette in the generator

Split complementary

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

  • #338A5E

    #338A5E

    oklch(56.9% 0.108 157.9)

  • #8965A8

    #8965A8

    oklch(57% 0.108 308)

  • #AC5A6B

    #AC5A6B

    oklch(56.9% 0.108 7.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #338A5E

    #338A5E

    oklch(56.9% 0.108 157.9)

  • #6870B6

    #6870B6

    oklch(56.9% 0.108 277.4)

  • #AD5E46

    #AD5E46

    oklch(56.9% 0.109 37.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #338A5E

    #338A5E

    oklch(56.9% 0.108 157.9)

  • #3D7CB3

    #3D7CB3

    oklch(57% 0.107 247.3)

  • #A05D8D

    #A05D8D

    oklch(57% 0.108 338.4)

  • #A16924

    #A16924

    oklch(56.9% 0.109 67.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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