#2F8847#2F8847

#2F8847 is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.8% C 0.130 H 149.1°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#2F8847
RGBrgb(47, 136, 71)
HSLhsl(136, 49%, 36%)
HSVhsv(136, 65%, 53%)
CMYKcmyk(65.4%, 0%, 47.8%, 46.7%)
CIE-LABlab(50.29, -41.26, 27.25)
CIE-LCHlch(50.29, 49.45, 146.55°)
OKLaboklab(55.75% -0.1114 0.0667)
OKLCHoklch(55.75% 0.13 149.1)
XYZxyz(11.1130, 18.6665, 8.9773)
Luminance0.1867 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8847 #882F70
analogous
#43882F #2F8847 #2F8873
triadic
#2F8847 #472F88 #88472F
tetradic
#2F8847 #2F4388 #882F70 #88732F
square
#2F8847 #2F4388 #882F70 #88732F
split-complementary
#2F8847 #732F88 #882F43
monochromatic
#102D18 #1F5B2F #2F8847 #3FB55F #67CA82

Accessibility & contrast

On white

4.44
#2F8847 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#2F8847 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8847
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8847#FFFFFF#000000##000000
##2F88471.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#897C42
Deuteranopia (green-blind)
#7E754B
Tritanopia (blue-blind)
#118578
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2f8847;
/* rgb */ color: rgb(47, 136, 71);
/* oklch */ color: oklch(55.8% 0.130 149.1);
Tailwind
colors: {
  custom: {
    50: '#72ab7b',
    500: '#2f8847',
    950: '#000000',
  },
}
SCSS
$custom: #2f8847;
$custom-light: #72ab7b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8847",
  "rgb": {
    "r": 47,
    "g": 136,
    "b": 71
  },
  "hsl": {
    "h": 136.18,
    "s": 48.634,
    "l": 35.882
  },
  "oklch": {
    "l": 0.55752,
    "c": 0.12978,
    "h": 149.1
  },
  "luminance": 0.18668
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F8847

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

Preview Lab → · Contrast checker → · Palette generator →

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