#2F9F40#2F9F40

#2F9F40 is a mid, vivid green. Relative luminance 0.258; OKLCH L 61.9% C 0.167 H 145.6°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#2F9F40
RGBrgb(47, 159, 64)
HSLhsl(129, 54%, 40%)
HSVhsv(129, 70%, 62%)
CMYKcmyk(70.4%, 0%, 59.7%, 37.6%)
CIE-LABlab(57.82, -51.04, 39.96)
CIE-LCHlch(57.82, 64.82, 141.95°)
OKLaboklab(61.94% -0.1378 0.0944)
OKLCHoklch(61.94% 0.167 145.6)
XYZxyz(14.4949, 25.7692, 9.0596)
Luminance0.2577 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9F40 #9F2F8E
analogous
#569F2F #2F9F40 #2F9F78
triadic
#2F9F40 #402F9F #9F402F
tetradic
#2F9F40 #2F569F #9F2F8E #9F782F
square
#2F9F40 #2F569F #9F2F8E #9F782F
split-complementary
#2F9F40 #782F9F #9F2F56
monochromatic
#13411A #21702D #2F9F40 #44C858 #73D682

Accessibility & contrast

On white

3.41
#2F9F40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#2F9F40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9F40
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9F40#FFFFFF#000000##000000
##2F9F401.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A19036
Deuteranopia (green-blind)
#948748
Tritanopia (blue-blind)
#009B8A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #2f9f40;
/* rgb */ color: rgb(47, 159, 64);
/* oklch */ color: oklch(61.9% 0.167 145.6);
Tailwind
colors: {
  custom: {
    50: '#77bc78',
    500: '#2f9f40',
    950: '#000000',
  },
}
SCSS
$custom: #2f9f40;
$custom-light: #77bc78;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9f40",
  "rgb": {
    "r": 47,
    "g": 159,
    "b": 64
  },
  "hsl": {
    "h": 129.107,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.61936,
    "c": 0.16705,
    "h": 145.6
  },
  "luminance": 0.25771
}

Semantic roles & 50–950 ramp

primary
#2F9F40
secondary
#BD6DB1
accent
#4AC7DE
background
#F7FBF7
surface
#EEF7ED
border
#C9D0C8
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #2F9F40

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

Preview Lab → · Contrast checker → · Palette generator →

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