#2F874C#2F874C

#2F874C is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.6% C 0.123 H 151.0°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#2F874C
RGBrgb(47, 135, 76)
HSLhsl(140, 48%, 36%)
HSVhsv(140, 65%, 53%)
CMYKcmyk(65.2%, 0%, 43.7%, 47.1%)
CIE-LABlab(50.04, -39.97, 24.20)
CIE-LCHlch(50.04, 46.72, 148.80°)
OKLaboklab(55.57% -0.1079 0.0598)
OKLCHoklch(55.57% 0.123 151)
XYZxyz(11.1399, 18.4530, 9.8108)
Luminance0.1845 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F874C #872F6A
analogous
#3E872F #2F874C #2F8778
triadic
#2F874C #4C2F87 #874C2F
tetradic
#2F874C #2F3E87 #872F6A #87782F
square
#2F874C #2F3E87 #872F6A #87782F
split-complementary
#2F874C #782F87 #872F3E
monochromatic
#0F2C19 #1F5A32 #2F874C #3FB466 #66CA87

Accessibility & contrast

On white

4.48
#2F874C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#2F874C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F874C
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F874C#FFFFFF#000000##000000
##2F874C1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#887C48
Deuteranopia (green-blind)
#7C7450
Tritanopia (blue-blind)
#0D8579
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2f874c;
/* rgb */ color: rgb(47, 135, 76);
/* oklch */ color: oklch(55.6% 0.123 151.0);
Tailwind
colors: {
  custom: {
    50: '#72ab7f',
    500: '#2f874c',
    950: '#000000',
  },
}
SCSS
$custom: #2f874c;
$custom-light: #72ab7f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f874c",
  "rgb": {
    "r": 47,
    "g": 135,
    "b": 76
  },
  "hsl": {
    "h": 139.773,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.55569,
    "c": 0.1234,
    "h": 151
  },
  "luminance": 0.18454
}

Semantic roles & 50–950 ramp

primary
#2F874C
secondary
#B16197
accent
#50ABD8
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #2F874C

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

Preview Lab → · Contrast checker → · Palette generator →

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