#2F8856#2F8856

#2F8856 is a mid, moderate green. Relative luminance 0.189; OKLCH L 56.0% C 0.115 H 155.1°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#2F8856
RGBrgb(47, 136, 86)
HSLhsl(146, 49%, 36%)
HSVhsv(146, 65%, 53%)
CMYKcmyk(65.4%, 0%, 36.8%, 46.7%)
CIE-LABlab(50.55, -38.45, 19.30)
CIE-LCHlch(50.55, 43.02, 153.34°)
OKLaboklab(56.05% -0.1042 0.0484)
OKLCHoklch(56.05% 0.115 155.1)
XYZxyz(11.6552, 18.8833, 11.8329)
Luminance0.1888 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8856 #882F61
analogous
#34882F #2F8856 #2F8882
triadic
#2F8856 #562F88 #88562F
tetradic
#2F8856 #2F3488 #882F61 #88822F
square
#2F8856 #2F3488 #882F61 #88822F
split-complementary
#2F8856 #822F88 #882F34
monochromatic
#102D1C #1F5B39 #2F8856 #3FB573 #67CA93

Accessibility & contrast

On white

4.40
#2F8856 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#2F8856 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8856
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8856#FFFFFF#000000##000000
##2F88561.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#887D53
Deuteranopia (green-blind)
#7C7559
Tritanopia (blue-blind)
#01877B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2f8856;
/* rgb */ color: rgb(47, 136, 86);
/* oklch */ color: oklch(56.0% 0.115 155.1);
Tailwind
colors: {
  custom: {
    50: '#72ab86',
    500: '#2f8856',
    950: '#000000',
  },
}
SCSS
$custom: #2f8856;
$custom-light: #72ab86;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8856",
  "rgb": {
    "r": 47,
    "g": 136,
    "b": 86
  },
  "hsl": {
    "h": 146.292,
    "s": 48.634,
    "l": 35.882
  },
  "oklch": {
    "l": 0.56046,
    "c": 0.11492,
    "h": 155.1
  },
  "luminance": 0.18885
}

Semantic roles & 50–950 ramp

primary
#2F8856
secondary
#B1618E
accent
#509CD8
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#09100B
muted
#7B7F7C

Preview Lab

Preview with #2F8856

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

Preview Lab → · Contrast checker → · Palette generator →

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