#2F7E46#2F7E46

#2F7E46 is a mid, moderate green. Relative luminance 0.160; OKLCH L 53.0% C 0.116 H 150.1°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#2F7E46
RGBrgb(47, 126, 70)
HSLhsl(137, 46%, 34%)
HSVhsv(137, 63%, 49%)
CMYKcmyk(62.7%, 0%, 44.4%, 50.6%)
CIE-LABlab(46.93, -37.29, 23.49)
CIE-LCHlch(46.93, 44.08, 147.79°)
OKLaboklab(52.98% -0.1008 0.058)
OKLCHoklch(52.98% 0.116 150.1)
XYZxyz(9.7379, 15.9673, 8.3620)
Luminance0.1597 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7E46 #7E2F67
analogous
#407E2F #2F7E46 #2F7E6E
triadic
#2F7E46 #462F7E #7E462F
tetradic
#2F7E46 #2F407E #7E2F67 #7E6E2F
square
#2F7E46 #2F407E #7E2F67 #7E6E2F
split-complementary
#2F7E46 #6E2F7E #7E2F40
monochromatic
#0E2514 #1E512D #2F7E46 #40AB5F #63C57F

Accessibility & contrast

On white

5.01
#2F7E46 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#2F7E46 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7E46
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7E46#FFFFFF#000000##FFFFFF
##2F7E461.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7442
Deuteranopia (green-blind)
#746C4A
Tritanopia (blue-blind)
#177C70
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2f7e46;
/* rgb */ color: rgb(47, 126, 70);
/* oklch */ color: oklch(53.0% 0.116 150.1);
Tailwind
colors: {
  custom: {
    50: '#70a47a',
    500: '#2f7e46',
    950: '#000000',
  },
}
SCSS
$custom: #2f7e46;
$custom-light: #70a47a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7e46",
  "rgb": {
    "r": 47,
    "g": 126,
    "b": 70
  },
  "hsl": {
    "h": 137.468,
    "s": 45.665,
    "l": 33.922
  },
  "oklch": {
    "l": 0.52979,
    "c": 0.11628,
    "h": 150.1
  },
  "luminance": 0.15968
}

Semantic roles & 50–950 ramp

primary
#2F7E46
secondary
#AC5D95
accent
#52AFD5
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #2F7E46

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

Preview Lab → · Contrast checker → · Palette generator →

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