#338C74

Closest named color: Viridian (#1E9167). oklch(58% 0.093 172), rgb(51, 140, 116).

Aa

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

About this color

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

Hue familyTeals and cyans
Lightnessmedium-dark (58%)
Chromamoderately saturated (0.093)
Temperaturecool
Nearest nameViridian (#1E9167)
Black text5.14:1
White text4.08:1

Values

HEX#338C74
RGBrgb(51, 140, 116)
HSLhsl(164, 47%, 37%)
OKLCHoklch(58% 0.093 172)

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 #338C74 4.08:1 AA large text Lc -73.2 Content text, not long reading
Black text on #338C74 5.14:1 AA Lc 36.3 Non-text elements, placeholder text
#338C74 text on white 4.08:1 AA large text Lc 67.7 Content text, not long reading
#338C74 text on black 5.14:1 AA Lc -33.9 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

    #A6CABD

    oklch(80.9% 0.043 171.3)

  5. Step 400

    400

    #75AF9C

    oklch(70.8% 0.067 171.8)

  6. Step 500

    500

    #4D9A83

    oklch(63% 0.085 171.7)

  7. Step 600

    600 (this color)

    #338C74

    oklch(58% 0.093 172)

  8. Step 700

    700

    #1B705B

    oklch(49% 0.086 172.2)

  9. Step 800

    800

    #1A5B4A

    oklch(42.5% 0.071 172)

  10. Step 900

    900

    #1D4B3E

    oklch(37.7% 0.055 172)

  11. Step 950

    950

    #122C24

    oklch(27% 0.036 171.2)

Export this scale for Tailwind in the Tailwind colors tool

#338C74 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)#8883730.096
Deuteranopia (no green cones)#7B7A760.091
Tritanopia (no blue cones)#008D850.028
Achromatopsia (no color)#7E7E7E0.093

Harmonies

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

Complementary

The opposite hue (180°).

  • #338C74

    #338C74

    oklch(58% 0.093 172)

  • #A46380

    #A46380

    oklch(58% 0.092 352.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #338C74

    #338C74

    oklch(58% 0.093 172)

  • #5A8854

    #5A8854

    oklch(58% 0.092 141.6)

  • #1C8A92

    #1C8A92

    oklch(58% 0.092 202.6)

Open the analogous palette in the generator

Split complementary

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

  • #338C74

    #338C74

    oklch(58% 0.093 172)

  • #94679B

    #94679B

    oklch(57.9% 0.093 321.9)

  • #AA6361

    #AA6361

    oklch(57.9% 0.092 22)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #338C74

    #338C74

    oklch(58% 0.093 172)

  • #7B70AD

    #7B70AD

    oklch(58% 0.093 291.5)

  • #A66A45

    #A66A45

    oklch(58.1% 0.093 51.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #338C74

    #338C74

    oklch(58% 0.093 172)

  • #5C7AB1

    #5C7AB1

    oklch(58% 0.092 262)

  • #A46380

    #A46380

    oklch(58% 0.092 352.1)

  • #967533

    #967533

    oklch(58.1% 0.093 82.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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