#228F4A

Closest named color: Sea Green (#2E8B57). oklch(57.4% 0.141 150.8), rgb(34, 143, 74).

Aa

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

About this color

#228F4A is a medium-dark, vivid green. In OKLCH its lightness is 57%, its chroma 0.141 and its hue 151°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Sea Green (#2E8B57), ΔE 0.025 away. Black text reads best on it, at 5.09:1.

Hue familyGreens
Lightnessmedium-dark (57%)
Chromavivid (0.141)
Temperaturein between
Nearest nameSea Green (#2E8B57)
Black text5.09:1
White text4.12:1

Values

HEX#228F4A
RGBrgb(34, 143, 74)
HSLhsl(142, 62%, 35%)
OKLCHoklch(57.4% 0.141 150.8)

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 #228F4A 4.12:1 AA large text Lc -73.4 Content text, not long reading
Black text on #228F4A 5.09:1 AA Lc 36.2 Non-text elements, placeholder text
#228F4A text on white 4.12:1 AA large text Lc 67.9 Content text, not long reading
#228F4A text on black 5.09:1 AA Lc -33.8 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

    #E2EEE4

    oklch(93.7% 0.018 150.5)

  3. Step 200

    200

    #C9E0CD

    oklch(88.4% 0.036 150.5)

  4. Step 300

    300

    #A4CDAC

    oklch(81% 0.063 150.6)

  5. Step 400

    400

    #6FB380

    oklch(70.8% 0.102 151.1)

  6. Step 500

    500

    #449F5F

    oklch(63.1% 0.129 150.7)

  7. Step 600

    600 (this color)

    #228F4A

    oklch(57.4% 0.141 150.8)

  8. Step 700

    700

    #047536

    oklch(49.2% 0.132 150.6)

  9. Step 800

    800

    #0E5F2D

    oklch(42.7% 0.109 150.5)

  10. Step 900

    900

    #174E29

    oklch(37.8% 0.085 150.8)

  11. Step 950

    950

    #0F2E18

    oklch(27.1% 0.055 150.7)

Export this scale for Tailwind in the Tailwind colors tool

#228F4A 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)#9082450.119
Deuteranopia (no green cones)#83794F0.117
Tritanopia (no blue cones)#008D7F0.077
Achromatopsia (no color)#7D7D7D0.142

Harmonies

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

Complementary

The opposite hue (180°).

  • #228F4A

    #228F4A

    oklch(57.4% 0.141 150.8)

  • #A6559F

    #A6559F

    oklch(57.3% 0.142 330.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #228F4A

    #228F4A

    oklch(57.4% 0.141 150.8)

  • #6D8400

    #6D8400

    oklch(57.4% 0.138 121.1)

  • #008C7C

    #008C7C

    oklch(57.4% 0.103 181.1)

Open the analogous palette in the generator

Split complementary

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

  • #228F4A

    #228F4A

    oklch(57.4% 0.141 150.8)

  • #8762BE

    #8762BE

    oklch(57.5% 0.141 300.6)

  • #B94F74

    #B94F74

    oklch(57.4% 0.142 0.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #228F4A

    #228F4A

    oklch(57.4% 0.141 150.8)

  • #5A71CB

    #5A71CB

    oklch(57.4% 0.141 270.7)

  • #BD5342

    #BD5342

    oklch(57.4% 0.14 31.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #228F4A

    #228F4A

    oklch(57.4% 0.141 150.8)

  • #0080BF

    #0080BF

    oklch(57.3% 0.134 241)

  • #A6559F

    #A6559F

    oklch(57.3% 0.142 330.5)

  • #B06200

    #B06200

    oklch(57.4% 0.134 60.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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