#28B840

Closest named color: Shamrock (#01B44C). oklch(68.5% 0.199 145.2), rgb(40, 184, 64).

Aa

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

About this color

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

Hue familyGreens
Lightnessmedium-light (69%)
Chromavivid (0.199)
Temperaturein between
Nearest nameShamrock (#01B44C)
Black text8.02:1
White text2.61:1

Values

HEX#28B840
RGBrgb(40, 184, 64)
HSLhsl(130, 64%, 44%)
OKLCHoklch(68.5% 0.199 145.2)

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 #28B840 2.61:1 Fails Lc -55.6 Large or bold text, headings
Black text on #28B840 8.02:1 AAA Lc 53.5 Large or bold text, headings
#28B840 text on white 2.61:1 Fails Lc 50.5 Large or bold text, headings
#28B840 text on black 8.02:1 AAA Lc -51.4 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

    #EFF9EF

    oklch(97.2% 0.017 145.4)

  2. Step 100

    100

    #DCF1DC

    oklch(93.7% 0.036 145.3)

  3. Step 200

    200

    #BDE6BE

    oklch(88.5% 0.069 145.6)

  4. Step 300

    300

    #8BD68E

    oklch(80.9% 0.125 145.2)

  5. Step 400

    400 (this color)

    #28B840

    oklch(68.5% 0.199 145.2)

  6. Step 500

    500

    #00A62E

    oklch(63% 0.197 145.2)

  7. Step 600

    600

    #008C25

    oklch(55.6% 0.174 145.1)

  8. Step 700

    700

    #00761E

    oklch(49.2% 0.154 145.2)

  9. Step 800

    800

    #006117

    oklch(42.8% 0.134 145.2)

  10. Step 900

    900

    #005112

    oklch(37.8% 0.118 145.3)

  11. Step 950

    950

    #003007

    oklch(26.9% 0.084 145.2)

Export this scale for Tailwind in the Tailwind colors tool

#28B840 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)#BBA7310.149
Deuteranopia (no green cones)#AB9C4B0.148
Tritanopia (no blue cones)#00B39F0.123
Achromatopsia (no color)#A0A0A00.200

Harmonies

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

Complementary

The opposite hue (180°).

  • #28B840

    #28B840

    oklch(68.5% 0.199 145.2)

  • #D566DC

    #D566DC

    oklch(68.6% 0.199 325.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #28B840

    #28B840

    oklch(68.5% 0.199 145.2)

  • #97A400

    #97A400

    oklch(68.5% 0.156 115.3)

  • #00B396

    #00B396

    oklch(68.5% 0.129 175.5)

Open the analogous palette in the generator

Split complementary

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

  • #28B840

    #28B840

    oklch(68.5% 0.199 145.2)

  • #A57DFF

    #A57DFF

    oklch(68.6% 0.186 295.2)

  • #F359A0

    #F359A0

    oklch(68.6% 0.199 355.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #28B840

    #28B840

    oklch(68.5% 0.199 145.2)

  • #6894FF

    #6894FF

    oklch(68.5% 0.165 265.4)

  • #FD5A57

    #FD5A57

    oklch(68.5% 0.199 25)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #28B840

    #28B840

    oklch(68.5% 0.199 145.2)

  • #00A6E6

    #00A6E6

    oklch(68.5% 0.145 235.1)

  • #D566DC

    #D566DC

    oklch(68.6% 0.199 325.2)

  • #E77800

    #E77800

    oklch(68.6% 0.17 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 #28B840, closest first.

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

Similar named colors

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

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