#2F9E40#2F9E40

#2F9E40 is a mid, vivid green. Relative luminance 0.254; OKLCH L 61.7% C 0.166 H 145.6°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#2F9E40
RGBrgb(47, 158, 64)
HSLhsl(129, 54%, 40%)
HSVhsv(129, 70%, 62%)
CMYKcmyk(70.3%, 0%, 59.5%, 38%)
CIE-LABlab(57.49, -50.68, 39.58)
CIE-LCHlch(57.49, 64.31, 142.02°)
OKLaboklab(61.66% -0.1369 0.0936)
OKLCHoklch(61.66% 0.166 145.6)
XYZxyz(14.3236, 25.4267, 9.0025)
Luminance0.2543 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9E40 #9E2F8D
analogous
#569E2F #2F9E40 #2F9E77
triadic
#2F9E40 #402F9E #9E402F
tetradic
#2F9E40 #2F569E #9E2F8D #9E772F
square
#2F9E40 #2F569E #9E2F8D #9E772F
split-complementary
#2F9E40 #772F9E #9E2F56
monochromatic
#13401A #216F2D #2F9E40 #43C757 #72D581

Accessibility & contrast

On white

3.45
#2F9E40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#2F9E40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9E40
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9E40#FFFFFF#000000##000000
##2F9E401.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A09036
Deuteranopia (green-blind)
#938648
Tritanopia (blue-blind)
#019A89
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #2f9e40;
/* rgb */ color: rgb(47, 158, 64);
/* oklch */ color: oklch(61.7% 0.166 145.6);
Tailwind
colors: {
  custom: {
    50: '#77bc78',
    500: '#2f9e40',
    950: '#000000',
  },
}
SCSS
$custom: #2f9e40;
$custom-light: #77bc78;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9e40",
  "rgb": {
    "r": 47,
    "g": 158,
    "b": 64
  },
  "hsl": {
    "h": 129.189,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.61664,
    "c": 0.16579,
    "h": 145.6
  },
  "luminance": 0.25428
}

Semantic roles & 50–950 ramp

primary
#2F9E40
secondary
#BD6CB0
accent
#4AC7DE
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #2F9E40

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

Preview Lab → · Contrast checker → · Palette generator →

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