#2FB831#2FB831

#2FB831 is a light, highly saturated green. Relative luminance 0.351; OKLCH L 68.5% C 0.207 H 143.1°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#2FB831
RGBrgb(47, 184, 49)
HSLhsl(121, 59%, 45%)
HSVhsv(121, 74%, 72%)
CMYKcmyk(74.5%, 0%, 73.4%, 27.8%)
CIE-LABlab(65.83, -61.05, 54.99)
CIE-LCHlch(65.83, 82.16, 137.99°)
OKLaboklab(68.54% -0.1656 0.1246)
OKLCHoklch(68.54% 0.207 143.1)
XYZxyz(18.8660, 35.1049, 8.6868)
Luminance0.3511 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FB831 #B82FB6
analogous
#71B82F #2FB831 #2FB875
triadic
#2FB831 #312FB8 #B8312F
tetradic
#2FB831 #2F71B8 #B82FB6 #B8752F
square
#2FB831 #2F71B8 #B82FB6 #B8752F
split-complementary
#2FB831 #752FB8 #B82F71
monochromatic
#165717 #238724 #2FB831 #52D353 #82DF84

Accessibility & contrast

On white

2.62
#2FB831 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#2FB831 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2FB831
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FB831#FFFFFF#000000##000000
##2FB8311.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA618
Deuteranopia (green-blind)
#AD9C3F
Tritanopia (blue-blind)
#00B39E
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #2fb831;
/* rgb */ color: rgb(47, 184, 49);
/* oklch */ color: oklch(68.5% 0.207 143.1);
Tailwind
colors: {
  custom: {
    50: '#7ecf72',
    500: '#2fb831',
    950: '#000000',
  },
}
SCSS
$custom: #2fb831;
$custom-light: #7ecf72;
$custom-dark: #000000;
JSON
{
  "hex": "#2fb831",
  "rgb": {
    "r": 47,
    "g": 184,
    "b": 49
  },
  "hsl": {
    "h": 120.876,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.68539,
    "c": 0.20725,
    "h": 143.1
  },
  "luminance": 0.35107
}

Semantic roles & 50–950 ramp

primary
#2FB831
secondary
#C87BC7
accent
#45E0E2
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0B1408
muted
#7C827B

Preview Lab

Preview with #2FB831

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

Preview Lab → · Contrast checker → · Palette generator →

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