#338E6E

Closest named color: Viridian (#1E9167). oklch(58.4% 0.1 166.3), rgb(51, 142, 110).

Aa

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

About this color

#338E6E is a medium-dark, moderately saturated green. In OKLCH its lightness is 58%, its chroma 0.100 and its hue 166°. 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.23:1.

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

Values

HEX#338E6E
RGBrgb(51, 142, 110)
HSLhsl(159, 47%, 38%)
OKLCHoklch(58.4% 0.1 166.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 #338E6E 4.01:1 AA large text Lc -72.6 Content text, not long reading
Black text on #338E6E 5.23:1 AA Lc 37.0 Non-text elements, placeholder text
#338E6E text on white 4.01:1 AA large text Lc 67.1 Content text, not long reading
#338E6E text on black 5.23:1 AA Lc -34.5 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

    #E2EDE8

    oklch(93.6% 0.013 167.2)

  3. Step 200

    200

    #CBDFD5

    oklch(88.6% 0.025 164.4)

  4. Step 300

    300

    #A6CABA

    oklch(80.8% 0.044 166.5)

  5. Step 400

    400

    #74AF97

    oklch(70.6% 0.071 166.9)

  6. Step 500

    500

    #4C9B7D

    oklch(63.1% 0.091 166.4)

  7. Step 600

    600 (this color)

    #338E6E

    oklch(58.4% 0.1 166.3)

  8. Step 700

    700

    #197155

    oklch(49.1% 0.092 166.6)

  9. Step 800

    800

    #195C45

    oklch(42.7% 0.077 166)

  10. Step 900

    900

    #1D4C3A

    oklch(37.8% 0.06 165.4)

  11. Step 950

    950

    #122C22

    oklch(26.9% 0.038 166.4)

Export this scale for Tailwind in the Tailwind colors tool

#338E6E 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)#8B846C0.100
Deuteranopia (no green cones)#7E7B700.096
Tritanopia (no blue cones)#008E850.036
Achromatopsia (no color)#7F7F7F0.100

Harmonies

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

Complementary

The opposite hue (180°).

  • #338E6E

    #338E6E

    oklch(58.4% 0.1 166.3)

  • #A66288

    #A66288

    oklch(58.4% 0.1 346)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #338E6E

    #338E6E

    oklch(58.4% 0.1 166.3)

  • #5F894C

    #5F894C

    oklch(58.4% 0.1 136.5)

  • #008D8F

    #008D8F

    oklch(58.3% 0.099 196.5)

Open the analogous palette in the generator

Split complementary

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

  • #338E6E

    #338E6E

    oklch(58.4% 0.1 166.3)

  • #9368A3

    #9368A3

    oklch(58.4% 0.1 316.6)

  • #AE6267

    #AE6267

    oklch(58.4% 0.098 16.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #338E6E

    #338E6E

    oklch(58.4% 0.1 166.3)

  • #7772B4

    #7772B4

    oklch(58.4% 0.1 286.3)

  • #AC6846

    #AC6846

    oklch(58.5% 0.1 46.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #338E6E

    #338E6E

    oklch(58.4% 0.1 166.3)

  • #537DB6

    #537DB6

    oklch(58.4% 0.1 256.3)

  • #A66288

    #A66288

    oklch(58.4% 0.1 346)

  • #9D732E

    #9D732E

    oklch(58.5% 0.1 76.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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