#51AF2D

Closest named color: Grass (#5CAC2D). oklch(67.1% 0.186 138.7), rgb(81, 175, 45).

Aa

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

About this color

#51AF2D is a medium-light, vivid green. In OKLCH its lightness is 67%, its chroma 0.186 and its hue 139°. 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.51:1.

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

Values

HEX#51AF2D
RGBrgb(81, 175, 45)
HSLhsl(103, 59%, 43%)
OKLCHoklch(67.1% 0.186 138.7)

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 #51AF2D 2.79:1 Fails Lc -58.7 Large or bold text, headings
Black text on #51AF2D 7.51:1 AAA Lc 50.6 Large or bold text, headings
#51AF2D text on white 2.79:1 Fails Lc 53.4 Large or bold text, headings
#51AF2D text on black 7.51:1 AAA Lc -48.4 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

    #F0F8EE

    oklch(97% 0.016 139.4)

  2. Step 100

    100

    #DFF0DA

    oklch(93.7% 0.034 138.6)

  3. Step 200

    200

    #C4E4BB

    oklch(88.5% 0.065 138.8)

  4. Step 300

    300

    #9AD389

    oklch(80.9% 0.117 138.7)

  5. Step 400

    400 (this color)

    #51AF2D

    oklch(67.1% 0.186 138.7)

  6. Step 500

    500

    #3DA300

    oklch(63% 0.197 138.7)

  7. Step 600

    600

    #328900

    oklch(55.5% 0.174 138.7)

  8. Step 700

    700

    #297400

    oklch(49.2% 0.154 138.7)

  9. Step 800

    800

    #205F00

    oklch(42.8% 0.134 138.7)

  10. Step 900

    900

    #194F00

    oklch(37.7% 0.118 138.8)

  11. Step 950

    950

    #0C2F00

    oklch(26.9% 0.084 138.6)

Export this scale for Tailwind in the Tailwind colors tool

#51AF2D 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)#B49F130.121
Deuteranopia (no green cones)#A8983A0.121
Tritanopia (no blue cones)#49A9960.128
Achromatopsia (no color)#9B9B9B0.187

Harmonies

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

Complementary

The opposite hue (180°).

  • #51AF2D

    #51AF2D

    oklch(67.1% 0.186 138.7)

  • #C56ADD

    #C56ADD

    oklch(67.2% 0.186 318.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #51AF2D

    #51AF2D

    oklch(67.1% 0.186 138.7)

  • #9E9C00

    #9E9C00

    oklch(67.2% 0.146 108.8)

  • #00AF87

    #00AF87

    oklch(67% 0.134 169)

Open the analogous palette in the generator

Split complementary

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

  • #51AF2D

    #51AF2D

    oklch(67.1% 0.186 138.7)

  • #947DFF

    #947DFF

    oklch(67.2% 0.186 288.5)

  • #E45CA8

    #E45CA8

    oklch(67.1% 0.186 348.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #51AF2D

    #51AF2D

    oklch(67.1% 0.186 138.7)

  • #4D93FF

    #4D93FF

    oklch(67.1% 0.175 258.9)

  • #F25A67

    #F25A67

    oklch(67.1% 0.186 18.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #51AF2D

    #51AF2D

    oklch(67.1% 0.186 138.7)

  • #00A4D5

    #00A4D5

    oklch(67.1% 0.131 228.3)

  • #C56ADD

    #C56ADD

    oklch(67.2% 0.186 318.9)

  • #EA6B00

    #EA6B00

    oklch(67.1% 0.181 48.7)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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