#2FB950#2FB950

#2FB950 is a light, vivid green. Relative luminance 0.359; OKLCH L 69.1% C 0.186 H 147.1°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#2FB950
RGBrgb(47, 185, 80)
HSLhsl(134, 59%, 45%)
HSVhsv(134, 75%, 73%)
CMYKcmyk(74.6%, 0%, 56.8%, 27.5%)
CIE-LABlab(66.43, -58.06, 42.48)
CIE-LCHlch(66.43, 71.94, 143.80°)
OKLaboklab(69.12% -0.1563 0.1011)
OKLCHoklch(69.12% 0.186 147.1)
XYZxyz(19.9677, 35.8791, 13.4609)
Luminance0.3588 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FB950 #B92F98
analogous
#53B92F #2FB950 #2FB995
triadic
#2FB950 #502FB9 #B9502F
tetradic
#2FB950 #2F53B9 #B92F98 #B9952F
square
#2FB950 #2F53B9 #B92F98 #B9952F
split-complementary
#2FB950 #952FB9 #B92F53
monochromatic
#165726 #23883B #2FB950 #52D371 #83DF99

Accessibility & contrast

On white

2.57
#2FB950 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#2FB950 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2FB950
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FB950#FFFFFF#000000##000000
##2FB9501.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA846
Deuteranopia (green-blind)
#AB9D58
Tritanopia (blue-blind)
#00B5A2
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #2fb950;
/* rgb */ color: rgb(47, 185, 80);
/* oklch */ color: oklch(69.1% 0.186 147.1);
Tailwind
colors: {
  custom: {
    50: '#7dcf84',
    500: '#2fb950',
    950: '#000000',
  },
}
SCSS
$custom: #2fb950;
$custom-light: #7dcf84;
$custom-dark: #000000;
JSON
{
  "hex": "#2fb950",
  "rgb": {
    "r": 47,
    "g": 185,
    "b": 80
  },
  "hsl": {
    "h": 134.348,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.69124,
    "c": 0.18616,
    "h": 147.1
  },
  "luminance": 0.35881
}

Semantic roles & 50–950 ramp

primary
#2FB950
secondary
#C97BB6
accent
#45BDE3
background
#F8FCF8
surface
#EFF9EF
border
#CAD2CA
text
#0B140B
muted
#7C827C

Preview Lab

Preview with #2FB950

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

Preview Lab → · Contrast checker → · Palette generator →

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