#338F64

Closest named color: Viridian (#1E9167). oklch(58.4% 0.11 159.6), rgb(51, 143, 100).

Aa

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

About this color

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

Hue familyGreens
Lightnessmedium-dark (58%)
Chromamoderately saturated (0.110)
Temperaturein between
Nearest nameViridian (#1E9167)
Black text5.25:1
White text3.99:1

Values

HEX#338F64
RGBrgb(51, 143, 100)
HSLhsl(152, 47%, 38%)
OKLCHoklch(58.4% 0.11 159.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 #338F64 3.99:1 AA large text Lc -72.5 Content text, not long reading
Black text on #338F64 5.25:1 AA Lc 37.1 Non-text elements, placeholder text
#338F64 text on white 3.99:1 AA large text Lc 67.0 Content text, not long reading
#338F64 text on black 5.25:1 AA Lc -34.7 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

    #E2EDE6

    oklch(93.6% 0.015 158.2)

  3. Step 200

    200

    #CBDFD3

    oklch(88.5% 0.027 159.5)

  4. Step 300

    300

    #A6CBB6

    oklch(80.9% 0.049 160.2)

  5. Step 400

    400

    #74B08F

    oklch(70.7% 0.079 159.4)

  6. Step 500

    500

    #4C9C74

    oklch(63.1% 0.1 159.8)

  7. Step 600

    600 (this color)

    #338F64

    oklch(58.4% 0.11 159.6)

  8. Step 700

    700

    #19724C

    oklch(49.1% 0.102 159.8)

  9. Step 800

    800

    #195D3E

    oklch(42.8% 0.085 159.3)

  10. Step 900

    900

    #1D4C35

    oklch(37.7% 0.065 159.5)

  11. Step 950

    950

    #122D1F

    oklch(27.1% 0.043 159.1)

Export this scale for Tailwind in the Tailwind colors tool

#338F64 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)#8D84610.103
Deuteranopia (no green cones)#817C670.100
Tritanopia (no blue cones)#008E830.048
Achromatopsia (no color)#7F7F7F0.111

Harmonies

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

Complementary

The opposite hue (180°).

  • #338F64

    #338F64

    oklch(58.4% 0.11 159.6)

  • #A66090

    #A66090

    oklch(58.4% 0.11 339.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #338F64

    #338F64

    oklch(58.4% 0.11 159.6)

  • #66883E

    #66883E

    oklch(58.4% 0.109 129.7)

  • #008E88

    #008E88

    oklch(58.3% 0.101 189.5)

Open the analogous palette in the generator

Split complementary

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

  • #338F64

    #338F64

    oklch(58.4% 0.11 159.6)

  • #8F68AC

    #8F68AC

    oklch(58.4% 0.11 309.7)

  • #B25E6D

    #B25E6D

    oklch(58.4% 0.11 9.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #338F64

    #338F64

    oklch(58.4% 0.11 159.6)

  • #6F73BB

    #6F73BB

    oklch(58.4% 0.11 280)

  • #B26348

    #B26348

    oklch(58.4% 0.11 39.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #338F64

    #338F64

    oklch(58.4% 0.11 159.6)

  • #437FBA

    #437FBA

    oklch(58.3% 0.111 249.9)

  • #A66090

    #A66090

    oklch(58.4% 0.11 339.8)

  • #A56E26

    #A56E26

    oklch(58.4% 0.11 69.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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