#28B51C

Closest named color: Shamrock (#01B44C). oklch(67.5% 0.216 142), rgb(40, 181, 28).

Aa

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

About this color

#28B51C is a medium-light, vivid green. In OKLCH its lightness is 67%, its chroma 0.216 and its hue 142°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Shamrock (#01B44C), ΔE 0.034 away. Black text reads best on it, at 7.71:1.

Hue familyGreens
Lightnessmedium-light (67%)
Chromavivid (0.216)
Temperaturein between
Nearest nameShamrock (#01B44C)
Black text7.71:1
White text2.72:1

Values

HEX#28B51C
RGBrgb(40, 181, 28)
HSLhsl(115, 73%, 41%)
OKLCHoklch(67.5% 0.216 142)

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 #28B51C 2.72:1 Fails Lc -57.3 Large or bold text, headings
Black text on #28B51C 7.71:1 AAA Lc 52.0 Large or bold text, headings
#28B51C text on white 2.72:1 Fails Lc 52.1 Large or bold text, headings
#28B51C text on black 7.71:1 AAA Lc -49.8 Large or bold text, headings

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 400.

  1. Step 50

    50

    #EFF9EE

    oklch(97.2% 0.018 142.8)

  2. Step 100

    100

    #DCF1D9

    oklch(93.6% 0.039 141.7)

  3. Step 200

    200

    #BEE6B9

    oklch(88.5% 0.074 142)

  4. Step 300

    300

    #8CD784

    oklch(81% 0.136 142)

  5. Step 400

    400 (this color)

    #28B51C

    oklch(67.5% 0.216 142)

  6. Step 500

    500

    #12A600

    oklch(63% 0.212 142)

  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

    #045100

    oklch(37.8% 0.127 142.1)

  11. Step 950

    950

    #023000

    oklch(26.9% 0.09 141.9)

Export this scale for Tailwind in the Tailwind colors tool

#28B51C 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)#B9A3000.151
Deuteranopia (no green cones)#AA99310.150
Tritanopia (no blue cones)#00AF9A0.141
Achromatopsia (no color)#9D9D9D0.217

Harmonies

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

Complementary

The opposite hue (180°).

  • #28B51C

    #28B51C

    oklch(67.5% 0.216 142)

  • #D15EE3

    #D15EE3

    oklch(67.4% 0.215 322)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #28B51C

    #28B51C

    oklch(67.5% 0.216 142)

  • #9A9F00

    #9A9F00

    oklch(67.6% 0.15 112)

  • #00B08D

    #00B08D

    oklch(67.4% 0.131 171.8)

Open the analogous palette in the generator

Split complementary

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

  • #28B51C

    #28B51C

    oklch(67.5% 0.216 142)

  • #9C7BFF

    #9C7BFF

    oklch(67.5% 0.188 292.1)

  • #F34DA4

    #F34DA4

    oklch(67.5% 0.216 352.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #28B51C

    #28B51C

    oklch(67.5% 0.216 142)

  • #5A92FF

    #5A92FF

    oklch(67.4% 0.172 262.3)

  • #FF4D57

    #FF4D57

    oklch(67.4% 0.214 22.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #28B51C

    #28B51C

    oklch(67.5% 0.216 142)

  • #00A4DC

    #00A4DC

    oklch(67.5% 0.137 231.8)

  • #D15EE3

    #D15EE3

    oklch(67.4% 0.215 322)

  • #E67100

    #E67100

    oklch(67.4% 0.173 52.2)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #28B51C.

Similar named colors

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

Use #28B51C 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.