#2FB931#2FB931

#2FB931 is a light, highly saturated green. Relative luminance 0.355; OKLCH L 68.8% C 0.208 H 143.0°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#2FB931
RGBrgb(47, 185, 49)
HSLhsl(121, 59%, 45%)
HSVhsv(121, 75%, 73%)
CMYKcmyk(74.6%, 0%, 73.5%, 27.5%)
CIE-LABlab(66.15, -61.37, 55.32)
CIE-LCHlch(66.15, 82.62, 137.97°)
OKLaboklab(68.81% -0.1665 0.1253)
OKLCHoklch(68.81% 0.208 143)
XYZxyz(19.0744, 35.5218, 8.7563)
Luminance0.3552 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FB931 #B92FB7
analogous
#72B92F #2FB931 #2FB976
triadic
#2FB931 #312FB9 #B9312F
tetradic
#2FB931 #2F72B9 #B92FB7 #B9762F
square
#2FB931 #2F72B9 #B92FB7 #B9762F
split-complementary
#2FB931 #762FB9 #B92F72
monochromatic
#165717 #238824 #2FB931 #52D354 #83DF84

Accessibility & contrast

On white

2.59
#2FB931 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#2FB931 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2FB931
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FB931#FFFFFF#000000##000000
##2FB9311.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA718
Deuteranopia (green-blind)
#AE9D3F
Tritanopia (blue-blind)
#00B49F
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #2fb931;
/* rgb */ color: rgb(47, 185, 49);
/* oklch */ color: oklch(68.8% 0.208 143.0);
Tailwind
colors: {
  custom: {
    50: '#7ecf72',
    500: '#2fb931',
    950: '#000000',
  },
}
SCSS
$custom: #2fb931;
$custom-light: #7ecf72;
$custom-dark: #000000;
JSON
{
  "hex": "#2fb931",
  "rgb": {
    "r": 47,
    "g": 185,
    "b": 49
  },
  "hsl": {
    "h": 120.87,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.68808,
    "c": 0.20836,
    "h": 143
  },
  "luminance": 0.35524
}

Semantic roles & 50–950 ramp

primary
#2FB931
secondary
#C97BC8
accent
#45E0E3
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1408
muted
#7D827B

Preview Lab

Preview with #2FB931

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

Preview Lab → · Contrast checker → · Palette generator →

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