#2F8947#2F8947

#2F8947 is a mid, vivid green. Relative luminance 0.190; OKLCH L 56.0% C 0.131 H 149.0°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#2F8947
RGBrgb(47, 137, 71)
HSLhsl(136, 49%, 36%)
HSVhsv(136, 66%, 54%)
CMYKcmyk(65.7%, 0%, 48.2%, 46.3%)
CIE-LABlab(50.63, -41.66, 27.68)
CIE-LCHlch(50.63, 50.02, 146.41°)
OKLaboklab(56.03% -0.1124 0.0676)
OKLCHoklch(56.03% 0.131 149)
XYZxyz(11.2544, 18.9494, 9.0245)
Luminance0.1895 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8947 #892F71
analogous
#44892F #2F8947 #2F8974
triadic
#2F8947 #472F89 #89472F
tetradic
#2F8947 #2F4489 #892F71 #89742F
square
#2F8947 #2F4489 #892F71 #89742F
split-complementary
#2F8947 #742F89 #892F44
monochromatic
#102E18 #1F5B2F #2F8947 #3FB75F #67CB82

Accessibility & contrast

On white

4.38
#2F8947 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#2F8947 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8947
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8947#FFFFFF#000000##000000
##2F89471.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7D42
Deuteranopia (green-blind)
#7F754C
Tritanopia (blue-blind)
#108679
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2f8947;
/* rgb */ color: rgb(47, 137, 71);
/* oklch */ color: oklch(56.0% 0.131 149.0);
Tailwind
colors: {
  custom: {
    50: '#72ac7b',
    500: '#2f8947',
    950: '#000000',
  },
}
SCSS
$custom: #2f8947;
$custom-light: #72ac7b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8947",
  "rgb": {
    "r": 47,
    "g": 137,
    "b": 71
  },
  "hsl": {
    "h": 136,
    "s": 48.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.56027,
    "c": 0.1312,
    "h": 149
  },
  "luminance": 0.18951
}

Semantic roles & 50–950 ramp

primary
#2F8947
secondary
#B2629D
accent
#4FB4D8
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #2F8947

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

Preview Lab → · Contrast checker → · Palette generator →

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