#338F41

Closest named color: Kelley Green (#009337). oklch(57.7% 0.144 146.1), rgb(51, 143, 65).

Aa

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

About this color

#338F41 is a medium-dark, vivid green. In OKLCH its lightness is 58%, its chroma 0.144 and its hue 146°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Kelley Green (#009337), ΔE 0.026 away. Black text reads best on it, at 5.14:1.

Hue familyGreens
Lightnessmedium-dark (58%)
Chromavivid (0.144)
Temperaturein between
Nearest nameKelley Green (#009337)
Black text5.14:1
White text4.08:1

Values

HEX#338F41
RGBrgb(51, 143, 65)
HSLhsl(129, 47%, 38%)
OKLCHoklch(57.7% 0.144 146.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 #338F41 4.08:1 AA large text Lc -73.1 Content text, not long reading
Black text on #338F41 5.14:1 AA Lc 36.4 Non-text elements, placeholder text
#338F41 text on white 4.08:1 AA large text Lc 67.6 Content text, not long reading
#338F41 text on black 5.14:1 AA Lc -34.0 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

    #F2F7F2

    oklch(97.1% 0.008 145.5)

  2. Step 100

    100

    #E2EDE3

    oklch(93.5% 0.018 148.1)

  3. Step 200

    200

    #CBE0CB

    oklch(88.5% 0.036 145.3)

  4. Step 300

    300

    #A6CCA8

    oklch(80.8% 0.064 146.3)

  5. Step 400

    400

    #75B279

    oklch(70.7% 0.104 145.9)

  6. Step 500

    500

    #4D9E56

    oklch(63% 0.132 146.1)

  7. Step 600

    600 (this color)

    #338F41

    oklch(57.7% 0.144 146.1)

  8. Step 700

    700

    #1C742D

    oklch(49.2% 0.134 146.2)

  9. Step 800

    800

    #1B5E26

    oklch(42.6% 0.11 146.1)

  10. Step 900

    900

    #1E4D24

    oklch(37.6% 0.085 146.1)

  11. Step 950

    950

    #132D15

    oklch(26.9% 0.054 145.5)

Export this scale for Tailwind in the Tailwind colors tool

#338F41 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)#91823A0.111
Deuteranopia (no green cones)#867B470.110
Tritanopia (no blue cones)#1B8C7D0.085
Achromatopsia (no color)#7E7E7E0.144

Harmonies

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

Complementary

The opposite hue (180°).

  • #338F41

    #338F41

    oklch(57.7% 0.144 146.1)

  • #A457A6

    #A457A6

    oklch(57.7% 0.144 326.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #338F41

    #338F41

    oklch(57.7% 0.144 146.1)

  • #768200

    #768200

    oklch(57.7% 0.132 116.1)

  • #008E77

    #008E77

    oklch(57.8% 0.108 175.9)

Open the analogous palette in the generator

Split complementary

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

  • #338F41

    #338F41

    oklch(57.7% 0.144 146.1)

  • #8264C4

    #8264C4

    oklch(57.7% 0.145 296)

  • #B9507C

    #B9507C

    oklch(57.8% 0.143 356.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #338F41

    #338F41

    oklch(57.7% 0.144 146.1)

  • #5174CE

    #5174CE

    oklch(57.7% 0.144 266)

  • #C0514A

    #C0514A

    oklch(57.7% 0.144 26.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #338F41

    #338F41

    oklch(57.7% 0.144 146.1)

  • #0083B9

    #0083B9

    oklch(57.7% 0.125 236.4)

  • #A457A6

    #A457A6

    oklch(57.7% 0.144 326.3)

  • #B65F00

    #B65F00

    oklch(57.7% 0.141 56.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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