#338B70

Closest named color: Viridian (#1E9167). oklch(57.6% 0.094 169.4), rgb(51, 139, 112).

Aa

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

About this color

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

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

Values

HEX#338B70
RGBrgb(51, 139, 112)
HSLhsl(162, 46%, 37%)
OKLCHoklch(57.6% 0.094 169.4)

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 #338B70 4.14:1 AA large text Lc -73.7 Content text, not long reading
Black text on #338B70 5.06:1 AA Lc 35.8 Non-text elements, placeholder text
#338B70 text on white 4.14:1 AA large text Lc 68.2 Content text, not long reading
#338B70 text on black 5.06:1 AA Lc -33.4 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

    #A7CABC

    oklch(80.9% 0.042 169)

  5. Step 400

    400

    #75AF9A

    oklch(70.8% 0.068 169.6)

  6. Step 500

    500

    #4E9A81

    oklch(63% 0.085 169.8)

  7. Step 600

    600 (this color)

    #338B70

    oklch(57.6% 0.094 169.4)

  8. Step 700

    700

    #1C7058

    oklch(49% 0.087 169.4)

  9. Step 800

    800

    #1B5C48

    oklch(42.8% 0.073 168.7)

  10. Step 900

    900

    #1E4B3D

    oklch(37.7% 0.056 170.2)

  11. Step 950

    950

    #132C24

    oklch(27% 0.035 170.7)

Export this scale for Tailwind in the Tailwind colors tool

#338B70 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)#87826F0.095
Deuteranopia (no green cones)#7B79720.092
Tritanopia (no blue cones)#008C830.030
Achromatopsia (no color)#7D7D7D0.095

Harmonies

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

Complementary

The opposite hue (180°).

  • #338B70

    #338B70

    oklch(57.6% 0.094 169.4)

  • #A36182

    #A36182

    oklch(57.6% 0.095 349.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #338B70

    #338B70

    oklch(57.6% 0.094 169.4)

  • #5B8750

    #5B8750

    oklch(57.7% 0.095 139.5)

  • #148A8F

    #148A8F

    oklch(57.7% 0.094 199.5)

Open the analogous palette in the generator

Split complementary

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

  • #338B70

    #338B70

    oklch(57.6% 0.094 169.4)

  • #91679C

    #91679C

    oklch(57.6% 0.093 319.2)

  • #AA6163

    #AA6163

    oklch(57.6% 0.095 18.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #338B70

    #338B70

    oklch(57.6% 0.094 169.4)

  • #786FAD

    #786FAD

    oklch(57.5% 0.094 289.8)

  • #A66845

    #A66845

    oklch(57.7% 0.094 49.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #338B70

    #338B70

    oklch(57.6% 0.094 169.4)

  • #577AB1

    #577AB1

    oklch(57.7% 0.094 259.2)

  • #A36182

    #A36182

    oklch(57.6% 0.095 349.2)

  • #977231

    #977231

    oklch(57.6% 0.094 79)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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