#128C28

Closest named color: Forest Green (#228B22). oklch(55.8% 0.17 144.8), rgb(18, 140, 40).

Aa

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

About this color

#128C28 is a medium-dark, vivid green. In OKLCH its lightness is 56%, its chroma 0.170 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.006 away. Black text reads best on it, at 4.80:1.

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

Values

HEX#128C28
RGBrgb(18, 140, 40)
HSLhsl(131, 77%, 31%)
OKLCHoklch(55.8% 0.17 144.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 #128C28 4.36:1 AA large text Lc -75.2 Fine for body text
Black text on #128C28 4.80:1 AA Lc 34.4 Non-text elements, placeholder text
#128C28 text on white 4.36:1 AA large text Lc 69.7 Content text, not long reading
#128C28 text on black 4.80:1 AA Lc -32.0 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

    #F1F7F1

    oklch(97% 0.01 145.5)

  2. Step 100

    100

    #E1EEE1

    oklch(93.6% 0.022 145.4)

  3. Step 200

    200

    #C9E1C8

    oklch(88.5% 0.042 144.1)

  4. Step 300

    300

    #A2CEA2

    oklch(80.8% 0.077 144.8)

  5. Step 400

    400

    #6DB56F

    oklch(70.8% 0.124 144.7)

  6. Step 500

    500

    #40A148

    oklch(63.1% 0.156 144.9)

  7. Step 600

    600 (this color)

    #128C28

    oklch(55.8% 0.17 144.8)

  8. Step 700

    700

    #00761B

    oklch(49.2% 0.156 144.8)

  9. Step 800

    800

    #076018

    oklch(42.6% 0.131 144.9)

  10. Step 900

    900

    #154F1B

    oklch(37.8% 0.102 144.8)

  11. Step 950

    950

    #0E2E11

    oklch(26.9% 0.064 145.2)

Export this scale for Tailwind in the Tailwind colors tool

#128C28 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)#8F7E190.126
Deuteranopia (no green cones)#8275320.126
Tritanopia (no blue cones)#0088780.106
Achromatopsia (no color)#7979790.171

Harmonies

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

Complementary

The opposite hue (180°).

  • #128C28

    #128C28

    oklch(55.8% 0.17 144.8)

  • #A349AA

    #A349AA

    oklch(55.8% 0.17 324.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #128C28

    #128C28

    oklch(55.8% 0.17 144.8)

  • #737C00

    #737C00

    oklch(56% 0.127 114.7)

  • #008870

    #008870

    oklch(55.9% 0.106 174.5)

Open the analogous palette in the generator

Split complementary

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

  • #128C28

    #128C28

    oklch(55.8% 0.17 144.8)

  • #7D59CB

    #7D59CB

    oklch(55.8% 0.17 294.9)

  • #BB3E79

    #BB3E79

    oklch(55.8% 0.17 354.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #128C28

    #128C28

    oklch(55.8% 0.17 144.8)

  • #416CD6

    #416CD6

    oklch(55.8% 0.17 264.8)

  • #C43F3E

    #C43F3E

    oklch(55.9% 0.17 24.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #128C28

    #128C28

    oklch(55.8% 0.17 144.8)

  • #007EAF

    #007EAF

    oklch(56% 0.118 234.7)

  • #A349AA

    #A349AA

    oklch(55.8% 0.17 324.7)

  • #B05900

    #B05900

    oklch(55.9% 0.139 54.6)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #128C28.

Similar named colors

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

Use #128C28 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.