#2FB731#2FB731

#2FB731 is a light, highly saturated green. Relative luminance 0.347; OKLCH L 68.3% C 0.206 H 143.1°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#2FB731
RGBrgb(47, 183, 49)
HSLhsl(121, 59%, 45%)
HSVhsv(121, 74%, 72%)
CMYKcmyk(74.3%, 0%, 73.2%, 28.2%)
CIE-LABlab(65.51, -60.73, 54.66)
CIE-LCHlch(65.51, 81.71, 138.01°)
OKLaboklab(68.27% -0.1648 0.1239)
OKLCHoklch(68.27% 0.206 143.1)
XYZxyz(18.6590, 34.6909, 8.6178)
Luminance0.3469 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FB731 #B72FB5
analogous
#71B72F #2FB731 #2FB775
triadic
#2FB731 #312FB7 #B7312F
tetradic
#2FB731 #2F71B7 #B72FB5 #B7752F
square
#2FB731 #2F71B7 #B72FB5 #B7752F
split-complementary
#2FB731 #752FB7 #B72F71
monochromatic
#165617 #228624 #2FB731 #51D253 #82DF83

Accessibility & contrast

On white

2.65
#2FB731 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#2FB731 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2FB731
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FB731#FFFFFF#000000##000000
##2FB7311.002.657.947.94
#FFFFFF2.651.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA518
Deuteranopia (green-blind)
#AC9B3F
Tritanopia (blue-blind)
#00B29D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #2fb731;
/* rgb */ color: rgb(47, 183, 49);
/* oklch */ color: oklch(68.3% 0.206 143.1);
Tailwind
colors: {
  custom: {
    50: '#7ece72',
    500: '#2fb731',
    950: '#000000',
  },
}
SCSS
$custom: #2fb731;
$custom-light: #7ece72;
$custom-dark: #000000;
JSON
{
  "hex": "#2fb731",
  "rgb": {
    "r": 47,
    "g": 183,
    "b": 49
  },
  "hsl": {
    "h": 120.882,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.68271,
    "c": 0.20614,
    "h": 143.1
  },
  "luminance": 0.34693
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2FB731

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

Preview Lab → · Contrast checker → · Palette generator →

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