#338F4A

Closest named color: Sea Green (#2E8B57). oklch(57.8% 0.135 148.6), rgb(51, 143, 74).

Aa

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

About this color

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

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

Values

HEX#338F4A
RGBrgb(51, 143, 74)
HSLhsl(135, 47%, 38%)
OKLCHoklch(57.8% 0.135 148.6)

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 #338F4A 4.06:1 AA large text Lc -73.0 Content text, not long reading
Black text on #338F4A 5.16:1 AA Lc 36.6 Non-text elements, placeholder text
#338F4A text on white 4.06:1 AA large text Lc 67.5 Content text, not long reading
#338F4A text on black 5.16:1 AA Lc -34.1 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

    #F2F7F2

    oklch(97.1% 0.008 145.5)

  2. Step 100

    100

    #E2EDE3

    oklch(93.5% 0.018 148.1)

  3. Step 200

    200

    #CBE0CD

    oklch(88.6% 0.034 148)

  4. Step 300

    300

    #A6CCAB

    oklch(80.9% 0.061 148.6)

  5. Step 400

    400

    #75B27F

    oklch(70.8% 0.097 148.6)

  6. Step 500

    500

    #4D9E5E

    oklch(63.2% 0.124 148.7)

  7. Step 600

    600 (this color)

    #338F4A

    oklch(57.8% 0.135 148.6)

  8. Step 700

    700

    #1C7335

    oklch(49% 0.125 148.6)

  9. Step 800

    800

    #1B5E2C

    oklch(42.7% 0.104 148.3)

  10. Step 900

    900

    #1D4D28

    oklch(37.7% 0.081 148.7)

  11. Step 950

    950

    #122D18

    oklch(26.9% 0.051 149.2)

Export this scale for Tailwind in the Tailwind colors tool

#338F4A 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)#9083450.109
Deuteranopia (no green cones)#857B4F0.108
Tritanopia (no blue cones)#168C7F0.078
Achromatopsia (no color)#7E7E7E0.136

Harmonies

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

Complementary

The opposite hue (180°).

  • #338F4A

    #338F4A

    oklch(57.8% 0.135 148.6)

  • #A45AA1

    #A45AA1

    oklch(57.9% 0.134 328.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #338F4A

    #338F4A

    oklch(57.8% 0.135 148.6)

  • #728401

    #728401

    oklch(57.8% 0.135 118.8)

  • #008E7B

    #008E7B

    oklch(57.9% 0.106 178.9)

Open the analogous palette in the generator

Split complementary

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

  • #338F4A

    #338F4A

    oklch(57.8% 0.135 148.6)

  • #8565BE

    #8565BE

    oklch(57.8% 0.135 298.7)

  • #B75379

    #B75379

    oklch(57.8% 0.135 358.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #338F4A

    #338F4A

    oklch(57.8% 0.135 148.6)

  • #5974C9

    #5974C9

    oklch(57.9% 0.134 268.7)

  • #BC564A

    #BC564A

    oklch(57.8% 0.134 28.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #338F4A

    #338F4A

    oklch(57.8% 0.135 148.6)

  • #0083BD

    #0083BD

    oklch(57.9% 0.129 238.3)

  • #A45AA1

    #A45AA1

    oklch(57.9% 0.134 328.6)

  • #B36208

    #B36208

    oklch(57.8% 0.135 58.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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