#2FBA40#2FBA40

#2FBA40 is a light, vivid green. Relative luminance 0.361; OKLCH L 69.2% C 0.200 H 144.6°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#2FBA40
RGBrgb(47, 186, 64)
HSLhsl(127, 60%, 46%)
HSVhsv(127, 75%, 73%)
CMYKcmyk(74.7%, 0%, 65.6%, 27.1%)
CIE-LABlab(66.59, -60.31, 49.87)
CIE-LCHlch(66.59, 78.26, 140.41°)
OKLaboklab(69.21% -0.163 0.1156)
OKLCHoklch(69.21% 0.2 144.6)
XYZxyz(19.6553, 36.0900, 10.7797)
Luminance0.3609 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FBA40 #BA2FA9
analogous
#63BA2F #2FBA40 #2FBA85
triadic
#2FBA40 #402FBA #BA402F
tetradic
#2FBA40 #2F63BA #BA2FA9 #BA852F
square
#2FBA40 #2F63BA #BA2FA9 #BA852F
split-complementary
#2FBA40 #852FBA #BA2F63
monochromatic
#16581E #23892F #2FBA40 #53D362 #84E08F

Accessibility & contrast

On white

2.56
#2FBA40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#2FBA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2FBA40
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FBA40#FFFFFF#000000##000000
##2FBA401.002.568.228.22
#FFFFFF2.561.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA931
Deuteranopia (green-blind)
#AE9E4B
Tritanopia (blue-blind)
#00B5A1
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #2fba40;
/* rgb */ color: rgb(47, 186, 64);
/* oklch */ color: oklch(69.2% 0.200 144.6);
Tailwind
colors: {
  custom: {
    50: '#7dd07a',
    500: '#2fba40',
    950: '#000000',
  },
}
SCSS
$custom: #2fba40;
$custom-light: #7dd07a;
$custom-dark: #000000;
JSON
{
  "hex": "#2fba40",
  "rgb": {
    "r": 47,
    "g": 186,
    "b": 64
  },
  "hsl": {
    "h": 127.338,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.69206,
    "c": 0.19978,
    "h": 144.6
  },
  "luminance": 0.36092
}

Semantic roles & 50–950 ramp

primary
#2FBA40
secondary
#C97CC0
accent
#45D0E3
background
#F8FCF7
surface
#F0F9EE
border
#CBD2C9
text
#0B1409
muted
#7C827B

Preview Lab

Preview with #2FBA40

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

Preview Lab → · Contrast checker → · Palette generator →

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