#228E62

Closest named color: Viridian (#1E9167). oklch(57.6% 0.117 160.9), rgb(34, 142, 98).

Aa

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

About this color

#228E62 is a medium-dark, moderately saturated green. In OKLCH its lightness is 58%, its chroma 0.117 and its hue 161°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Viridian (#1E9167), ΔE 0.009 away. Black text reads best on it, at 5.11:1.

Hue familyGreens
Lightnessmedium-dark (58%)
Chromamoderately saturated (0.117)
Temperaturein between
Nearest nameViridian (#1E9167)
Black text5.11:1
White text4.10:1

Values

HEX#228E62
RGBrgb(34, 142, 98)
HSLhsl(156, 61%, 35%)
OKLCHoklch(57.6% 0.117 160.9)

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 #228E62 4.10:1 AA large text Lc -73.3 Content text, not long reading
Black text on #228E62 5.11:1 AA Lc 36.3 Non-text elements, placeholder text
#228E62 text on white 4.10:1 AA large text Lc 67.8 Content text, not long reading
#228E62 text on black 5.11: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

    #F2F7F4

    oklch(97.2% 0.007 160.1)

  2. Step 100

    100

    #E2EDE6

    oklch(93.6% 0.015 158.2)

  3. Step 200

    200

    #C9DFD3

    oklch(88.4% 0.029 162)

  4. Step 300

    300

    #A3CCB6

    oklch(81% 0.053 161.5)

  5. Step 400

    400

    #6FB18F

    oklch(70.6% 0.085 160.7)

  6. Step 500

    500

    #439D74

    oklch(63% 0.107 161.2)

  7. Step 600

    600 (this color)

    #228E62

    oklch(57.6% 0.117 160.9)

  8. Step 700

    700

    #02734C

    oklch(49.1% 0.109 161)

  9. Step 800

    800

    #0D5E3E

    oklch(42.8% 0.091 160.5)

  10. Step 900

    900

    #174D35

    oklch(37.7% 0.07 160.7)

  11. Step 950

    950

    #0F2D1F

    oklch(26.9% 0.045 160.9)

Export this scale for Tailwind in the Tailwind colors tool

#228E62 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)#8C835F0.111
Deuteranopia (no green cones)#7F79650.109
Tritanopia (no blue cones)#008E820.047
Achromatopsia (no color)#7D7D7D0.118

Harmonies

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

Complementary

The opposite hue (180°).

  • #228E62

    #228E62

    oklch(57.6% 0.117 160.9)

  • #A75B8E

    #A75B8E

    oklch(57.6% 0.118 340.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #228E62

    #228E62

    oklch(57.6% 0.117 160.9)

  • #608737

    #608737

    oklch(57.6% 0.118 131)

  • #008B87

    #008B87

    oklch(57.5% 0.099 191.2)

Open the analogous palette in the generator

Split complementary

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

  • #228E62

    #228E62

    oklch(57.6% 0.117 160.9)

  • #8F64AC

    #8F64AC

    oklch(57.7% 0.117 310.6)

  • #B35968

    #B35968

    oklch(57.7% 0.117 11)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #228E62

    #228E62

    oklch(57.6% 0.117 160.9)

  • #6E70BC

    #6E70BC

    oklch(57.7% 0.116 281)

  • #B25F3F

    #B25F3F

    oklch(57.6% 0.117 41.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #228E62

    #228E62

    oklch(57.6% 0.117 160.9)

  • #3E7CBC

    #3E7CBC

    oklch(57.5% 0.118 251.2)

  • #A75B8E

    #A75B8E

    oklch(57.6% 0.118 340.9)

  • #A46B15

    #A46B15

    oklch(57.5% 0.117 70.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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