#228C42

Closest named color: Kelley Green (#009337). oklch(56.4% 0.145 148.8), rgb(34, 140, 66).

Aa

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

About this color

#228C42 is a medium-dark, vivid green. In OKLCH its lightness is 56%, its chroma 0.145 and its hue 149°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Kelley Green (#009337), ΔE 0.028 away. Black text reads best on it, at 4.89:1.

Hue familyGreens
Lightnessmedium-dark (56%)
Chromavivid (0.145)
Temperaturein between
Nearest nameKelley Green (#009337)
Black text4.89:1
White text4.28:1

Values

HEX#228C42
RGBrgb(34, 140, 66)
HSLhsl(138, 61%, 34%)
OKLCHoklch(56.4% 0.145 148.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 #228C42 4.28:1 AA large text Lc -74.7 Content text, not long reading
Black text on #228C42 4.89:1 AA Lc 34.9 Non-text elements, placeholder text
#228C42 text on white 4.28:1 AA large text Lc 69.2 Content text, not long reading
#228C42 text on black 4.89:1 AA Lc -32.5 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

    #E2EEE3

    oklch(93.7% 0.019 147.8)

  3. Step 200

    200

    #CAE0CC

    oklch(88.5% 0.036 147.9)

  4. Step 300

    300

    #A4CDAA

    oklch(80.9% 0.065 149)

  5. Step 400

    400

    #71B37C

    oklch(70.8% 0.105 148.5)

  6. Step 500

    500

    #469F5A

    oklch(63.1% 0.133 148.7)

  7. Step 600

    600 (this color)

    #228C42

    oklch(56.4% 0.145 148.8)

  8. Step 700

    700

    #0C7431

    oklch(49% 0.134 148.8)

  9. Step 800

    800

    #115F2A

    oklch(42.7% 0.111 149)

  10. Step 900

    900

    #194E26

    oklch(37.8% 0.087 148.6)

  11. Step 950

    950

    #102E17

    oklch(27.1% 0.055 149.1)

Export this scale for Tailwind in the Tailwind colors tool

#228C42 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)#8D7F3C0.117
Deuteranopia (no green cones)#8177470.115
Tritanopia (no blue cones)#00897B0.083
Achromatopsia (no color)#7A7A7A0.146

Harmonies

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

Complementary

The opposite hue (180°).

  • #228C42

    #228C42

    oklch(56.4% 0.145 148.8)

  • #A2529F

    #A2529F

    oklch(56.4% 0.145 328.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #228C42

    #228C42

    oklch(56.4% 0.145 148.8)

  • #6E8000

    #6E8000

    oklch(56.5% 0.133 119.1)

  • #008977

    #008977

    oklch(56.4% 0.103 179.2)

Open the analogous palette in the generator

Split complementary

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

  • #228C42

    #228C42

    oklch(56.4% 0.145 148.8)

  • #825FBE

    #825FBE

    oklch(56.4% 0.145 298.7)

  • #B64B74

    #B64B74

    oklch(56.4% 0.145 358.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #228C42

    #228C42

    oklch(56.4% 0.145 148.8)

  • #536FCA

    #536FCA

    oklch(56.5% 0.144 268.6)

  • #BC4E41

    #BC4E41

    oklch(56.5% 0.145 29.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #228C42

    #228C42

    oklch(56.4% 0.145 148.8)

  • #007EB7

    #007EB7

    oklch(56.4% 0.126 238.7)

  • #A2529F

    #A2529F

    oklch(56.4% 0.145 328.7)

  • #AE5E00

    #AE5E00

    oklch(56.4% 0.134 58.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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