#2F8859#2F8859

#2F8859 is a mid, moderate green. Relative luminance 0.189; OKLCH L 56.1% C 0.112 H 156.5°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#2F8859
RGBrgb(47, 136, 89)
HSLhsl(148, 49%, 36%)
HSVhsv(148, 65%, 53%)
CMYKcmyk(65.4%, 0%, 34.6%, 46.7%)
CIE-LABlab(50.61, -37.82, 17.68)
CIE-LCHlch(50.61, 41.75, 154.94°)
OKLaboklab(56.11% -0.1027 0.0446)
OKLCHoklch(56.11% 0.112 156.5)
XYZxyz(11.7786, 18.9327, 12.4829)
Luminance0.1893 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8859 #882F5E
analogous
#31882F #2F8859 #2F8885
triadic
#2F8859 #592F88 #88592F
tetradic
#2F8859 #2F3188 #882F5E #88852F
square
#2F8859 #2F3188 #882F5E #88852F
split-complementary
#2F8859 #852F88 #882F31
monochromatic
#102D1D #1F5B3B #2F8859 #3FB577 #67CA96

Accessibility & contrast

On white

4.39
#2F8859 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#2F8859 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8859
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8859#FFFFFF#000000##000000
##2F88591.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#877D56
Deuteranopia (green-blind)
#7B755C
Tritanopia (blue-blind)
#00877C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2f8859;
/* rgb */ color: rgb(47, 136, 89);
/* oklch */ color: oklch(56.1% 0.112 156.5);
Tailwind
colors: {
  custom: {
    50: '#72ab88',
    500: '#2f8859',
    950: '#000000',
  },
}
SCSS
$custom: #2f8859;
$custom-light: #72ab88;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8859",
  "rgb": {
    "r": 47,
    "g": 136,
    "b": 89
  },
  "hsl": {
    "h": 148.315,
    "s": 48.634,
    "l": 35.882
  },
  "oklch": {
    "l": 0.56113,
    "c": 0.11199,
    "h": 156.5
  },
  "luminance": 0.18934
}

Semantic roles & 50–950 ramp

primary
#2F8859
secondary
#B1618C
accent
#5098D8
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#09100B
muted
#7B7F7C

Preview Lab

Preview with #2F8859

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

Preview Lab → · Contrast checker → · Palette generator →

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