#2F8951#2F8951

#2F8951 is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.2% C 0.121 H 152.6°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#2F8951
RGBrgb(47, 137, 81)
HSLhsl(143, 49%, 36%)
HSVhsv(143, 66%, 54%)
CMYKcmyk(65.7%, 0%, 40.9%, 46.3%)
CIE-LABlab(50.79, -39.86, 22.42)
CIE-LCHlch(50.79, 45.73, 150.65°)
OKLaboklab(56.21% -0.1077 0.0558)
OKLCHoklch(56.21% 0.121 152.6)
XYZxyz(11.6022, 19.0885, 10.8560)
Luminance0.1909 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8951 #892F67
analogous
#3A892F #2F8951 #2F897E
triadic
#2F8951 #512F89 #89512F
tetradic
#2F8951 #2F3A89 #892F67 #897E2F
square
#2F8951 #2F3A89 #892F67 #897E2F
split-complementary
#2F8951 #7E2F89 #892F3A
monochromatic
#102E1B #1F5B36 #2F8951 #3FB76C #67CB8D

Accessibility & contrast

On white

4.36
#2F8951 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#2F8951 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8951
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8951#FFFFFF#000000##000000
##2F89511.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#897E4D
Deuteranopia (green-blind)
#7E7655
Tritanopia (blue-blind)
#06877B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2f8951;
/* rgb */ color: rgb(47, 137, 81);
/* oklch */ color: oklch(56.2% 0.121 152.6);
Tailwind
colors: {
  custom: {
    50: '#72ac82',
    500: '#2f8951',
    950: '#000000',
  },
}
SCSS
$custom: #2f8951;
$custom-light: #72ac82;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8951",
  "rgb": {
    "r": 47,
    "g": 137,
    "b": 81
  },
  "hsl": {
    "h": 142.667,
    "s": 48.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.56214,
    "c": 0.12131,
    "h": 152.6
  },
  "luminance": 0.1909
}

Semantic roles & 50–950 ramp

primary
#2F8951
secondary
#B26294
accent
#4FA5D8
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #2F8951

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

Preview Lab → · Contrast checker → · Palette generator →

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