#2F7D50#2F7D50

#2F7D50 is a mid, moderate green. Relative luminance 0.159; OKLCH L 52.9% C 0.105 H 154.9°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#2F7D50
RGBrgb(47, 125, 80)
HSLhsl(145, 45%, 34%)
HSVhsv(145, 62%, 49%)
CMYKcmyk(62.4%, 0%, 36%, 51%)
CIE-LABlab(46.78, -34.92, 17.63)
CIE-LCHlch(46.78, 39.12, 153.21°)
OKLaboklab(52.91% -0.0948 0.0443)
OKLCHoklch(52.91% 0.105 154.9)
XYZxyz(9.9530, 15.8498, 10.1227)
Luminance0.1585 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7D50 #7D2F5C
analogous
#357D2F #2F7D50 #2F7D77
triadic
#2F7D50 #502F7D #7D502F
tetradic
#2F7D50 #2F357D #7D2F5C #7D772F
square
#2F7D50 #2F357D #7D2F5C #7D772F
split-complementary
#2F7D50 #772F7D #7D2F35
monochromatic
#0E2417 #1E5134 #2F7D50 #40A96C #62C48C

Accessibility & contrast

On white

5.04
#2F7D50 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#2F7D50 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7D50
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7D50#FFFFFF#000000##FFFFFF
##2F7D501.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D734D
Deuteranopia (green-blind)
#726C53
Tritanopia (blue-blind)
#117C71
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2f7d50;
/* rgb */ color: rgb(47, 125, 80);
/* oklch */ color: oklch(52.9% 0.105 154.9);
Tailwind
colors: {
  custom: {
    50: '#70a381',
    500: '#2f7d50',
    950: '#000000',
  },
}
SCSS
$custom: #2f7d50;
$custom-light: #70a381;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7d50",
  "rgb": {
    "r": 47,
    "g": 125,
    "b": 80
  },
  "hsl": {
    "h": 145.385,
    "s": 45.349,
    "l": 33.725
  },
  "oklch": {
    "l": 0.52911,
    "c": 0.10464,
    "h": 154.9
  },
  "luminance": 0.15851
}

Semantic roles & 50–950 ramp

primary
#2F7D50
secondary
#AB5D8A
accent
#539ED5
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #2F7D50

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

Preview Lab → · Contrast checker → · Palette generator →

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