#2F8845#2F8845

#2F8845 is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.7% C 0.132 H 148.5°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#2F8845
RGBrgb(47, 136, 69)
HSLhsl(135, 49%, 36%)
HSVhsv(135, 65%, 53%)
CMYKcmyk(65.4%, 0%, 49.3%, 46.7%)
CIE-LABlab(50.26, -41.59, 28.29)
CIE-LCHlch(50.26, 50.30, 145.78°)
OKLaboklab(55.72% -0.1123 0.0689)
OKLCHoklch(55.72% 0.132 148.5)
XYZxyz(11.0498, 18.6412, 8.6449)
Luminance0.1864 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8845 #882F72
analogous
#45882F #2F8845 #2F8871
triadic
#2F8845 #452F88 #88452F
tetradic
#2F8845 #2F4588 #882F72 #88712F
square
#2F8845 #2F4588 #882F72 #88712F
split-complementary
#2F8845 #712F88 #882F45
monochromatic
#102D17 #1F5B2E #2F8845 #3FB55C #67CA80

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F8845#FFFFFF#000000##000000
##2F88451.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)
#897C40
Deuteranopia (green-blind)
#7E754A
Tritanopia (blue-blind)
#128578
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2f8845;
/* rgb */ color: rgb(47, 136, 69);
/* oklch */ color: oklch(55.7% 0.132 148.5);
Tailwind
colors: {
  custom: {
    50: '#72ab7a',
    500: '#2f8845',
    950: '#000000',
  },
}
SCSS
$custom: #2f8845;
$custom-light: #72ab7a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8845",
  "rgb": {
    "r": 47,
    "g": 136,
    "b": 69
  },
  "hsl": {
    "h": 134.831,
    "s": 48.634,
    "l": 35.882
  },
  "oklch": {
    "l": 0.55718,
    "c": 0.13174,
    "h": 148.5
  },
  "luminance": 0.18642
}

Semantic roles & 50–950 ramp

primary
#2F8845
secondary
#B1619E
accent
#50B6D8
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #2F8845

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

Preview Lab → · Contrast checker → · Palette generator →

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