#51AB28

Closest named color: Grass (#5CAC2D). oklch(66.1% 0.184 138), rgb(81, 171, 40).

Aa

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

About this color

#51AB28 is a medium-light, vivid green. In OKLCH its lightness is 66%, its chroma 0.184 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.012 away. Black text reads best on it, at 7.20:1.

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

Values

HEX#51AB28
RGBrgb(81, 171, 40)
HSLhsl(101, 62%, 41%)
OKLCHoklch(66.1% 0.184 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 #51AB28 2.91:1 Fails Lc -60.5 Content text, not long reading
Black text on #51AB28 7.20:1 AAA Lc 48.9 Large or bold text, headings
#51AB28 text on white 2.91:1 Fails Lc 55.2 Large or bold text, headings
#51AB28 text on black 7.20:1 AAA Lc -46.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 500.

  1. Step 50

    50

    #F2F7F0

    oklch(97% 0.011 136.6)

  2. Step 100

    100

    #E2EEDE

    oklch(93.6% 0.025 137.8)

  3. Step 200

    200

    #C9E2C2

    oklch(88.6% 0.051 138.9)

  4. Step 300

    300

    #A4CF96

    oklch(80.9% 0.09 138.1)

  5. Step 400

    400

    #71B558

    oklch(70.6% 0.144 137.9)

  6. Step 500

    500 (this color)

    #51AB28

    oklch(66.1% 0.184 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

    #112F04

    oklch(27.2% 0.077 137.9)

Export this scale for Tailwind in the Tailwind colors tool

#51AB28 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)#B09C080.117
Deuteranopia (no green cones)#A594360.120
Tritanopia (no blue cones)#4AA5920.128
Achromatopsia (no color)#9797970.185

Harmonies

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

Complementary

The opposite hue (180°).

  • #51AB28

    #51AB28

    oklch(66.1% 0.184 138)

  • #C067DA

    #C067DA

    oklch(66% 0.185 318.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #51AB28

    #51AB28

    oklch(66.1% 0.184 138)

  • #9B9800

    #9B9800

    oklch(66.1% 0.143 108.3)

  • #00AC83

    #00AC83

    oklch(66.1% 0.134 168.2)

Open the analogous palette in the generator

Split complementary

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

  • #51AB28

    #51AB28

    oklch(66.1% 0.184 138)

  • #907AFB

    #907AFB

    oklch(66.1% 0.185 288.1)

  • #DF5AA6

    #DF5AA6

    oklch(66% 0.184 347.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #51AB28

    #51AB28

    oklch(66.1% 0.184 138)

  • #4390FF

    #4390FF

    oklch(66.1% 0.182 258)

  • #ED5766

    #ED5766

    oklch(65.9% 0.185 17.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #51AB28

    #51AB28

    oklch(66.1% 0.184 138)

  • #00A0D0

    #00A0D0

    oklch(65.9% 0.129 228.4)

  • #C067DA

    #C067DA

    oklch(66% 0.185 318.1)

  • #E66700

    #E66700

    oklch(66% 0.18 47.9)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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