#2F8754#2F8754

#2F8754 is a mid, moderate green. Relative luminance 0.186; OKLCH L 55.7% C 0.115 H 154.4°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#2F8754
RGBrgb(47, 135, 84)
HSLhsl(145, 48%, 36%)
HSVhsv(145, 65%, 53%)
CMYKcmyk(65.2%, 0%, 37.8%, 47.1%)
CIE-LABlab(50.18, -38.43, 19.93)
CIE-LCHlch(50.18, 43.29, 152.59°)
OKLaboklab(55.73% -0.1041 0.0499)
OKLCHoklch(55.73% 0.115 154.4)
XYZxyz(11.4355, 18.5712, 11.3677)
Luminance0.1857 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8754 #872F62
analogous
#36872F #2F8754 #2F8780
triadic
#2F8754 #542F87 #87542F
tetradic
#2F8754 #2F3687 #872F62 #87802F
square
#2F8754 #2F3687 #872F62 #87802F
split-complementary
#2F8754 #802F87 #872F36
monochromatic
#0F2C1C #1F5A38 #2F8754 #3FB470 #66CA90

Accessibility & contrast

On white

4.45
#2F8754 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#2F8754 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8754
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8754#FFFFFF#000000##000000
##2F87541.004.454.714.71
#FFFFFF4.451.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#877C51
Deuteranopia (green-blind)
#7B7457
Tritanopia (blue-blind)
#04857A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2f8754;
/* rgb */ color: rgb(47, 135, 84);
/* oklch */ color: oklch(55.7% 0.115 154.4);
Tailwind
colors: {
  custom: {
    50: '#72ab84',
    500: '#2f8754',
    950: '#000000',
  },
}
SCSS
$custom: #2f8754;
$custom-light: #72ab84;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8754",
  "rgb": {
    "r": 47,
    "g": 135,
    "b": 84
  },
  "hsl": {
    "h": 145.227,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.55731,
    "c": 0.11543,
    "h": 154.4
  },
  "luminance": 0.18572
}

Semantic roles & 50–950 ramp

primary
#2F8754
secondary
#B1618F
accent
#509FD8
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100B
muted
#7B7F7C

Preview Lab

Preview with #2F8754

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

Preview Lab → · Contrast checker → · Palette generator →

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