#2F874A#2F874A

#2F874A is a mid, vivid green. Relative luminance 0.184; OKLCH L 55.5% C 0.125 H 150.3°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#2F874A
RGBrgb(47, 135, 74)
HSLhsl(138, 48%, 36%)
HSVhsv(138, 65%, 53%)
CMYKcmyk(65.2%, 0%, 45.2%, 47.1%)
CIE-LABlab(50.01, -40.33, 25.26)
CIE-LCHlch(50.01, 47.59, 147.94°)
OKLaboklab(55.53% -0.1089 0.0622)
OKLCHoklch(55.53% 0.125 150.3)
XYZxyz(11.0714, 18.4256, 9.4503)
Luminance0.1843 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F874A #872F6C
analogous
#40872F #2F874A #2F8776
triadic
#2F874A #4A2F87 #874A2F
tetradic
#2F874A #2F4087 #872F6C #87762F
square
#2F874A #2F4087 #872F6C #87762F
split-complementary
#2F874A #762F87 #872F40
monochromatic
#0F2C18 #1F5A31 #2F874A #3FB463 #66CA85

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F874A#FFFFFF#000000##000000
##2F874A1.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)
#887C45
Deuteranopia (green-blind)
#7D744E
Tritanopia (blue-blind)
#0F8578
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2f874a;
/* rgb */ color: rgb(47, 135, 74);
/* oklch */ color: oklch(55.5% 0.125 150.3);
Tailwind
colors: {
  custom: {
    50: '#72ab7d',
    500: '#2f874a',
    950: '#000000',
  },
}
SCSS
$custom: #2f874a;
$custom-light: #72ab7d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f874a",
  "rgb": {
    "r": 47,
    "g": 135,
    "b": 74
  },
  "hsl": {
    "h": 138.409,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.55531,
    "c": 0.12539,
    "h": 150.3
  },
  "luminance": 0.18427
}

Semantic roles & 50–950 ramp

primary
#2F874A
secondary
#B16198
accent
#50AED8
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #2F874A

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

Preview Lab → · Contrast checker → · Palette generator →

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