#338F5C

Closest named color: Sea Green (#2E8B57). oklch(58.2% 0.117 155.5), rgb(51, 143, 92).

Aa

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

About this color

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

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

Values

HEX#338F5C
RGBrgb(51, 143, 92)
HSLhsl(147, 47%, 38%)
OKLCHoklch(58.2% 0.117 155.5)

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 #338F5C 4.01:1 AA large text Lc -72.7 Content text, not long reading
Black text on #338F5C 5.22:1 AA Lc 36.9 Non-text elements, placeholder text
#338F5C text on white 4.01:1 AA large text Lc 67.2 Content text, not long reading
#338F5C text on black 5.22:1 AA Lc -34.5 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

    #A6CBB2

    oklch(80.8% 0.053 155.5)

  5. Step 400

    400

    #74B18A

    oklch(70.8% 0.085 155.5)

  6. Step 500

    500

    #4C9D6D

    oklch(63.2% 0.108 155.5)

  7. Step 600

    600 (this color)

    #338F5C

    oklch(58.2% 0.117 155.5)

  8. Step 700

    700

    #1A7245

    oklch(49% 0.108 155.7)

  9. Step 800

    800

    #1A5D39

    oklch(42.7% 0.09 155.6)

  10. Step 900

    900

    #1D4C31

    oklch(37.6% 0.07 155.6)

  11. Step 950

    950

    #122D1D

    oklch(27% 0.045 155.8)

Export this scale for Tailwind in the Tailwind colors tool

#338F5C 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)#8E84590.105
Deuteranopia (no green cones)#827B5F0.103
Tritanopia (no blue cones)#048E820.057
Achromatopsia (no color)#7F7F7F0.118

Harmonies

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

Complementary

The opposite hue (180°).

  • #338F5C

    #338F5C

    oklch(58.2% 0.117 155.5)

  • #A55E96

    #A55E96

    oklch(58.2% 0.118 335.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #338F5C

    #338F5C

    oklch(58.2% 0.117 155.5)

  • #6A8731

    #6A8731

    oklch(58.2% 0.118 125.7)

  • #008E83

    #008E83

    oklch(58.2% 0.102 185.3)

Open the analogous palette in the generator

Split complementary

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

  • #338F5C

    #338F5C

    oklch(58.2% 0.117 155.5)

  • #8C67B2

    #8C67B2

    oklch(58.2% 0.118 305.8)

  • #B35A71

    #B35A71

    oklch(58.1% 0.118 5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #338F5C

    #338F5C

    oklch(58.2% 0.117 155.5)

  • #6874C0

    #6874C0

    oklch(58.3% 0.117 275.4)

  • #B55F48

    #B55F48

    oklch(58.2% 0.117 35.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #338F5C

    #338F5C

    oklch(58.2% 0.117 155.5)

  • #3581BC

    #3581BC

    oklch(58.3% 0.117 245.4)

  • #A55E96

    #A55E96

    oklch(58.2% 0.118 335.3)

  • #A96B1F

    #A96B1F

    oklch(58.2% 0.117 66.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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