#02AF52

Closest named color: Medium Green (#39AD48). oklch(65.9% 0.18 150.3), rgb(2, 175, 82).

Aa

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

About this color

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

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

Values

HEX#02AF52
RGBrgb(2, 175, 82)
HSLhsl(148, 98%, 35%)
OKLCHoklch(65.9% 0.18 150.3)

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 #02AF52 2.89:1 Fails Lc -59.8 Large or bold text, headings
Black text on #02AF52 7.25:1 AAA Lc 49.5 Large or bold text, headings
#02AF52 text on white 2.89:1 Fails Lc 54.5 Large or bold text, headings
#02AF52 text on black 7.25:1 AAA Lc -47.3 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

    #DEEFE1

    oklch(93.6% 0.026 150.8)

  3. Step 200

    200

    #C3E3C9

    oklch(88.5% 0.049 150.7)

  4. Step 300

    300

    #97D1A3

    oklch(80.8% 0.088 150.4)

  5. Step 400

    400

    #55B971

    oklch(70.8% 0.141 150.5)

  6. Step 500

    500 (this color)

    #02AF52

    oklch(65.9% 0.18 150.3)

  7. Step 600

    600

    #008B3F

    oklch(55.7% 0.153 150.2)

  8. Step 700

    700

    #007534

    oklch(49.2% 0.135 150.2)

  9. Step 800

    800

    #00602A

    oklch(42.8% 0.117 150.4)

  10. Step 900

    900

    #005022

    oklch(37.7% 0.103 150.5)

  11. Step 950

    950

    #003011

    oklch(27% 0.074 150)

Export this scale for Tailwind in the Tailwind colors tool

#02AF52 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)#B09F4A0.148
Deuteranopia (no green cones)#A093590.147
Tritanopia (no blue cones)#00AC9A0.100
Achromatopsia (no color)#9898980.181

Harmonies

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

Complementary

The opposite hue (180°).

  • #02AF52

    #02AF52

    oklch(65.9% 0.18 150.3)

  • #CD62C5

    #CD62C5

    oklch(65.9% 0.18 330.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #02AF52

    #02AF52

    oklch(65.9% 0.18 150.3)

  • #869F00

    #869F00

    oklch(66% 0.157 120.2)

  • #00A995

    #00A995

    oklch(65.9% 0.119 180.4)

Open the analogous palette in the generator

Split complementary

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

  • #02AF52

    #02AF52

    oklch(65.9% 0.18 150.3)

  • #A573EE

    #A573EE

    oklch(66% 0.18 300.3)

  • #E5598D

    #E5598D

    oklch(65.9% 0.18 0.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #02AF52

    #02AF52

    oklch(65.9% 0.18 150.3)

  • #6987FF

    #6987FF

    oklch(66% 0.18 270.3)

  • #EB5D4A

    #EB5D4A

    oklch(65.9% 0.18 30.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #02AF52

    #02AF52

    oklch(65.9% 0.18 150.3)

  • #009BE5

    #009BE5

    oklch(65.8% 0.153 240.7)

  • #CD62C5

    #CD62C5

    oklch(65.9% 0.18 330.3)

  • #D47700

    #D47700

    oklch(65.9% 0.154 60.3)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #02AF52.

Similar named colors

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

Use #02AF52 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.