#228B31

Closest named color: Forest Green (#228B22). oklch(55.9% 0.158 145.1), rgb(34, 139, 49).

Aa

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

About this color

#228B31 is a medium-dark, vivid green. In OKLCH its lightness is 56%, its chroma 0.158 and its hue 145°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Forest Green (#228B22), ΔE 0.012 away. Black text reads best on it, at 4.80:1.

Hue familyGreens
Lightnessmedium-dark (56%)
Chromavivid (0.158)
Temperaturein between
Nearest nameForest Green (#228B22)
Black text4.80:1
White text4.37:1

Values

HEX#228B31
RGBrgb(34, 139, 49)
HSLhsl(129, 61%, 34%)
OKLCHoklch(55.9% 0.158 145.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 #228B31 4.37:1 AA large text Lc -75.3 Fine for body text
Black text on #228B31 4.80:1 AA Lc 34.3 Non-text elements, placeholder text
#228B31 text on white 4.37:1 AA large text Lc 69.8 Content text, not long reading
#228B31 text on black 4.80:1 AA Lc -31.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

    #F2F7F2

    oklch(97.1% 0.008 145.5)

  2. Step 100

    100

    #E2EEE2

    oklch(93.7% 0.02 145.4)

  3. Step 200

    200

    #CAE1CA

    oklch(88.6% 0.04 145.2)

  4. Step 300

    300

    #A4CDA5

    oklch(80.8% 0.071 145.5)

  5. Step 400

    400

    #71B374

    oklch(70.6% 0.113 145.3)

  6. Step 500

    500

    #47A04E

    oklch(63.2% 0.146 145.1)

  7. Step 600

    600 (this color)

    #228B31

    oklch(55.9% 0.158 145.1)

  8. Step 700

    700

    #0F7522

    oklch(49.1% 0.147 145.1)

  9. Step 800

    800

    #135F1E

    oklch(42.6% 0.122 145)

  10. Step 900

    900

    #194E1F

    oklch(37.6% 0.095 145.4)

  11. Step 950

    950

    #112E13

    oklch(27.1% 0.06 145)

Export this scale for Tailwind in the Tailwind colors tool

#228B31 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)#8D7E260.118
Deuteranopia (no green cones)#8176390.117
Tritanopia (no blue cones)#0087780.098
Achromatopsia (no color)#7979790.159

Harmonies

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

Complementary

The opposite hue (180°).

  • #228B31

    #228B31

    oklch(55.9% 0.158 145.1)

  • #A14DA6

    #A14DA6

    oklch(55.9% 0.159 325.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #228B31

    #228B31

    oklch(55.9% 0.158 145.1)

  • #727C00

    #727C00

    oklch(55.9% 0.127 115.3)

  • #008871

    #008871

    oklch(56% 0.105 175.2)

Open the analogous palette in the generator

Split complementary

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

  • #228B31

    #228B31

    oklch(55.9% 0.158 145.1)

  • #7D5CC6

    #7D5CC6

    oklch(55.9% 0.159 295.1)

  • #B74479

    #B74479

    oklch(55.9% 0.158 354.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #228B31

    #228B31

    oklch(55.9% 0.158 145.1)

  • #466ED0

    #466ED0

    oklch(56% 0.158 265)

  • #C04542

    #C04542

    oklch(56% 0.159 25.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #228B31

    #228B31

    oklch(55.9% 0.158 145.1)

  • #007EAF

    #007EAF

    oklch(56% 0.118 234.7)

  • #A14DA6

    #A14DA6

    oklch(55.9% 0.159 325.3)

  • #B05A00

    #B05A00

    oklch(56% 0.138 55.2)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #228B31.

Similar named colors

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

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