#2FA950#2FA950

#2FA950 is a light, vivid green. Relative luminance 0.296; OKLCH L 64.9% C 0.166 H 148.2°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#2FA950
RGBrgb(47, 169, 80)
HSLhsl(136, 56%, 42%)
HSVhsv(136, 72%, 66%)
CMYKcmyk(72.2%, 0%, 52.7%, 33.7%)
CIE-LABlab(61.27, -52.42, 36.26)
CIE-LCHlch(61.27, 63.74, 145.33°)
OKLaboklab(64.85% -0.1411 0.0874)
OKLCHoklch(64.85% 0.166 148.2)
XYZxyz(16.8069, 29.5576, 12.4073)
Luminance0.2956 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FA950 #A92F88
analogous
#4BA92F #2FA950 #2FA98D
triadic
#2FA950 #502FA9 #A9502F
tetradic
#2FA950 #2F4BA9 #A92F88 #A98D2F
square
#2FA950 #2F4BA9 #A92F88 #A98D2F
split-complementary
#2FA950 #8D2FA9 #A92F4B
monochromatic
#144923 #227939 #2FA950 #49CC6C #79DA93

Accessibility & contrast

On white

3.04
#2FA950 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#2FA950 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2FA950
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FA950#FFFFFF#000000##000000
##2FA9501.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9A48
Deuteranopia (green-blind)
#9C9057
Tritanopia (blue-blind)
#00A695
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #2fa950;
/* rgb */ color: rgb(47, 169, 80);
/* oklch */ color: oklch(64.9% 0.166 148.2);
Tailwind
colors: {
  custom: {
    50: '#79c483',
    500: '#2fa950',
    950: '#000000',
  },
}
SCSS
$custom: #2fa950;
$custom-light: #79c483;
$custom-dark: #000000;
JSON
{
  "hex": "#2fa950",
  "rgb": {
    "r": 47,
    "g": 169,
    "b": 80
  },
  "hsl": {
    "h": 136.23,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.64855,
    "c": 0.166,
    "h": 148.2
  },
  "luminance": 0.29559
}

Semantic roles & 50–950 ramp

primary
#2FA950
secondary
#C272AC
accent
#48B7E0
background
#F7FCF8
surface
#EEF8EF
border
#C9D1CA
text
#0A130B
muted
#7C827C

Preview Lab

Preview with #2FA950

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

Preview Lab → · Contrast checker → · Palette generator →

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