#228F64

Closest named color: Viridian (#1E9167). oklch(57.9% 0.117 161.6), rgb(34, 143, 100).

Aa

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

About this color

#228F64 is a medium-dark, moderately saturated green. In OKLCH its lightness is 58%, its chroma 0.117 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.006 away. Black text reads best on it, at 5.18:1.

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

Values

HEX#228F64
RGBrgb(34, 143, 100)
HSLhsl(156, 62%, 35%)
OKLCHoklch(57.9% 0.117 161.6)

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 #228F64 4.05:1 AA large text Lc -72.9 Content text, not long reading
Black text on #228F64 5.18:1 AA Lc 36.7 Non-text elements, placeholder text
#228F64 text on white 4.05:1 AA large text Lc 67.4 Content text, not long reading
#228F64 text on black 5.18:1 AA Lc -34.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

    #F2F7F4

    oklch(97.2% 0.007 160.1)

  2. Step 100

    100

    #E1EDE7

    oklch(93.5% 0.015 164.7)

  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

    #6FB190

    oklch(70.7% 0.084 161.5)

  6. Step 500

    500

    #429D75

    oklch(63% 0.107 162)

  7. Step 600

    600 (this color)

    #228F64

    oklch(57.9% 0.117 161.6)

  8. Step 700

    700

    #00734D

    oklch(49.1% 0.108 161.8)

  9. Step 800

    800

    #0B5E3F

    oklch(42.8% 0.09 161.4)

  10. Step 900

    900

    #164D36

    oklch(37.7% 0.07 161.9)

  11. Step 950

    950

    #0F2D20

    oklch(27% 0.044 162.7)

Export this scale for Tailwind in the Tailwind colors tool

#228F64 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)#8D84610.112
Deuteranopia (no green cones)#7F7A670.109
Tritanopia (no blue cones)#008F830.046
Achromatopsia (no color)#7E7E7E0.117

Harmonies

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

Complementary

The opposite hue (180°).

  • #228F64

    #228F64

    oklch(57.9% 0.117 161.6)

  • #A85C8E

    #A85C8E

    oklch(57.9% 0.117 341.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #228F64

    #228F64

    oklch(57.9% 0.117 161.6)

  • #60883A

    #60883A

    oklch(57.9% 0.117 131.7)

  • #008C89

    #008C89

    oklch(57.8% 0.099 192.1)

Open the analogous palette in the generator

Split complementary

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

  • #228F64

    #228F64

    oklch(57.9% 0.117 161.6)

  • #9164AC

    #9164AC

    oklch(57.9% 0.117 311.9)

  • #B45A68

    #B45A68

    oklch(57.9% 0.117 11.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #228F64

    #228F64

    oklch(57.9% 0.117 161.6)

  • #6F70BD

    #6F70BD

    oklch(57.9% 0.117 281.5)

  • #B36040

    #B36040

    oklch(58% 0.117 41.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #228F64

    #228F64

    oklch(57.9% 0.117 161.6)

  • #417DBD

    #417DBD

    oklch(57.9% 0.117 251.8)

  • #A85C8E

    #A85C8E

    oklch(57.9% 0.117 341.5)

  • #A46D17

    #A46D17

    oklch(57.9% 0.116 71.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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