#2FA85C#2FA85C

#2FA85C is a light, vivid green. Relative luminance 0.294; OKLCH L 64.8% C 0.154 H 151.4°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#2FA85C
RGBrgb(47, 168, 92)
HSLhsl(142, 56%, 42%)
HSVhsv(142, 72%, 66%)
CMYKcmyk(72%, 0%, 45.2%, 34.1%)
CIE-LABlab(61.12, -50.10, 29.91)
CIE-LCHlch(61.12, 58.35, 149.16°)
OKLaboklab(64.78% -0.1349 0.0736)
OKLCHoklch(64.78% 0.154 151.4)
XYZxyz(17.1052, 29.3804, 14.8926)
Luminance0.2938 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FA85C #A82F7B
analogous
#3FA82F #2FA85C #2FA899
triadic
#2FA85C #5C2FA8 #A85C2F
tetradic
#2FA85C #2F3FA8 #A82F7B #A8992F
square
#2FA85C #2F3FA8 #A82F7B #A8992F
split-complementary
#2FA85C #992FA8 #A82F3F
monochromatic
#144828 #227842 #2FA85C #48CC79 #78D99C

Accessibility & contrast

On white

3.05
#2FA85C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#2FA85C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2FA85C
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FA85C#FFFFFF#000000##000000
##2FA85C1.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99A56
Deuteranopia (green-blind)
#9A8F61
Tritanopia (blue-blind)
#00A596
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #2fa85c;
/* rgb */ color: rgb(47, 168, 92);
/* oklch */ color: oklch(64.8% 0.154 151.4);
Tailwind
colors: {
  custom: {
    50: '#78c38b',
    500: '#2fa85c',
    950: '#000000',
  },
}
SCSS
$custom: #2fa85c;
$custom-light: #78c38b;
$custom-dark: #000000;
JSON
{
  "hex": "#2fa85c",
  "rgb": {
    "r": 47,
    "g": 168,
    "b": 92
  },
  "hsl": {
    "h": 142.314,
    "s": 56.279,
    "l": 42.157
  },
  "oklch": {
    "l": 0.64782,
    "c": 0.15366,
    "h": 151.4
  },
  "luminance": 0.29382
}

Semantic roles & 50–950 ramp

primary
#2FA85C
secondary
#C171A4
accent
#48A7E0
background
#F7FCF8
surface
#EEF8F0
border
#C9D1CB
text
#0A130C
muted
#7C827D

Preview Lab

Preview with #2FA85C

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2FA85C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva