#338E70

Closest named color: Viridian (#1E9167). oklch(58.4% 0.098 167.7), rgb(51, 142, 112).

Aa

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

About this color

#338E70 is a medium-dark, moderately saturated green. In OKLCH its lightness is 58%, its chroma 0.098 and its hue 168°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Viridian (#1E9167), ΔE 0.022 away. Black text reads best on it, at 5.24:1.

Hue familyGreens
Lightnessmedium-dark (58%)
Chromamoderately saturated (0.098)
Temperaturein between
Nearest nameViridian (#1E9167)
Black text5.24:1
White text4.00:1

Values

HEX#338E70
RGBrgb(51, 142, 112)
HSLhsl(160, 47%, 38%)
OKLCHoklch(58.4% 0.098 167.7)

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 #338E70 4.00:1 AA large text Lc -72.6 Content text, not long reading
Black text on #338E70 5.24:1 AA Lc 37.0 Non-text elements, placeholder text
#338E70 text on white 4.00:1 AA large text Lc 67.1 Content text, not long reading
#338E70 text on black 5.24:1 AA Lc -34.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

    #F2F7F5

    oklch(97.2% 0.006 170.4)

  2. Step 100

    100

    #E2EDE8

    oklch(93.6% 0.013 167.2)

  3. Step 200

    200

    #CBDFD6

    oklch(88.6% 0.025 167)

  4. Step 300

    300

    #A6CABB

    oklch(80.8% 0.044 168)

  5. Step 400

    400

    #74AF98

    oklch(70.7% 0.07 167.9)

  6. Step 500

    500

    #4C9B7F

    oklch(63.1% 0.09 167.9)

  7. Step 600

    600 (this color)

    #338E70

    oklch(58.4% 0.098 167.7)

  8. Step 700

    700

    #197156

    oklch(49.1% 0.092 167.4)

  9. Step 800

    800

    #195C47

    oklch(42.7% 0.075 168)

  10. Step 900

    900

    #1C4C3B

    oklch(37.8% 0.06 167)

  11. Step 950

    950

    #122C23

    oklch(26.9% 0.037 168.7)

Export this scale for Tailwind in the Tailwind colors tool

#338E70 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)#8B846E0.100
Deuteranopia (no green cones)#7E7B720.096
Tritanopia (no blue cones)#008F850.032
Achromatopsia (no color)#7F7F7F0.099

Harmonies

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

Complementary

The opposite hue (180°).

  • #338E70

    #338E70

    oklch(58.4% 0.098 167.7)

  • #A66386

    #A66386

    oklch(58.5% 0.097 347.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #338E70

    #338E70

    oklch(58.4% 0.098 167.7)

  • #5E894E

    #5E894E

    oklch(58.3% 0.098 137.6)

  • #088D90

    #088D90

    oklch(58.4% 0.098 197.5)

Open the analogous palette in the generator

Split complementary

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

  • #338E70

    #338E70

    oklch(58.4% 0.098 167.7)

  • #9468A1

    #9468A1

    oklch(58.4% 0.098 318.3)

  • #AE6266

    #AE6266

    oklch(58.4% 0.098 17.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #338E70

    #338E70

    oklch(58.4% 0.098 167.7)

  • #7872B3

    #7872B3

    oklch(58.5% 0.098 287.2)

  • #AB6946

    #AB6946

    oklch(58.5% 0.098 48)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #338E70

    #338E70

    oklch(58.4% 0.098 167.7)

  • #567DB5

    #567DB5

    oklch(58.5% 0.097 257.4)

  • #A66386

    #A66386

    oklch(58.5% 0.097 347.9)

  • #9C7430

    #9C7430

    oklch(58.6% 0.098 77.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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