#228E64

Closest named color: Viridian (#1E9167). oklch(57.7% 0.115 162), rgb(34, 142, 100).

Aa

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

About this color

#228E64 is a medium-dark, moderately saturated green. In OKLCH its lightness is 58%, its chroma 0.115 and its hue 162°. 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.12:1.

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

Values

HEX#228E64
RGBrgb(34, 142, 100)
HSLhsl(157, 61%, 35%)
OKLCHoklch(57.7% 0.115 162)

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

    #F2F7F4

    oklch(97.2% 0.007 160.1)

  2. Step 100

    100

    #E2EDE7

    oklch(93.6% 0.014 162.5)

  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

    #6FB191

    oklch(70.7% 0.083 162.3)

  6. Step 500

    500

    #439D76

    oklch(63% 0.105 162.4)

  7. Step 600

    600 (this color)

    #228E64

    oklch(57.7% 0.115 162)

  8. Step 700

    700

    #01734E

    oklch(49.1% 0.107 162.3)

  9. Step 800

    800

    #0C5E40

    oklch(42.8% 0.089 162.1)

  10. Step 900

    900

    #174D36

    oklch(37.8% 0.069 161.7)

  11. Step 950

    950

    #0F2D20

    oklch(27% 0.044 162.7)

Export this scale for Tailwind in the Tailwind colors tool

#228E64 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)#8C83620.111
Deuteranopia (no green cones)#7E79670.108
Tritanopia (no blue cones)#008E830.046
Achromatopsia (no color)#7D7D7D0.116

Harmonies

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

Complementary

The opposite hue (180°).

  • #228E64

    #228E64

    oklch(57.7% 0.115 162)

  • #A75C8C

    #A75C8C

    oklch(57.7% 0.115 342.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #228E64

    #228E64

    oklch(57.7% 0.115 162)

  • #5F873B

    #5F873B

    oklch(57.6% 0.115 132.1)

  • #008B88

    #008B88

    oklch(57.5% 0.099 192.1)

Open the analogous palette in the generator

Split complementary

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

  • #228E64

    #228E64

    oklch(57.7% 0.115 162)

  • #9064AA

    #9064AA

    oklch(57.7% 0.115 312.1)

  • #B25A67

    #B25A67

    oklch(57.6% 0.115 12)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #228E64

    #228E64

    oklch(57.7% 0.115 162)

  • #6F6FBB

    #6F6FBB

    oklch(57.6% 0.115 282.2)

  • #B1603F

    #B1603F

    oklch(57.7% 0.115 42.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #228E64

    #228E64

    oklch(57.7% 0.115 162)

  • #427CBB

    #427CBB

    oklch(57.6% 0.115 252.1)

  • #A75C8C

    #A75C8C

    oklch(57.7% 0.115 342.3)

  • #A36C18

    #A36C18

    oklch(57.6% 0.115 71.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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