#2F8747#2F8747

#2F8747 is a mid, vivid green. Relative luminance 0.184; OKLCH L 55.5% C 0.128 H 149.2°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#2F8747
RGBrgb(47, 135, 71)
HSLhsl(136, 48%, 36%)
HSVhsv(136, 65%, 53%)
CMYKcmyk(65.2%, 0%, 47.4%, 47.1%)
CIE-LABlab(49.96, -40.85, 26.83)
CIE-LCHlch(49.96, 48.88, 146.71°)
OKLaboklab(55.48% -0.1103 0.0657)
OKLCHoklch(55.48% 0.128 149.2)
XYZxyz(10.9728, 18.3861, 8.9306)
Luminance0.1839 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8747 #872F6F
analogous
#43872F #2F8747 #2F8773
triadic
#2F8747 #472F87 #87472F
tetradic
#2F8747 #2F4387 #872F6F #87732F
square
#2F8747 #2F4387 #872F6F #87732F
split-complementary
#2F8747 #732F87 #872F43
monochromatic
#0F2C17 #1F5A2F #2F8747 #3FB45F #66CA82

Accessibility & contrast

On white

4.49
#2F8747 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#2F8747 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8747
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8747#FFFFFF#000000##000000
##2F87471.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#887C42
Deuteranopia (green-blind)
#7D744B
Tritanopia (blue-blind)
#128478
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2f8747;
/* rgb */ color: rgb(47, 135, 71);
/* oklch */ color: oklch(55.5% 0.128 149.2);
Tailwind
colors: {
  custom: {
    50: '#72ab7b',
    500: '#2f8747',
    950: '#000000',
  },
}
SCSS
$custom: #2f8747;
$custom-light: #72ab7b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8747",
  "rgb": {
    "r": 47,
    "g": 135,
    "b": 71
  },
  "hsl": {
    "h": 136.364,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.55477,
    "c": 0.12835,
    "h": 149.2
  },
  "luminance": 0.18387
}

Semantic roles & 50–950 ramp

primary
#2F8747
secondary
#B1619B
accent
#50B3D8
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #2F8747

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

Preview Lab → · Contrast checker → · Palette generator →

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