AfoliOpen Afoli →

Grass color #5CAC2D

Grass is a color name from the xkcd color survey for the hex code #5CAC2D — RGB 92, 172, 45, HSL 98°, 59%, 43%.

Open in Afoli Colour tools →

#5CAC2DGrass

Color codes

HEX
#5CAC2D
RGB
rgb(92, 172, 45)
HSL
hsl(98, 59%, 43%)
CMYK
47%, 0%, 74%, 33%
OKLCH
oklch(66.8% 0.177 136.5)

Tints and shades

#E3FFD6#A1F479#87D95E#6DBE42#54A422#3F8900#316E00#245400#173B00#0B2400#030F00

Color harmonies

Complementary
#5CAC2D#BF6DDC
Analogous
#A09900#5CAC2D#00AF82
Triadic
#5CAC2D#4294FF#ED5D6E
Split complementary
#5CAC2D#8F7FFB#DE60AB
Tetradic
#5CAC2D#00A4D1#BF6DDC#E96A19

Contrast with text

PairWCAG 2.x ratioAPCA LcResult
Grass text on white2.84 : 154Fails for text
Grass text on black7.39 : 1-48AAA — any text
White text on Grass2.84 : 1-59Fails for text
Black text on Grass7.39 : 150AAA — any text

WCAG 2.x needs 4.5 : 1 for body text and 3 : 1 for large text; APCA asks for |Lc| 75 for body text and 60 for large text.

Palettes with this color

Frequently asked questions

What is the hex code of Grass?

Grass has the hex code #5CAC2D, which is RGB 92, 172, 45 and HSL 98°, 59%, 43%.

Which text color reads best on Grass?

Black text: contrast 7.39 : 1 (white text: 2.84 : 1).

Which colors go well with Grass?

Its complementary color is #BF6DDC; analogous colors are #A09900 and #00AF82; a triadic set adds #4294FF and #ED5D6E.

Similar colors

Sources and licences

Updated November 21, 2026