#2F7C4E#2F7C4E

#2F7C4E is a mid, moderate green. Relative luminance 0.156; OKLCH L 52.6% C 0.105 H 154.1°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#2F7C4E
RGBrgb(47, 124, 78)
HSLhsl(144, 45%, 34%)
HSVhsv(144, 62%, 49%)
CMYKcmyk(62.1%, 0%, 37.1%, 51.4%)
CIE-LABlab(46.40, -34.89, 18.28)
CIE-LCHlch(46.40, 39.39, 152.35°)
OKLaboklab(52.59% -0.0946 0.0459)
OKLCHoklch(52.59% 0.105 154.1)
XYZxyz(9.7543, 15.5688, 9.6973)
Luminance0.1557 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7C4E #7C2F5D
analogous
#367C2F #2F7C4E #2F7C74
triadic
#2F7C4E #4E2F7C #7C4E2F
tetradic
#2F7C4E #2F367C #7C2F5D #7C742F
square
#2F7C4E #2F367C #7C2F5D #7C742F
split-complementary
#2F7C4E #742F7C #7C2F36
monochromatic
#0D2316 #1E5032 #2F7C4E #40A86A #62C389

Accessibility & contrast

On white

5.10
#2F7C4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#2F7C4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7C4E
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7C4E#FFFFFF#000000##FFFFFF
##2F7C4E1.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C724B
Deuteranopia (green-blind)
#716B51
Tritanopia (blue-blind)
#137B70
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2f7c4e;
/* rgb */ color: rgb(47, 124, 78);
/* oklch */ color: oklch(52.6% 0.105 154.1);
Tailwind
colors: {
  custom: {
    50: '#70a280',
    500: '#2f7c4e',
    950: '#000000',
  },
}
SCSS
$custom: #2f7c4e;
$custom-light: #70a280;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7c4e",
  "rgb": {
    "r": 47,
    "g": 124,
    "b": 78
  },
  "hsl": {
    "h": 144.156,
    "s": 45.029,
    "l": 33.529
  },
  "oklch": {
    "l": 0.52592,
    "c": 0.10515,
    "h": 154.1
  },
  "luminance": 0.1557
}

Semantic roles & 50–950 ramp

primary
#2F7C4E
secondary
#AA5C8B
accent
#53A1D5
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #2F7C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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