#2F9940#2F9940

#2F9940 is a mid, vivid green. Relative luminance 0.238; OKLCH L 60.3% C 0.159 H 145.9°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#2F9940
RGBrgb(47, 153, 64)
HSLhsl(130, 53%, 39%)
HSVhsv(130, 69%, 60%)
CMYKcmyk(69.3%, 0%, 58.2%, 40%)
CIE-LABlab(55.84, -48.87, 37.64)
CIE-LCHlch(55.84, 61.68, 142.39°)
OKLaboklab(60.3% -0.1319 0.0894)
OKLCHoklch(60.3% 0.159 145.9)
XYZxyz(13.4880, 23.7555, 8.7239)
Luminance0.2376 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9940 #992F88
analogous
#53992F #2F9940 #2F9975
triadic
#2F9940 #402F99 #99402F
tetradic
#2F9940 #2F5399 #992F88 #99752F
square
#2F9940 #2F5399 #992F88 #99752F
split-complementary
#2F9940 #752F99 #992F53
monochromatic
#123B19 #216A2C #2F9940 #41C556 #6FD37F

Accessibility & contrast

On white

3.65
#2F9940 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#2F9940 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9940
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9940#FFFFFF#000000##000000
##2F99401.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8B37
Deuteranopia (green-blind)
#8F8247
Tritanopia (blue-blind)
#079585
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #2f9940;
/* rgb */ color: rgb(47, 153, 64);
/* oklch */ color: oklch(60.3% 0.159 145.9);
Tailwind
colors: {
  custom: {
    50: '#76b877',
    500: '#2f9940',
    950: '#000000',
  },
}
SCSS
$custom: #2f9940;
$custom-light: #76b877;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9940",
  "rgb": {
    "r": 47,
    "g": 153,
    "b": 64
  },
  "hsl": {
    "h": 129.623,
    "s": 53,
    "l": 39.216
  },
  "oklch": {
    "l": 0.60302,
    "c": 0.15936,
    "h": 145.9
  },
  "luminance": 0.23757
}

Semantic roles & 50–950 ramp

primary
#2F9940
secondary
#BA69AD
accent
#4BC5DC
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#0A1109
muted
#7C807B

Preview Lab

Preview with #2F9940

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

Preview Lab → · Contrast checker → · Palette generator →

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