#52AF40

Closest named color: Grass (#5CAC2D). oklch(67.3% 0.173 140.6), rgb(82, 175, 64).

Aa

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

About this color

#52AF40 is a medium-light, vivid green. In OKLCH its lightness is 67%, its chroma 0.173 and its hue 141°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Grass (#5CAC2D), ΔE 0.014 away. Black text reads best on it, at 7.56:1.

Hue familyGreens
Lightnessmedium-light (67%)
Chromavivid (0.173)
Temperaturein between
Nearest nameGrass (#5CAC2D)
Black text7.56:1
White text2.77:1

Values

HEX#52AF40
RGBrgb(82, 175, 64)
HSLhsl(110, 46%, 47%)
OKLCHoklch(67.3% 0.173 140.6)

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 #52AF40 2.77:1 Fails Lc -58.5 Large or bold text, headings
Black text on #52AF40 7.56:1 AAA Lc 50.8 Large or bold text, headings
#52AF40 text on white 2.77:1 Fails Lc 53.2 Large or bold text, headings
#52AF40 text on black 7.56:1 AAA Lc -48.6 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

    #F0F8EF

    oklch(97.1% 0.015 142.2)

  2. Step 100

    100

    #DFEFDC

    oklch(93.5% 0.03 140.8)

  3. Step 200

    200

    #C4E4BE

    oklch(88.6% 0.061 140.7)

  4. Step 300

    300

    #9AD290

    oklch(80.8% 0.108 140.8)

  5. Step 400

    400 (this color)

    #52AF40

    oklch(67.3% 0.173 140.6)

  6. Step 500

    500

    #2BA500

    oklch(63.1% 0.206 140.6)

  7. Step 600

    600

    #238B00

    oklch(55.6% 0.181 140.6)

  8. Step 700

    700

    #1C7500

    oklch(49.2% 0.16 140.5)

  9. Step 800

    800

    #156000

    oklch(42.7% 0.139 140.6)

  10. Step 900

    900

    #105000

    oklch(37.7% 0.123 140.6)

  11. Step 950

    950

    #063000

    oklch(27% 0.088 140.7)

Export this scale for Tailwind in the Tailwind colors tool

#52AF40 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)#B3A0330.118
Deuteranopia (no green cones)#A798490.119
Tritanopia (no blue cones)#47AA980.115
Achromatopsia (no color)#9B9B9B0.174

Harmonies

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

Complementary

The opposite hue (180°).

  • #52AF40

    #52AF40

    oklch(67.3% 0.173 140.6)

  • #C56ED7

    #C56ED7

    oklch(67.5% 0.173 320.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #52AF40

    #52AF40

    oklch(67.3% 0.173 140.6)

  • #9C9D00

    #9C9D00

    oklch(67.3% 0.147 110.2)

  • #00B08B

    #00B08B

    oklch(67.4% 0.132 170.7)

Open the analogous palette in the generator

Split complementary

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

  • #52AF40

    #52AF40

    oklch(67.3% 0.173 140.6)

  • #987FF7

    #987FF7

    oklch(67.4% 0.172 290.6)

  • #E262A4

    #E262A4

    oklch(67.4% 0.174 350.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #52AF40

    #52AF40

    oklch(67.3% 0.173 140.6)

  • #5493FF

    #5493FF

    oklch(67.3% 0.173 260.4)

  • #EE6267

    #EE6267

    oklch(67.4% 0.173 20.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #52AF40

    #52AF40

    oklch(67.3% 0.173 140.6)

  • #00A4D9

    #00A4D9

    oklch(67.3% 0.135 230.4)

  • #C56ED7

    #C56ED7

    oklch(67.5% 0.173 320.6)

  • #E7700E

    #E7700E

    oklch(67.4% 0.173 50.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #52AF40 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.