#338A68

Closest named color: Viridian (#1E9167). oklch(57.1% 0.099 164.1), rgb(51, 138, 104).

Aa

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

About this color

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

Hue familyGreens
Lightnessmedium-dark (57%)
Chromamoderately saturated (0.099)
Temperaturein between
Nearest nameViridian (#1E9167)
Black text4.97:1
White text4.22:1

Values

HEX#338A68
RGBrgb(51, 138, 104)
HSLhsl(157, 46%, 37%)
OKLCHoklch(57.1% 0.099 164.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 #338A68 4.22:1 AA large text Lc -74.4 Content text, not long reading
Black text on #338A68 4.97:1 AA Lc 35.2 Non-text elements, placeholder text
#338A68 text on white 4.22:1 AA large text Lc 68.9 Content text, not long reading
#338A68 text on black 4.97:1 AA Lc -32.8 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

    #CBDFD5

    oklch(88.6% 0.025 164.4)

  4. Step 300

    300

    #A7CAB9

    oklch(80.9% 0.044 164.3)

  5. Step 400

    400

    #76AF95

    oklch(70.7% 0.071 164.3)

  6. Step 500

    500

    #4F9B7B

    oklch(63.1% 0.091 164.2)

  7. Step 600

    600 (this color)

    #338A68

    oklch(57.1% 0.099 164.1)

  8. Step 700

    700

    #1F7152

    oklch(49.1% 0.093 163.5)

  9. Step 800

    800

    #1D5C44

    oklch(42.7% 0.076 164.3)

  10. Step 900

    900

    #1E4B39

    oklch(37.5% 0.059 164.6)

  11. Step 950

    950

    #132C21

    oklch(26.9% 0.038 163.5)

Export this scale for Tailwind in the Tailwind colors tool

#338A68 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)#8780660.097
Deuteranopia (no green cones)#7B786A0.093
Tritanopia (no blue cones)#008A810.039
Achromatopsia (no color)#7B7B7B0.100

Harmonies

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

Complementary

The opposite hue (180°).

  • #338A68

    #338A68

    oklch(57.1% 0.099 164.1)

  • #A15F86

    #A15F86

    oklch(57.2% 0.099 344.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #338A68

    #338A68

    oklch(57.1% 0.099 164.1)

  • #5F8546

    #5F8546

    oklch(57.3% 0.1 134.1)

  • #008989

    #008989

    oklch(57% 0.097 194.8)

Open the analogous palette in the generator

Split complementary

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

  • #338A68

    #338A68

    oklch(57.1% 0.099 164.1)

  • #8D65A1

    #8D65A1

    oklch(57.1% 0.1 313.9)

  • #AA5E66

    #AA5E66

    oklch(57.2% 0.099 14)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #338A68

    #338A68

    oklch(57.1% 0.099 164.1)

  • #716FB0

    #716FB0

    oklch(57.1% 0.099 284.2)

  • #A86345

    #A86345

    oklch(57.1% 0.1 43.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #338A68

    #338A68

    oklch(57.1% 0.099 164.1)

  • #4D7AB1

    #4D7AB1

    oklch(57.1% 0.099 254.2)

  • #A15F86

    #A15F86

    oklch(57.2% 0.099 344.4)

  • #9A6E2C

    #9A6E2C

    oklch(57.1% 0.099 74.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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