#338B34

Closest named color: Forest Green (#228B22). oklch(56.4% 0.15 143.4), rgb(51, 139, 52).

Aa

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

About this color

#338B34 is a medium-dark, vivid green. In OKLCH its lightness is 56%, its chroma 0.150 and its hue 143°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Forest Green (#228B22), ΔE 0.020 away. Black text reads best on it, at 4.88:1.

Hue familyGreens
Lightnessmedium-dark (56%)
Chromavivid (0.150)
Temperaturein between
Nearest nameForest Green (#228B22)
Black text4.88:1
White text4.30:1

Values

HEX#338B34
RGBrgb(51, 139, 52)
HSLhsl(121, 46%, 37%)
OKLCHoklch(56.4% 0.15 143.4)

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 #338B34 4.30:1 AA large text Lc -74.9 Content text, not long reading
Black text on #338B34 4.88:1 AA Lc 34.7 Non-text elements, placeholder text
#338B34 text on white 4.30:1 AA large text Lc 69.4 Content text, not long reading
#338B34 text on black 4.88:1 AA Lc -32.3 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

    #E3EDE2

    oklch(93.6% 0.018 142.8)

  3. Step 200

    200

    #CBE0CA

    oklch(88.5% 0.037 144)

  4. Step 300

    300

    #A7CCA5

    oklch(80.8% 0.067 143.6)

  5. Step 400

    400

    #77B274

    oklch(70.7% 0.108 143.2)

  6. Step 500

    500

    #509E4F

    oklch(63% 0.138 143.5)

  7. Step 600

    600 (this color)

    #338B34

    oklch(56.4% 0.15 143.4)

  8. Step 700

    700

    #217424

    oklch(49.2% 0.14 143.6)

  9. Step 800

    800

    #1E5E1F

    oklch(42.6% 0.115 143.4)

  10. Step 900

    900

    #204D1F

    oklch(37.6% 0.089 143.2)

  11. Step 950

    950

    #142D13

    oklch(26.9% 0.056 143.1)

Export this scale for Tailwind in the Tailwind colors tool

#338B34 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)#8E7E2A0.110
Deuteranopia (no green cones)#83773B0.109
Tritanopia (no blue cones)#2287780.094
Achromatopsia (no color)#7A7A7A0.150

Harmonies

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

Complementary

The opposite hue (180°).

  • #338B34

    #338B34

    oklch(56.4% 0.15 143.4)

  • #9F53A7

    #9F53A7

    oklch(56.5% 0.149 323.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #338B34

    #338B34

    oklch(56.4% 0.15 143.4)

  • #767D00

    #767D00

    oklch(56.5% 0.127 113.6)

  • #008A70

    #008A70

    oklch(56.5% 0.108 173.2)

Open the analogous palette in the generator

Split complementary

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

  • #338B34

    #338B34

    oklch(56.4% 0.15 143.4)

  • #7B60C4

    #7B60C4

    oklch(56.3% 0.15 293.4)

  • #B54A7D

    #B54A7D

    oklch(56.5% 0.149 353.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #338B34

    #338B34

    oklch(56.4% 0.15 143.4)

  • #4671CD

    #4671CD

    oklch(56.5% 0.15 263.5)

  • #BE4A4A

    #BE4A4A

    oklch(56.5% 0.15 23.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #338B34

    #338B34

    oklch(56.4% 0.15 143.4)

  • #0080AF

    #0080AF

    oklch(56.5% 0.117 233.2)

  • #9F53A7

    #9F53A7

    oklch(56.5% 0.149 323.7)

  • #B45900

    #B45900

    oklch(56.4% 0.143 53.3)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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