#2FA61F#2FA61F

#2FA61F is a light, vivid green. Relative luminance 0.280; OKLCH L 63.6% C 0.197 H 141.5°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#2FA61F
RGBrgb(47, 166, 31)
HSLhsl(113, 69%, 39%)
HSVhsv(113, 81%, 65%)
CMYKcmyk(71.7%, 0%, 81.3%, 34.9%)
CIE-LABlab(59.87, -56.47, 55.11)
CIE-LCHlch(59.87, 78.91, 135.70°)
OKLaboklab(63.55% -0.1541 0.1224)
OKLCHoklch(63.55% 0.197 141.5)
XYZxyz(15.0550, 27.9741, 5.9022)
Luminance0.2798 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FA61F #961FA6
analogous
#72A61F #2FA61F #1FA652
triadic
#2FA61F #1F2FA6 #A61F2F
tetradic
#2FA61F #1F72A6 #961FA6 #A6521F
square
#2FA61F #1F72A6 #961FA6 #A6521F
split-complementary
#2FA61F #521FA6 #A61F72
monochromatic
#123F0C #207215 #2FA61F #3FD72B #6EE15E

Accessibility & contrast

On white

3.18
#2FA61F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#2FA61F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2FA61F
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FA61F#FFFFFF#000000##000000
##2FA61F1.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9600
Deuteranopia (green-blind)
#9D8D30
Tritanopia (blue-blind)
#0DA18D
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #2fa61f;
/* rgb */ color: rgb(47, 166, 31);
/* oklch */ color: oklch(63.6% 0.197 141.5);
Tailwind
colors: {
  custom: {
    50: '#7ac267',
    500: '#2fa61f',
    950: '#000000',
  },
}
SCSS
$custom: #2fa61f;
$custom-light: #7ac267;
$custom-dark: #000000;
JSON
{
  "hex": "#2fa61f",
  "rgb": {
    "r": 47,
    "g": 166,
    "b": 31
  },
  "hsl": {
    "h": 112.889,
    "s": 68.528,
    "l": 38.627
  },
  "oklch": {
    "l": 0.63553,
    "c": 0.19676,
    "h": 141.5
  },
  "luminance": 0.27976
}

Semantic roles & 50–950 ramp

primary
#2FA61F
secondary
#B95BC5
accent
#3CEBD7
background
#F8FCF6
surface
#EFF8EB
border
#CAD1C6
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #2FA61F

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

Preview Lab → · Contrast checker → · Palette generator →

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