#338F38

Closest named color: Kelley Green (#009337). oklch(57.6% 0.152 144.1), rgb(51, 143, 56).

Aa

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

About this color

#338F38 is a medium-dark, vivid green. In OKLCH its lightness is 58%, its chroma 0.152 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.020 away. Black text reads best on it, at 5.12:1.

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

Values

HEX#338F38
RGBrgb(51, 143, 56)
HSLhsl(123, 47%, 38%)
OKLCHoklch(57.6% 0.152 144.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 #338F38 4.09:1 AA large text Lc -73.3 Content text, not long reading
Black text on #338F38 5.12:1 AA Lc 36.3 Non-text elements, placeholder text
#338F38 text on white 4.09:1 AA large text Lc 67.8 Content text, not long reading
#338F38 text on black 5.12:1 AA Lc -33.9 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

    #A6CDA5

    oklch(80.9% 0.069 144.3)

  5. Step 400

    400

    #75B274

    oklch(70.6% 0.109 144)

  6. Step 500

    500

    #4E9F4F

    oklch(63.2% 0.14 143.9)

  7. Step 600

    600 (this color)

    #338F38

    oklch(57.6% 0.152 144.1)

  8. Step 700

    700

    #1D7424

    oklch(49.1% 0.141 144.1)

  9. Step 800

    800

    #1B5F20

    oklch(42.8% 0.117 144.3)

  10. Step 900

    900

    #1E4E1F

    oklch(37.8% 0.092 143.8)

  11. Step 950

    950

    #132E13

    oklch(27.2% 0.058 143.8)

Export this scale for Tailwind in the Tailwind colors tool

#338F38 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)#92822F0.113
Deuteranopia (no green cones)#867A3F0.112
Tritanopia (no blue cones)#1F8B7C0.095
Achromatopsia (no color)#7D7D7D0.152

Harmonies

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

Complementary

The opposite hue (180°).

  • #338F38

    #338F38

    oklch(57.6% 0.152 144.1)

  • #A455AB

    #A455AB

    oklch(57.6% 0.152 324.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #338F38

    #338F38

    oklch(57.6% 0.152 144.1)

  • #798100

    #798100

    oklch(57.7% 0.13 114.1)

  • #008E74

    #008E74

    oklch(57.7% 0.11 173.7)

Open the analogous palette in the generator

Split complementary

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

  • #338F38

    #338F38

    oklch(57.6% 0.152 144.1)

  • #8063C8

    #8063C8

    oklch(57.5% 0.151 294.4)

  • #BA4C7F

    #BA4C7F

    oklch(57.5% 0.152 354)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #338F38

    #338F38

    oklch(57.6% 0.152 144.1)

  • #4A74D2

    #4A74D2

    oklch(57.6% 0.152 264.1)

  • #C24D4B

    #C24D4B

    oklch(57.5% 0.151 24)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #338F38

    #338F38

    oklch(57.6% 0.152 144.1)

  • #0083B5

    #0083B5

    oklch(57.5% 0.121 234.3)

  • #A455AB

    #A455AB

    oklch(57.6% 0.152 324.2)

  • #B85C00

    #B85C00

    oklch(57.5% 0.144 53.8)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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