#hexpedia

Closest to Forest Green

#40A020

Color conversions

Reference values for common CSS, design, and accessibility formats.

FormatValueCopy
HEX40A020
HEX with ##40A020
RGBrgb(64, 160, 32)
RGBArgba(64, 160, 32, 1)
HSLhsl(105 66.67% 37.65%)
HSLAhsla(105, 66.67%, 37.65%, 1)
HSVhsv(105, 80%, 62.75%)
CMYKcmyk(60%, 0%, 80%, 37.25%)
OKLCHoklch(62.43% 0.1832 139.47)

Closest named matches

Color modifications

Suggested pairings

Use this color in CSS

Accessibility quick-check

White text

3.35:1

AA large

Black text

6.27:1

AA normal

Reference notes

#40A020 is a balanced, clear green color closest to Forest Green. The color has RGB channels of 64, 160, and 32; in HSL terms, it is centered near 105 degrees with 67% saturation and 38% lightness. In a design system, this balanced reading is a useful shortcut for deciding whether the color should act as a primary accent, a supporting surface, or a quiet divider. The safest usage pattern is to test it against both light and dark surfaces, then reserve the weaker text pairing for decoration rather than essential labels. If the color feels too forceful at full strength, the lighter, darker, and desaturated variants usually provide a calmer path for production UI. For editorial or product interfaces, reserve the most saturated use for accents and repeat softer variants in borders, labels, or background fills. This makes it useful for backgrounds, supporting UI surfaces, editorial layouts, and restrained visual systems. In CSS systems, define it as a custom property first so variations, shadows, and gradients can stay consistent.