#2F8A40#2F8A40

#2F8A40 is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.2% C 0.139 H 146.8°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#2F8A40
RGBrgb(47, 138, 64)
HSLhsl(131, 49%, 36%)
HSVhsv(131, 66%, 54%)
CMYKcmyk(65.9%, 0%, 53.6%, 45.9%)
CIE-LABlab(50.86, -43.18, 31.67)
CIE-LCHlch(50.86, 53.54, 143.74°)
OKLaboklab(56.19% -0.1166 0.0762)
OKLCHoklch(56.19% 0.139 146.8)
XYZxyz(11.1854, 19.1503, 7.9564)
Luminance0.1915 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8A40 #8A2F79
analogous
#4C8A2F #2F8A40 #2F8A6E
triadic
#2F8A40 #402F8A #8A402F
tetradic
#2F8A40 #2F4C8A #8A2F79 #8A6E2F
square
#2F8A40 #2F4C8A #8A2F79 #8A6E2F
split-complementary
#2F8A40 #6E2F8A #8A2F4C
monochromatic
#102F16 #1F5C2B #2F8A40 #3FB855 #68CC7A

Accessibility & contrast

On white

4.35
#2F8A40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#2F8A40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8A40
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8A40#FFFFFF#000000##000000
##2F8A401.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7E39
Deuteranopia (green-blind)
#807645
Tritanopia (blue-blind)
#148779
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2f8a40;
/* rgb */ color: rgb(47, 138, 64);
/* oklch */ color: oklch(56.2% 0.139 146.8);
Tailwind
colors: {
  custom: {
    50: '#73ad76',
    500: '#2f8a40',
    950: '#000000',
  },
}
SCSS
$custom: #2f8a40;
$custom-light: #73ad76;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8a40",
  "rgb": {
    "r": 47,
    "g": 138,
    "b": 64
  },
  "hsl": {
    "h": 131.209,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.56188,
    "c": 0.13931,
    "h": 146.8
  },
  "luminance": 0.19151
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F8A40

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

Preview Lab → · Contrast checker → · Palette generator →

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