#2F874B#2F874B

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

Color values

HEX#2F874B
RGBrgb(47, 135, 75)
HSLhsl(139, 48%, 36%)
HSVhsv(139, 65%, 53%)
CMYKcmyk(65.2%, 0%, 44.4%, 47.1%)
CIE-LABlab(50.02, -40.15, 24.73)
CIE-LCHlch(50.02, 47.16, 148.37°)
OKLaboklab(55.55% -0.1084 0.061)
OKLCHoklch(55.55% 0.124 150.6)
XYZxyz(11.1054, 18.4392, 9.6291)
Luminance0.1844 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F874B #872F6B
analogous
#3F872F #2F874B #2F8777
triadic
#2F874B #4B2F87 #874B2F
tetradic
#2F874B #2F3F87 #872F6B #87772F
square
#2F874B #2F3F87 #872F6B #87772F
split-complementary
#2F874B #772F87 #872F3F
monochromatic
#0F2C19 #1F5A32 #2F874B #3FB464 #66CA86

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F874B#FFFFFF#000000##000000
##2F874B1.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)
#887C47
Deuteranopia (green-blind)
#7C744F
Tritanopia (blue-blind)
#0E8578
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2f874b;
/* rgb */ color: rgb(47, 135, 75);
/* oklch */ color: oklch(55.5% 0.124 150.6);
Tailwind
colors: {
  custom: {
    50: '#72ab7e',
    500: '#2f874b',
    950: '#000000',
  },
}
SCSS
$custom: #2f874b;
$custom-light: #72ab7e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f874b",
  "rgb": {
    "r": 47,
    "g": 135,
    "b": 75
  },
  "hsl": {
    "h": 139.091,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.5555,
    "c": 0.12439,
    "h": 150.6
  },
  "luminance": 0.1844
}

Semantic roles & 50–950 ramp

primary
#2F874B
secondary
#B16197
accent
#50ADD8
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #2F874B

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

Preview Lab → · Contrast checker → · Palette generator →

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