#28AF4F

Closest named color: Medium Green (#39AD48). oklch(66.3% 0.177 148.1), rgb(40, 175, 79).

Aa

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

About this color

#28AF4F is a medium-light, vivid green. In OKLCH its lightness is 66%, its chroma 0.177 and its hue 148°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Green (#39AD48), ΔE 0.009 away. Black text reads best on it, at 7.33:1.

Hue familyGreens
Lightnessmedium-light (66%)
Chromavivid (0.177)
Temperaturein between
Nearest nameMedium Green (#39AD48)
Black text7.33:1
White text2.86:1

Values

HEX#28AF4F
RGBrgb(40, 175, 79)
HSLhsl(137, 63%, 42%)
OKLCHoklch(66.3% 0.177 148.1)

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 #28AF4F 2.86:1 Fails Lc -59.6 Large or bold text, headings
Black text on #28AF4F 7.33:1 AAA Lc 49.8 Large or bold text, headings
#28AF4F text on white 2.86:1 Fails Lc 54.3 Large or bold text, headings
#28AF4F text on black 7.33:1 AAA Lc -47.5 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 500.

  1. Step 50

    50

    #F0F8F1

    oklch(97.1% 0.013 149.3)

  2. Step 100

    100

    #DFEFE1

    oklch(93.6% 0.025 149.1)

  3. Step 200

    200

    #C5E2C8

    oklch(88.4% 0.047 148.1)

  4. Step 300

    300

    #9BD0A1

    oklch(80.8% 0.086 147.7)

  5. Step 400

    400

    #5DB86E

    oklch(70.8% 0.138 148.1)

  6. Step 500

    500 (this color)

    #28AF4F

    oklch(66.3% 0.177 148.1)

  7. Step 600

    600

    #008B36

    oklch(55.5% 0.161 148.1)

  8. Step 700

    700

    #00752D

    oklch(49.1% 0.141 148.2)

  9. Step 800

    800

    #006023

    oklch(42.7% 0.123 148.1)

  10. Step 900

    900

    #00501C

    oklch(37.6% 0.109 148.1)

  11. Step 950

    950

    #043010

    oklch(27.2% 0.073 148.1)

Export this scale for Tailwind in the Tailwind colors tool

#28AF4F 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)#B19F460.141
Deuteranopia (no green cones)#A294560.140
Tritanopia (no blue cones)#00AB990.102
Achromatopsia (no color)#9999990.178

Harmonies

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

Complementary

The opposite hue (180°).

  • #28AF4F

    #28AF4F

    oklch(66.3% 0.177 148.1)

  • #CB66C9

    #CB66C9

    oklch(66.4% 0.176 328.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #28AF4F

    #28AF4F

    oklch(66.3% 0.177 148.1)

  • #8B9F00

    #8B9F00

    oklch(66.3% 0.155 118.3)

  • #00AB93

    #00AB93

    oklch(66.3% 0.122 177.9)

Open the analogous palette in the generator

Split complementary

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

  • #28AF4F

    #28AF4F

    oklch(66.3% 0.177 148.1)

  • #A276EF

    #A276EF

    oklch(66.3% 0.176 298.2)

  • #E45C92

    #E45C92

    oklch(66.3% 0.176 358.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #28AF4F

    #28AF4F

    oklch(66.3% 0.177 148.1)

  • #658AFE

    #658AFE

    oklch(66.3% 0.176 268)

  • #EB5F52

    #EB5F52

    oklch(66.2% 0.176 28.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #28AF4F

    #28AF4F

    oklch(66.3% 0.177 148.1)

  • #009EE2

    #009EE2

    oklch(66.4% 0.147 238)

  • #CB66C9

    #CB66C9

    oklch(66.4% 0.176 328.1)

  • #D97600

    #D97600

    oklch(66.4% 0.159 58.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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