#338D70

Closest named color: Viridian (#1E9167). oklch(58.2% 0.097 168.3), rgb(51, 141, 112).

Aa

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

About this color

#338D70 is a medium-dark, moderately saturated green. In OKLCH its lightness is 58%, its chroma 0.097 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.024 away. Black text reads best on it, at 5.18:1.

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

Values

HEX#338D70
RGBrgb(51, 141, 112)
HSLhsl(161, 47%, 38%)
OKLCHoklch(58.2% 0.097 168.3)

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 #338D70 4.05:1 AA large text Lc -73.0 Content text, not long reading
Black text on #338D70 5.18:1 AA Lc 36.6 Non-text elements, placeholder text
#338D70 text on white 4.05:1 AA large text Lc 67.5 Content text, not long reading
#338D70 text on black 5.18:1 AA Lc -34.2 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)

    #338D70

    oklch(58.2% 0.097 168.3)

  8. Step 700

    700

    #1A7157

    oklch(49.2% 0.09 168.1)

  9. Step 800

    800

    #1A5C47

    oklch(42.7% 0.075 167.8)

  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

#338D70 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)#8A846F0.098
Deuteranopia (no green cones)#7D7A720.095
Tritanopia (no blue cones)#008E850.033
Achromatopsia (no color)#7E7E7E0.097

Harmonies

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

Complementary

The opposite hue (180°).

  • #338D70

    #338D70

    oklch(58.2% 0.097 168.3)

  • #A56285

    #A56285

    oklch(58.2% 0.097 347.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #338D70

    #338D70

    oklch(58.2% 0.097 168.3)

  • #5D884F

    #5D884F

    oklch(58.1% 0.096 138.3)

  • #0D8C90

    #0D8C90

    oklch(58.2% 0.097 198.5)

Open the analogous palette in the generator

Split complementary

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

  • #338D70

    #338D70

    oklch(58.2% 0.097 168.3)

  • #9368A0

    #9368A0

    oklch(58.2% 0.097 318.2)

  • #AD6265

    #AD6265

    oklch(58.2% 0.097 18)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #338D70

    #338D70

    oklch(58.2% 0.097 168.3)

  • #7871B1

    #7871B1

    oklch(58.2% 0.097 288)

  • #A96846

    #A96846

    oklch(58.1% 0.097 47.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #338D70

    #338D70

    oklch(58.2% 0.097 168.3)

  • #567CB4

    #567CB4

    oklch(58.2% 0.097 257.9)

  • #A56285

    #A56285

    oklch(58.2% 0.097 347.9)

  • #9A7330

    #9A7330

    oklch(58.1% 0.097 78.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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