#229D18

Closest named color: Grass Green (#3F9B0B). oklch(60.8% 0.194 142.1), rgb(34, 157, 24).

Aa

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

About this color

#229D18 is a medium-dark, vivid green. In OKLCH its lightness is 61%, its chroma 0.194 and its hue 142°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Grass Green (#3F9B0B), ΔE 0.015 away. Black text reads best on it, at 5.90:1.

Hue familyGreens
Lightnessmedium-dark (61%)
Chromavivid (0.194)
Temperaturein between
Nearest nameGrass Green (#3F9B0B)
Black text5.90:1
White text3.55:1

Values

HEX#229D18
RGBrgb(34, 157, 24)
HSLhsl(115, 73%, 35%)
OKLCHoklch(60.8% 0.194 142.1)

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 #229D18 3.55:1 AA large text Lc -68.0 Content text, not long reading
Black text on #229D18 5.90:1 AA Lc 41.5 Non-text elements, placeholder text
#229D18 text on white 3.55:1 AA large text Lc 62.6 Content text, not long reading
#229D18 text on black 5.90:1 AA Lc -39.1 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 500.

  1. Step 50

    50

    #F1F8F0

    oklch(97.2% 0.013 141.8)

  2. Step 100

    100

    #E0EFDE

    oklch(93.6% 0.028 142)

  3. Step 200

    200

    #C6E3C3

    oklch(88.6% 0.053 142.6)

  4. Step 300

    300

    #9ED198

    oklch(81% 0.095 142)

  5. Step 400

    400

    #64B85C

    oklch(70.8% 0.152 142.1)

  6. Step 500

    500 (this color)

    #229D18

    oklch(60.8% 0.194 142.1)

  7. Step 600

    600

    #0D8C00

    oklch(55.6% 0.187 142)

  8. Step 700

    700

    #097600

    oklch(49.1% 0.165 142.1)

  9. Step 800

    800

    #066100

    oklch(42.8% 0.144 142)

  10. Step 900

    900

    #055101

    oklch(37.8% 0.126 142.1)

  11. Step 950

    950

    #092F06

    oklch(26.9% 0.079 141.9)

Export this scale for Tailwind in the Tailwind colors tool

#229D18 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)#A18D000.136
Deuteranopia (no green cones)#94842A0.136
Tritanopia (no blue cones)#0098850.126
Achromatopsia (no color)#8888880.195

Harmonies

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

Complementary

The opposite hue (180°).

  • #229D18

    #229D18

    oklch(60.8% 0.194 142.1)

  • #B651C6

    #B651C6

    oklch(60.8% 0.194 322)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #229D18

    #229D18

    oklch(60.8% 0.194 142.1)

  • #858A00

    #858A00

    oklch(60.9% 0.135 112.3)

  • #00997A

    #00997A

    oklch(60.8% 0.118 171.7)

Open the analogous palette in the generator

Split complementary

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

  • #229D18

    #229D18

    oklch(60.8% 0.194 142.1)

  • #8864EA

    #8864EA

    oklch(60.6% 0.194 292)

  • #D3428E

    #D3428E

    oklch(60.7% 0.194 352.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #229D18

    #229D18

    oklch(60.8% 0.194 142.1)

  • #3D7BF4

    #3D7BF4

    oklch(60.8% 0.193 262)

  • #DF414A

    #DF414A

    oklch(60.8% 0.194 22.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #229D18

    #229D18

    oklch(60.8% 0.194 142.1)

  • #008EC0

    #008EC0

    oklch(60.8% 0.125 232.3)

  • #B651C6

    #B651C6

    oklch(60.8% 0.194 322)

  • #C86100

    #C86100

    oklch(60.6% 0.156 52)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #229D18 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.