#338E38

Closest named color: Kelley Green (#009337). oklch(57.3% 0.15 144.2), rgb(51, 142, 56).

Aa

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

About this color

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

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

Values

HEX#338E38
RGBrgb(51, 142, 56)
HSLhsl(123, 47%, 38%)
OKLCHoklch(57.3% 0.15 144.2)

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 #338E38 4.14:1 AA large text Lc -73.7 Content text, not long reading
Black text on #338E38 5.06:1 AA Lc 35.9 Non-text elements, placeholder text
#338E38 text on white 4.14:1 AA large text Lc 68.2 Content text, not long reading
#338E38 text on black 5.06:1 AA Lc -33.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

    #F2F7F2

    oklch(97.1% 0.008 145.5)

  2. Step 100

    100

    #E2EEE2

    oklch(93.7% 0.02 145.4)

  3. Step 200

    200

    #CBE0CA

    oklch(88.5% 0.037 144)

  4. Step 300

    300

    #A7CDA6

    oklch(81% 0.068 144.3)

  5. Step 400

    400

    #75B275

    oklch(70.6% 0.108 144.3)

  6. Step 500

    500

    #4E9F50

    oklch(63.2% 0.139 144.2)

  7. Step 600

    600 (this color)

    #338E38

    oklch(57.3% 0.15 144.2)

  8. Step 700

    700

    #1E7425

    oklch(49.1% 0.14 144.2)

  9. Step 800

    800

    #1C5E20

    oklch(42.6% 0.115 144.1)

  10. Step 900

    900

    #1E4D20

    oklch(37.6% 0.089 144.3)

  11. Step 950

    950

    #132D13

    oklch(26.8% 0.057 143.8)

Export this scale for Tailwind in the Tailwind colors tool

#338E38 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)#91812F0.112
Deuteranopia (no green cones)#857A3F0.110
Tritanopia (no blue cones)#1F8A7B0.093
Achromatopsia (no color)#7D7D7D0.151

Harmonies

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

Complementary

The opposite hue (180°).

  • #338E38

    #338E38

    oklch(57.3% 0.15 144.2)

  • #A255A9

    #A255A9

    oklch(57.3% 0.149 324.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #338E38

    #338E38

    oklch(57.3% 0.15 144.2)

  • #788000

    #788000

    oklch(57.4% 0.129 114.1)

  • #008D74

    #008D74

    oklch(57.4% 0.109 174.3)

Open the analogous palette in the generator

Split complementary

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

  • #338E38

    #338E38

    oklch(57.3% 0.15 144.2)

  • #7F63C7

    #7F63C7

    oklch(57.4% 0.15 294.1)

  • #B94C7E

    #B94C7E

    oklch(57.4% 0.15 354.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #338E38

    #338E38

    oklch(57.3% 0.15 144.2)

  • #4A73D0

    #4A73D0

    oklch(57.3% 0.15 264.3)

  • #C14D4A

    #C14D4A

    oklch(57.3% 0.15 24.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #338E38

    #338E38

    oklch(57.3% 0.15 144.2)

  • #0082B4

    #0082B4

    oklch(57.2% 0.12 234.5)

  • #A255A9

    #A255A9

    oklch(57.3% 0.149 324.1)

  • #B75C00

    #B75C00

    oklch(57.4% 0.144 54.1)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #338E38.

Similar named colors

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

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