#338A72

Closest named color: Viridian (#1E9167). oklch(57.4% 0.091 171.6), rgb(51, 138, 114).

Aa

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

About this color

#338A72 is a medium-dark, moderately saturated teal or cyan. In OKLCH its lightness is 57%, its chroma 0.091 and its hue 172°. Its hue sits on the cool side of the wheel. The nearest named color is Viridian (#1E9167), ΔE 0.033 away. Black text reads best on it, at 5.01:1.

Hue familyTeals and cyans
Lightnessmedium-dark (57%)
Chromamoderately saturated (0.091)
Temperaturecool
Nearest nameViridian (#1E9167)
Black text5.01:1
White text4.18:1

Values

HEX#338A72
RGBrgb(51, 138, 114)
HSLhsl(163, 46%, 37%)
OKLCHoklch(57.4% 0.091 171.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 #338A72 4.18:1 AA large text Lc -74.1 Content text, not long reading
Black text on #338A72 5.01:1 AA Lc 35.5 Non-text elements, placeholder text
#338A72 text on white 4.18:1 AA large text Lc 68.6 Content text, not long reading
#338A72 text on black 5.01:1 AA Lc -33.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

    #F2F7F5

    oklch(97.2% 0.006 170.4)

  2. Step 100

    100

    #E2EDE9

    oklch(93.7% 0.013 172.4)

  3. Step 200

    200

    #CBDED7

    oklch(88.4% 0.022 171.7)

  4. Step 300

    300

    #A7CABD

    oklch(81% 0.042 170.7)

  5. Step 400

    400

    #76AE9C

    oklch(70.7% 0.065 172.3)

  6. Step 500

    500

    #4E9A83

    oklch(63.1% 0.084 171.5)

  7. Step 600

    600 (this color)

    #338A72

    oklch(57.4% 0.091 171.6)

  8. Step 700

    700

    #1D705B

    oklch(49.1% 0.085 172)

  9. Step 800

    800

    #1C5B4A

    oklch(42.6% 0.07 171.6)

  10. Step 900

    900

    #1E4B3E

    oklch(37.7% 0.055 171.7)

  11. Step 950

    950

    #132C24

    oklch(27% 0.035 170.7)

Export this scale for Tailwind in the Tailwind colors tool

#338A72 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)#8681710.094
Deuteranopia (no green cones)#7978740.090
Tritanopia (no blue cones)#008B830.028
Achromatopsia (no color)#7C7C7C0.092

Harmonies

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

Complementary

The opposite hue (180°).

  • #338A72

    #338A72

    oklch(57.4% 0.091 171.6)

  • #A2617F

    #A2617F

    oklch(57.4% 0.092 351.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #338A72

    #338A72

    oklch(57.4% 0.091 171.6)

  • #598653

    #598653

    oklch(57.4% 0.091 141.6)

  • #1C888F

    #1C888F

    oklch(57.3% 0.091 201.7)

Open the analogous palette in the generator

Split complementary

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

  • #338A72

    #338A72

    oklch(57.4% 0.091 171.6)

  • #926699

    #926699

    oklch(57.4% 0.092 321.8)

  • #A86260

    #A86260

    oklch(57.4% 0.091 22)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #338A72

    #338A72

    oklch(57.4% 0.091 171.6)

  • #796EAA

    #796EAA

    oklch(57.3% 0.092 291.7)

  • #A36844

    #A36844

    oklch(57.3% 0.091 51.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #338A72

    #338A72

    oklch(57.4% 0.091 171.6)

  • #5A78AF

    #5A78AF

    oklch(57.3% 0.092 262)

  • #A2617F

    #A2617F

    oklch(57.4% 0.092 351.3)

  • #947333

    #947333

    oklch(57.5% 0.092 81.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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