#338B66

Closest named color: Viridian (#1E9167). oklch(57.4% 0.102 162.3), rgb(51, 139, 102).

Aa

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

About this color

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

Hue familyGreens
Lightnessmedium-dark (57%)
Chromamoderately saturated (0.102)
Temperaturein between
Nearest nameViridian (#1E9167)
Black text5.02:1
White text4.17:1

Values

HEX#338B66
RGBrgb(51, 139, 102)
HSLhsl(155, 46%, 37%)
OKLCHoklch(57.4% 0.102 162.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 #338B66 4.17:1 AA large text Lc -74.0 Content text, not long reading
Black text on #338B66 5.02:1 AA Lc 35.6 Non-text elements, placeholder text
#338B66 text on white 4.17:1 AA large text Lc 68.5 Content text, not long reading
#338B66 text on black 5.02: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

    #F2F7F4

    oklch(97.2% 0.007 160.1)

  2. Step 100

    100

    #E2EDE7

    oklch(93.6% 0.014 162.5)

  3. Step 200

    200

    #CBDFD4

    oklch(88.6% 0.026 161.9)

  4. Step 300

    300

    #A7CAB8

    oklch(80.8% 0.045 162.9)

  5. Step 400

    400

    #76AF93

    oklch(70.6% 0.073 162.5)

  6. Step 500

    500

    #4E9B78

    oklch(63% 0.094 162.3)

  7. Step 600

    600 (this color)

    #338B66

    oklch(57.4% 0.102 162.3)

  8. Step 700

    700

    #1E7150

    oklch(49.1% 0.095 162.2)

  9. Step 800

    800

    #1C5C42

    oklch(42.7% 0.078 162.6)

  10. Step 900

    900

    #1E4C38

    oklch(37.8% 0.062 162.5)

  11. Step 950

    950

    #132C21

    oklch(26.9% 0.038 163.5)

Export this scale for Tailwind in the Tailwind colors tool

#338B66 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)#8981640.099
Deuteranopia (no green cones)#7D78680.097
Tritanopia (no blue cones)#008B810.042
Achromatopsia (no color)#7C7C7C0.103

Harmonies

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

Complementary

The opposite hue (180°).

  • #338B66

    #338B66

    oklch(57.4% 0.102 162.3)

  • #A15F89

    #A15F89

    oklch(57.3% 0.102 342.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #338B66

    #338B66

    oklch(57.4% 0.102 162.3)

  • #618543

    #618543

    oklch(57.3% 0.102 132.3)

  • #008A88

    #008A88

    oklch(57.3% 0.098 193)

Open the analogous palette in the generator

Split complementary

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

  • #338B66

    #338B66

    oklch(57.4% 0.102 162.3)

  • #8D66A4

    #8D66A4

    oklch(57.4% 0.102 312.3)

  • #AC5D68

    #AC5D68

    oklch(57.3% 0.103 12)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #338B66

    #338B66

    oklch(57.4% 0.102 162.3)

  • #6F70B3

    #6F70B3

    oklch(57.3% 0.102 282)

  • #AB6346

    #AB6346

    oklch(57.5% 0.103 42.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #338B66

    #338B66

    oklch(57.4% 0.102 162.3)

  • #497BB3

    #497BB3

    oklch(57.3% 0.103 252.5)

  • #A15F89

    #A15F89

    oklch(57.3% 0.102 342.1)

  • #9D6E2A

    #9D6E2A

    oklch(57.4% 0.102 72.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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