#338C5D

Closest named color: Sea Green (#2E8B57). oklch(57.4% 0.112 156.8), rgb(51, 140, 93).

Aa

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

About this color

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

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

Values

HEX#338C5D
RGBrgb(51, 140, 93)
HSLhsl(148, 47%, 37%)
OKLCHoklch(57.4% 0.112 156.8)

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 #338C5D 4.15:1 AA large text Lc -73.8 Content text, not long reading
Black text on #338C5D 5.05:1 AA Lc 35.7 Non-text elements, placeholder text
#338C5D text on white 4.15:1 AA large text Lc 68.3 Content text, not long reading
#338C5D text on black 5.05:1 AA Lc -33.3 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

    #E2EDE6

    oklch(93.6% 0.015 158.2)

  3. Step 200

    200

    #CBDFD2

    oklch(88.5% 0.028 157.3)

  4. Step 300

    300

    #A7CBB4

    oklch(80.9% 0.05 157.1)

  5. Step 400

    400

    #76B08C

    oklch(70.7% 0.081 156.4)

  6. Step 500

    500

    #4E9C70

    oklch(63.1% 0.103 157)

  7. Step 600

    600 (this color)

    #338C5D

    oklch(57.4% 0.112 156.8)

  8. Step 700

    700

    #1D7248

    oklch(49.1% 0.104 156.9)

  9. Step 800

    800

    #1C5D3B

    oklch(42.8% 0.087 156.5)

  10. Step 900

    900

    #1E4C33

    oklch(37.7% 0.067 157.1)

  11. Step 950

    950

    #132D1E

    oklch(27.1% 0.043 156.6)

Export this scale for Tailwind in the Tailwind colors tool

#338C5D 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)#8B815A0.102
Deuteranopia (no green cones)#7F79600.099
Tritanopia (no blue cones)#068B800.053
Achromatopsia (no color)#7C7C7C0.113

Harmonies

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

Complementary

The opposite hue (180°).

  • #338C5D

    #338C5D

    oklch(57.4% 0.112 156.8)

  • #A25D91

    #A25D91

    oklch(57.4% 0.113 336.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #338C5D

    #338C5D

    oklch(57.4% 0.112 156.8)

  • #678435

    #678435

    oklch(57.3% 0.112 126.6)

  • #008B82

    #008B82

    oklch(57.3% 0.1 186.8)

Open the analogous palette in the generator

Split complementary

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

  • #338C5D

    #338C5D

    oklch(57.4% 0.112 156.8)

  • #8A66AC

    #8A66AC

    oklch(57.5% 0.111 306.9)

  • #AF5A6D

    #AF5A6D

    oklch(57.4% 0.112 7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #338C5D

    #338C5D

    oklch(57.4% 0.112 156.8)

  • #6871BA

    #6871BA

    oklch(57.4% 0.112 276.9)

  • #B05E47

    #B05E47

    oklch(57.3% 0.112 36.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #338C5D

    #338C5D

    oklch(57.4% 0.112 156.8)

  • #3A7EB7

    #3A7EB7

    oklch(57.5% 0.112 246.7)

  • #A25D91

    #A25D91

    oklch(57.4% 0.113 336.8)

  • #A46A22

    #A46A22

    oklch(57.4% 0.112 67.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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