#2F8B40#2F8B40

#2F8B40 is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.5% C 0.141 H 146.8°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#2F8B40
RGBrgb(47, 139, 64)
HSLhsl(131, 49%, 36%)
HSVhsv(131, 66%, 55%)
CMYKcmyk(66.2%, 0%, 54%, 45.5%)
CIE-LABlab(51.20, -43.57, 32.07)
CIE-LCHlch(51.20, 54.10, 143.64°)
OKLaboklab(56.46% -0.1177 0.0771)
OKLCHoklch(56.46% 0.141 146.8)
XYZxyz(11.3295, 19.4386, 8.0044)
Luminance0.1944 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8B40 #8B2F7A
analogous
#4C8B2F #2F8B40 #2F8B6E
triadic
#2F8B40 #402F8B #8B402F
tetradic
#2F8B40 #2F4C8B #8B2F7A #8B6E2F
square
#2F8B40 #2F4C8B #8B2F7A #8B6E2F
split-complementary
#2F8B40 #6E2F8B #8B2F4C
monochromatic
#103016 #205D2B #2F8B40 #3EB955 #68CC7B

Accessibility & contrast

On white

4.30
#2F8B40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#2F8B40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8B40
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8B40#FFFFFF#000000##000000
##2F8B401.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7F39
Deuteranopia (green-blind)
#817746
Tritanopia (blue-blind)
#13887A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2f8b40;
/* rgb */ color: rgb(47, 139, 64);
/* oklch */ color: oklch(56.5% 0.141 146.8);
Tailwind
colors: {
  custom: {
    50: '#73ae77',
    500: '#2f8b40',
    950: '#000000',
  },
}
SCSS
$custom: #2f8b40;
$custom-light: #73ae77;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8b40",
  "rgb": {
    "r": 47,
    "g": 139,
    "b": 64
  },
  "hsl": {
    "h": 131.087,
    "s": 49.462,
    "l": 36.471
  },
  "oklch": {
    "l": 0.56463,
    "c": 0.14069,
    "h": 146.8
  },
  "luminance": 0.1944
}

Semantic roles & 50–950 ramp

primary
#2F8B40
secondary
#B363A4
accent
#4FBFD9
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #2F8B40

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

Preview Lab → · Contrast checker → · Palette generator →

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