#338B6D

Closest named color: Viridian (#1E9167). oklch(57.5% 0.096 167.1), rgb(51, 139, 109).

Aa

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

About this color

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

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

Values

HEX#338B6D
RGBrgb(51, 139, 109)
HSLhsl(160, 46%, 37%)
OKLCHoklch(57.5% 0.096 167.1)

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 #338B6D 4.15:1 AA large text Lc -73.8 Content text, not long reading
Black text on #338B6D 5.05:1 AA Lc 35.8 Non-text elements, placeholder text
#338B6D text on white 4.15:1 AA large text Lc 68.3 Content text, not long reading
#338B6D text on black 5.05:1 AA Lc -33.3 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

    #A7CABB

    oklch(80.9% 0.043 167.4)

  5. Step 400

    400

    #75AF98

    oklch(70.7% 0.07 167.6)

  6. Step 500

    500

    #4E9B7E

    oklch(63.2% 0.089 166.7)

  7. Step 600

    600 (this color)

    #338B6D

    oklch(57.5% 0.096 167.1)

  8. Step 700

    700

    #1D7156

    oklch(49.2% 0.09 166.9)

  9. Step 800

    800

    #1B5C46

    oklch(42.7% 0.075 166.6)

  10. Step 900

    900

    #1E4B3B

    oklch(37.6% 0.057 167.3)

  11. Step 950

    950

    #132C23

    oklch(27% 0.036 168.1)

Export this scale for Tailwind in the Tailwind colors tool

#338B6D 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)#88826B0.097
Deuteranopia (no green cones)#7B796F0.092
Tritanopia (no blue cones)#008C830.034
Achromatopsia (no color)#7C7C7C0.097

Harmonies

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

Complementary

The opposite hue (180°).

  • #338B6D

    #338B6D

    oklch(57.5% 0.096 167.1)

  • #A26184

    #A26184

    oklch(57.6% 0.095 347)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #338B6D

    #338B6D

    oklch(57.5% 0.096 167.1)

  • #5D864C

    #5D864C

    oklch(57.5% 0.096 137)

  • #098A8D

    #098A8D

    oklch(57.5% 0.096 197.6)

Open the analogous palette in the generator

Split complementary

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

  • #338B6D

    #338B6D

    oklch(57.5% 0.096 167.1)

  • #90669F

    #90669F

    oklch(57.5% 0.098 316.9)

  • #AA6064

    #AA6064

    oklch(57.5% 0.096 17.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #338B6D

    #338B6D

    oklch(57.5% 0.096 167.1)

  • #7570AF

    #7570AF

    oklch(57.6% 0.096 286.6)

  • #A76645

    #A76645

    oklch(57.5% 0.096 47.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #338B6D

    #338B6D

    oklch(57.5% 0.096 167.1)

  • #537AB1

    #537AB1

    oklch(57.5% 0.096 257.1)

  • #A26184

    #A26184

    oklch(57.6% 0.095 347)

  • #99712F

    #99712F

    oklch(57.6% 0.097 77.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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