#2FB940#2FB940

#2FB940 is a light, vivid green. Relative luminance 0.357; OKLCH L 68.9% C 0.199 H 144.7°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#2FB940
RGBrgb(47, 185, 64)
HSLhsl(127, 59%, 45%)
HSVhsv(127, 75%, 73%)
CMYKcmyk(74.6%, 0%, 65.4%, 27.5%)
CIE-LABlab(66.27, -59.98, 49.52)
CIE-LCHlch(66.27, 77.78, 140.46°)
OKLaboklab(68.94% -0.162 0.1148)
OKLCHoklch(68.94% 0.199 144.7)
XYZxyz(19.4453, 35.6702, 10.7097)
Luminance0.3567 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FB940 #B92FA8
analogous
#63B92F #2FB940 #2FB985
triadic
#2FB940 #402FB9 #B9402F
tetradic
#2FB940 #2F63B9 #B92FA8 #B9852F
square
#2FB940 #2F63B9 #B92FA8 #B9852F
split-complementary
#2FB940 #852FB9 #B92F63
monochromatic
#16571E #23882F #2FB940 #52D362 #83DF8E

Accessibility & contrast

On white

2.58
#2FB940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#2FB940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2FB940
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FB940#FFFFFF#000000##000000
##2FB9401.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA831
Deuteranopia (green-blind)
#AD9D4B
Tritanopia (blue-blind)
#00B4A0
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #2fb940;
/* rgb */ color: rgb(47, 185, 64);
/* oklch */ color: oklch(68.9% 0.199 144.7);
Tailwind
colors: {
  custom: {
    50: '#7dcf7a',
    500: '#2fb940',
    950: '#000000',
  },
}
SCSS
$custom: #2fb940;
$custom-light: #7dcf7a;
$custom-dark: #000000;
JSON
{
  "hex": "#2fb940",
  "rgb": {
    "r": 47,
    "g": 185,
    "b": 64
  },
  "hsl": {
    "h": 127.391,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.68939,
    "c": 0.19862,
    "h": 144.7
  },
  "luminance": 0.35672
}

Semantic roles & 50–950 ramp

primary
#2FB940
secondary
#C97BBF
accent
#45CFE3
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B1409
muted
#7C827B

Preview Lab

Preview with #2FB940

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

Preview Lab → · Contrast checker → · Palette generator →

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