#228D2F

Closest named color: Forest Green (#228B22). oklch(56.5% 0.162 144.7), rgb(34, 141, 47).

Aa

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

About this color

#228D2F is a medium-dark, vivid green. In OKLCH its lightness is 56%, its chroma 0.162 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.011 away. Black text reads best on it, at 4.91:1.

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

Values

HEX#228D2F
RGBrgb(34, 141, 47)
HSLhsl(127, 61%, 34%)
OKLCHoklch(56.5% 0.162 144.7)

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 #228D2F 4.26:1 AA large text Lc -74.5 Content text, not long reading
Black text on #228D2F 4.91:1 AA Lc 35.1 Non-text elements, placeholder text
#228D2F text on white 4.26:1 AA large text Lc 69.0 Content text, not long reading
#228D2F text on black 4.91:1 AA Lc -32.6 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

    #F2F7F1

    oklch(97.1% 0.01 140.5)

  2. Step 100

    100

    #E2EEE1

    oklch(93.7% 0.021 143.2)

  3. Step 200

    200

    #C9E1C9

    oklch(88.5% 0.041 145.2)

  4. Step 300

    300

    #A4CEA4

    oklch(81% 0.073 144.9)

  5. Step 400

    400

    #70B472

    oklch(70.8% 0.117 144.9)

  6. Step 500

    500

    #46A04B

    oklch(63.1% 0.149 144.5)

  7. Step 600

    600 (this color)

    #228D2F

    oklch(56.5% 0.162 144.7)

  8. Step 700

    700

    #0C751E

    oklch(49% 0.151 144.6)

  9. Step 800

    800

    #11601C

    oklch(42.8% 0.125 144.8)

  10. Step 900

    900

    #184E1D

    oklch(37.6% 0.097 144.9)

  11. Step 950

    950

    #102E12

    oklch(27% 0.062 144.9)

Export this scale for Tailwind in the Tailwind colors tool

#228D2F 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)#9080230.120
Deuteranopia (no green cones)#8377370.120
Tritanopia (no blue cones)#0089790.100
Achromatopsia (no color)#7A7A7A0.163

Harmonies

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

Complementary

The opposite hue (180°).

  • #228D2F

    #228D2F

    oklch(56.5% 0.162 144.7)

  • #A34EAA

    #A34EAA

    oklch(56.5% 0.162 324.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #228D2F

    #228D2F

    oklch(56.5% 0.162 144.7)

  • #757E00

    #757E00

    oklch(56.6% 0.128 114.7)

  • #008A72

    #008A72

    oklch(56.5% 0.107 174.7)

Open the analogous palette in the generator

Split complementary

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

  • #228D2F

    #228D2F

    oklch(56.5% 0.162 144.7)

  • #7E5DCA

    #7E5DCA

    oklch(56.5% 0.163 294.6)

  • #BB447B

    #BB447B

    oklch(56.6% 0.162 354.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #228D2F

    #228D2F

    oklch(56.5% 0.162 144.7)

  • #456FD4

    #456FD4

    oklch(56.5% 0.162 264.7)

  • #C34543

    #C34543

    oklch(56.5% 0.162 24.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #228D2F

    #228D2F

    oklch(56.5% 0.162 144.7)

  • #0080B1

    #0080B1

    oklch(56.6% 0.119 234.3)

  • #A34EAA

    #A34EAA

    oklch(56.5% 0.162 324.5)

  • #B35A00

    #B35A00

    oklch(56.5% 0.141 54.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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