#2FB840#2FB840

#2FB840 is a light, vivid green. Relative luminance 0.353; OKLCH L 68.7% C 0.197 H 144.7°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#2FB840
RGBrgb(47, 184, 64)
HSLhsl(127, 59%, 45%)
HSVhsv(127, 74%, 72%)
CMYKcmyk(74.5%, 0%, 65.2%, 27.8%)
CIE-LABlab(65.95, -59.65, 49.16)
CIE-LCHlch(65.95, 77.30, 140.50°)
OKLaboklab(68.67% -0.1611 0.1141)
OKLCHoklch(68.67% 0.197 144.7)
XYZxyz(19.2369, 35.2533, 10.6402)
Luminance0.3525 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FB840 #B82FA7
analogous
#63B82F #2FB840 #2FB884
triadic
#2FB840 #402FB8 #B8402F
tetradic
#2FB840 #2F63B8 #B82FA7 #B8842F
square
#2FB840 #2F63B8 #B82FA7 #B8842F
split-complementary
#2FB840 #842FB8 #B82F63
monochromatic
#16571E #23872F #2FB840 #52D362 #82DF8E

Accessibility & contrast

On white

2.61
#2FB840 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#2FB840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2FB840
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FB840#FFFFFF#000000##000000
##2FB8401.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA731
Deuteranopia (green-blind)
#AC9C4B
Tritanopia (blue-blind)
#00B39F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #2fb840;
/* rgb */ color: rgb(47, 184, 64);
/* oklch */ color: oklch(68.7% 0.197 144.7);
Tailwind
colors: {
  custom: {
    50: '#7dcf7a',
    500: '#2fb840',
    950: '#000000',
  },
}
SCSS
$custom: #2fb840;
$custom-light: #7dcf7a;
$custom-dark: #000000;
JSON
{
  "hex": "#2fb840",
  "rgb": {
    "r": 47,
    "g": 184,
    "b": 64
  },
  "hsl": {
    "h": 127.445,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.68672,
    "c": 0.19745,
    "h": 144.7
  },
  "luminance": 0.35255
}

Semantic roles & 50–950 ramp

primary
#2FB840
secondary
#C87BBF
accent
#45CFE2
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B1409
muted
#7C827B

Preview Lab

Preview with #2FB840

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

Preview Lab → · Contrast checker → · Palette generator →

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