#338C70

Closest named color: Viridian (#1E9167). oklch(57.9% 0.095 168.8), rgb(51, 140, 112).

Aa

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

About this color

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

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

Values

HEX#338C70
RGBrgb(51, 140, 112)
HSLhsl(161, 47%, 37%)
OKLCHoklch(57.9% 0.095 168.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 #338C70 4.09:1 AA large text Lc -73.4 Content text, not long reading
Black text on #338C70 5.12:1 AA Lc 36.2 Non-text elements, placeholder text
#338C70 text on white 4.09:1 AA large text Lc 67.9 Content text, not long reading
#338C70 text on black 5.12:1 AA Lc -33.8 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

    #CBDED6

    oklch(88.4% 0.023 168.7)

  4. Step 300

    300

    #A6CABC

    oklch(80.9% 0.043 169.6)

  5. Step 400

    400

    #75AF99

    oklch(70.8% 0.069 168.6)

  6. Step 500

    500

    #4D9B80

    oklch(63.2% 0.088 168.5)

  7. Step 600

    600 (this color)

    #338C70

    oklch(57.9% 0.095 168.8)

  8. Step 700

    700

    #1B7158

    oklch(49.2% 0.089 168.8)

  9. Step 800

    800

    #1A5C48

    oklch(42.8% 0.074 168.9)

  10. Step 900

    900

    #1D4B3C

    oklch(37.6% 0.057 169)

  11. Step 950

    950

    #122C23

    oklch(26.9% 0.037 168.7)

Export this scale for Tailwind in the Tailwind colors tool

#338C70 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)#88836F0.096
Deuteranopia (no green cones)#7C7A720.093
Tritanopia (no blue cones)#008D840.031
Achromatopsia (no color)#7D7D7D0.096

Harmonies

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

Complementary

The opposite hue (180°).

  • #338C70

    #338C70

    oklch(57.9% 0.095 168.8)

  • #A46283

    #A46283

    oklch(58% 0.095 349.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #338C70

    #338C70

    oklch(57.9% 0.095 168.8)

  • #5C884F

    #5C884F

    oklch(58% 0.097 138.8)

  • #118B8F

    #118B8F

    oklch(58% 0.096 198.5)

Open the analogous palette in the generator

Split complementary

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

  • #338C70

    #338C70

    oklch(57.9% 0.095 168.8)

  • #92679E

    #92679E

    oklch(57.8% 0.096 318.7)

  • #AB6264

    #AB6264

    oklch(57.9% 0.095 18.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #338C70

    #338C70

    oklch(57.9% 0.095 168.8)

  • #7870AF

    #7870AF

    oklch(57.8% 0.096 288.9)

  • #A76845

    #A76845

    oklch(57.8% 0.095 49.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #338C70

    #338C70

    oklch(57.9% 0.095 168.8)

  • #577BB2

    #577BB2

    oklch(58% 0.095 258.6)

  • #A46283

    #A46283

    oklch(58% 0.095 349.1)

  • #987331

    #987331

    oklch(57.9% 0.095 79.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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