#228A52

Closest named color: Sea Green (#2E8B57). oklch(56.2% 0.127 154.5), rgb(34, 138, 82).

Aa

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

About this color

#228A52 is a medium-dark, moderately saturated green. In OKLCH its lightness is 56%, its chroma 0.127 and its hue 155°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Sea Green (#2E8B57), ΔE 0.011 away. Black text reads best on it, at 4.82:1.

Hue familyGreens
Lightnessmedium-dark (56%)
Chromamoderately saturated (0.127)
Temperaturein between
Nearest nameSea Green (#2E8B57)
Black text4.82:1
White text4.35:1

Values

HEX#228A52
RGBrgb(34, 138, 82)
HSLhsl(148, 60%, 34%)
OKLCHoklch(56.2% 0.127 154.5)

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 #228A52 4.35:1 AA large text Lc -75.2 Fine for body text
Black text on #228A52 4.82:1 AA Lc 34.3 Non-text elements, placeholder text
#228A52 text on white 4.35:1 AA large text Lc 69.7 Content text, not long reading
#228A52 text on black 4.82:1 AA Lc -31.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

    #F2F7F3

    oklch(97.1% 0.007 151.9)

  2. Step 100

    100

    #E2EDE5

    oklch(93.6% 0.016 154.5)

  3. Step 200

    200

    #CAE0D0

    oklch(88.6% 0.032 154.1)

  4. Step 300

    300

    #A4CCB0

    oklch(80.9% 0.058 154.4)

  5. Step 400

    400

    #71B287

    oklch(70.8% 0.092 154.4)

  6. Step 500

    500

    #479E69

    oklch(63.1% 0.117 154.4)

  7. Step 600

    600 (this color)

    #228A52

    oklch(56.2% 0.127 154.5)

  8. Step 700

    700

    #0D7341

    oklch(49% 0.117 154.7)

  9. Step 800

    800

    #125E36

    oklch(42.7% 0.097 154.7)

  10. Step 900

    900

    #194D2F

    oklch(37.7% 0.076 154.8)

  11. Step 950

    950

    #102D1C

    oklch(26.9% 0.048 155.6)

Export this scale for Tailwind in the Tailwind colors tool

#228A52 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)#8A7E4E0.113
Deuteranopia (no green cones)#7D75560.110
Tritanopia (no blue cones)#00887C0.063
Achromatopsia (no color)#7979790.128

Harmonies

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

Complementary

The opposite hue (180°).

  • #228A52

    #228A52

    oklch(56.2% 0.127 154.5)

  • #A15593

    #A15593

    oklch(56.1% 0.128 334.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #228A52

    #228A52

    oklch(56.2% 0.127 154.5)

  • #65811E

    #65811E

    oklch(56.2% 0.127 124.5)

  • #00877C

    #00877C

    oklch(56% 0.099 184.9)

Open the analogous palette in the generator

Split complementary

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

  • #228A52

    #228A52

    oklch(56.2% 0.127 154.5)

  • #8660B0

    #8660B0

    oklch(56.2% 0.126 304.6)

  • #B0516B

    #B0516B

    oklch(56.1% 0.126 4.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #228A52

    #228A52

    oklch(56.2% 0.127 154.5)

  • #5F6DBE

    #5F6DBE

    oklch(56.1% 0.126 274.2)

  • #B3553F

    #B3553F

    oklch(56.2% 0.128 34.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #228A52

    #228A52

    oklch(56.2% 0.127 154.5)

  • #207BBA

    #207BBA

    oklch(56.2% 0.127 244.6)

  • #A15593

    #A15593

    oklch(56.1% 0.128 334.4)

  • #A76200

    #A76200

    oklch(56.2% 0.127 64.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #228A52 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.