#51AC27

Closest named color: Grass (#5CAC2D). oklch(66.3% 0.186 138), rgb(81, 172, 39).

Aa

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

About this color

#51AC27 is a medium-light, vivid green. In OKLCH its lightness is 66%, its chroma 0.186 and its hue 138°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Grass (#5CAC2D), ΔE 0.011 away. Black text reads best on it, at 7.28:1.

Hue familyGreens
Lightnessmedium-light (66%)
Chromavivid (0.186)
Temperaturein between
Nearest nameGrass (#5CAC2D)
Black text7.28:1
White text2.88:1

Values

HEX#51AC27
RGBrgb(81, 172, 39)
HSLhsl(101, 63%, 41%)
OKLCHoklch(66.3% 0.186 138)

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 #51AC27 2.88:1 Fails Lc -60.0 Content text, not long reading
Black text on #51AC27 7.28:1 AAA Lc 49.3 Large or bold text, headings
#51AC27 text on white 2.88:1 Fails Lc 54.7 Large or bold text, headings
#51AC27 text on black 7.28:1 AAA Lc -47.1 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

    #F2F8F0

    oklch(97.2% 0.012 137.8)

  2. Step 100

    100

    #E2EEDD

    oklch(93.5% 0.026 136.3)

  3. Step 200

    200

    #C9E2C1

    oklch(88.6% 0.052 138.1)

  4. Step 300

    300

    #A4CF95

    oklch(80.9% 0.092 137.7)

  5. Step 400

    400

    #71B558

    oklch(70.6% 0.144 137.9)

  6. Step 500

    500 (this color)

    #51AC27

    oklch(66.3% 0.186 138)

  7. Step 600

    600

    #368900

    oklch(55.6% 0.172 138)

  8. Step 700

    700

    #2C7300

    oklch(49.1% 0.152 138.1)

  9. Step 800

    800

    #235E00

    oklch(42.6% 0.131 138)

  10. Step 900

    900

    #1C4F00

    oklch(37.8% 0.117 138)

  11. Step 950

    950

    #102F04

    oklch(27.1% 0.078 138.3)

Export this scale for Tailwind in the Tailwind colors tool

#51AC27 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)#B29D040.119
Deuteranopia (no green cones)#A695360.121
Tritanopia (no blue cones)#4AA6930.129
Achromatopsia (no color)#9898980.187

Harmonies

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

Complementary

The opposite hue (180°).

  • #51AC27

    #51AC27

    oklch(66.3% 0.186 138)

  • #C168DC

    #C168DC

    oklch(66.4% 0.186 317.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #51AC27

    #51AC27

    oklch(66.3% 0.186 138)

  • #9C9900

    #9C9900

    oklch(66.4% 0.143 108.3)

  • #00AD83

    #00AD83

    oklch(66.4% 0.135 167.8)

Open the analogous palette in the generator

Split complementary

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

  • #51AC27

    #51AC27

    oklch(66.3% 0.186 138)

  • #917BFD

    #917BFD

    oklch(66.4% 0.186 288)

  • #E15AA7

    #E15AA7

    oklch(66.4% 0.186 348.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #51AC27

    #51AC27

    oklch(66.3% 0.186 138)

  • #4591FF

    #4591FF

    oklch(66.4% 0.18 258)

  • #EF5767

    #EF5767

    oklch(66.3% 0.187 17.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #51AC27

    #51AC27

    oklch(66.3% 0.186 138)

  • #00A1D1

    #00A1D1

    oklch(66.2% 0.13 228.3)

  • #C168DC

    #C168DC

    oklch(66.4% 0.186 317.8)

  • #E76800

    #E76800

    oklch(66.2% 0.18 48.1)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #51AC27.

Similar named colors

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

Use #51AC27 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.