#228D07

Closest named color: Emerald Green (#028F1E). oklch(56.2% 0.182 141), rgb(34, 141, 7).

Aa

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

About this color

#228D07 is a medium-dark, vivid green. In OKLCH its lightness is 56%, its chroma 0.182 and its hue 141°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Emerald Green (#028F1E), ΔE 0.010 away. Black text reads best on it, at 4.88:1.

Hue familyGreens
Lightnessmedium-dark (56%)
Chromavivid (0.182)
Temperaturein between
Nearest nameEmerald Green (#028F1E)
Black text4.88:1
White text4.30:1

Values

HEX#228D07
RGBrgb(34, 141, 7)
HSLhsl(108, 91%, 29%)
OKLCHoklch(56.2% 0.182 141)

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 #228D07 4.30:1 AA large text Lc -74.7 Content text, not long reading
Black text on #228D07 4.88:1 AA Lc 34.9 Non-text elements, placeholder text
#228D07 text on white 4.30:1 AA large text Lc 69.2 Content text, not long reading
#228D07 text on black 4.88: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

    #F2F7F1

    oklch(97.1% 0.01 140.5)

  2. Step 100

    100

    #E2EEDF

    oklch(93.6% 0.024 139.4)

  3. Step 200

    200

    #C9E1C5

    oklch(88.4% 0.046 141.2)

  4. Step 300

    300

    #A4CE9D

    oklch(80.8% 0.081 141.1)

  5. Step 400

    400

    #70B565

    oklch(70.8% 0.132 141)

  6. Step 500

    500

    #46A137

    oklch(63.1% 0.167 141)

  7. Step 600

    600 (this color)

    #228D07

    oklch(56.2% 0.182 141)

  8. Step 700

    700

    #187500

    oklch(49.1% 0.161 141)

  9. Step 800

    800

    #126000

    oklch(42.7% 0.14 141)

  10. Step 900

    900

    #194F0F

    oklch(37.8% 0.11 140.9)

  11. Step 950

    950

    #102E0B

    oklch(26.9% 0.069 140.9)

Export this scale for Tailwind in the Tailwind colors tool

#228D07 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)#917F000.126
Deuteranopia (no green cones)#85771E0.123
Tritanopia (no blue cones)#0088770.121
Achromatopsia (no color)#7A7A7A0.183

Harmonies

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

Complementary

The opposite hue (180°).

  • #228D07

    #228D07

    oklch(56.2% 0.182 141)

  • #A348B4

    #A348B4

    oklch(56.2% 0.181 321.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #228D07

    #228D07

    oklch(56.2% 0.182 141)

  • #797B00

    #797B00

    oklch(56.2% 0.124 110.9)

  • #00896C

    #00896C

    oklch(56.1% 0.11 171)

Open the analogous palette in the generator

Split complementary

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

  • #228D07

    #228D07

    oklch(56.2% 0.182 141)

  • #795AD5

    #795AD5

    oklch(56.2% 0.181 291.1)

  • #BE3A82

    #BE3A82

    oklch(56.2% 0.181 351)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #228D07

    #228D07

    oklch(56.2% 0.182 141)

  • #306EDE

    #306EDE

    oklch(56.1% 0.183 261.1)

  • #CA3844

    #CA3844

    oklch(56.3% 0.182 21)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #228D07

    #228D07

    oklch(56.2% 0.182 141)

  • #0080AB

    #0080AB

    oklch(56.2% 0.113 230.8)

  • #A348B4

    #A348B4

    oklch(56.2% 0.181 321.1)

  • #B65600

    #B65600

    oklch(56.3% 0.147 51)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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