#2F7C46#2F7C46

#2F7C46 is a mid, moderate green. Relative luminance 0.155; OKLCH L 52.4% C 0.113 H 150.4°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#2F7C46
RGBrgb(47, 124, 70)
HSLhsl(138, 45%, 34%)
HSVhsv(138, 62%, 49%)
CMYKcmyk(62.1%, 0%, 43.5%, 51.4%)
CIE-LABlab(46.26, -36.44, 22.62)
CIE-LCHlch(46.26, 42.89, 148.17°)
OKLaboklab(52.43% -0.0985 0.0559)
OKLCHoklch(52.43% 0.113 150.4)
XYZxyz(9.4847, 15.4609, 8.2776)
Luminance0.1546 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7C46 #7C2F65
analogous
#3E7C2F #2F7C46 #2F7C6C
triadic
#2F7C46 #462F7C #7C462F
tetradic
#2F7C46 #2F3E7C #7C2F65 #7C6C2F
square
#2F7C46 #2F3E7C #7C2F65 #7C6C2F
split-complementary
#2F7C46 #6C2F7C #7C2F3E
monochromatic
#0D2314 #1E502D #2F7C46 #40A85F #62C37F

Accessibility & contrast

On white

5.13
#2F7C46 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#2F7C46 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7C46
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7C46#FFFFFF#000000##FFFFFF
##2F7C461.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7242
Deuteranopia (green-blind)
#736B4A
Tritanopia (blue-blind)
#187A6F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2f7c46;
/* rgb */ color: rgb(47, 124, 70);
/* oklch */ color: oklch(52.4% 0.113 150.4);
Tailwind
colors: {
  custom: {
    50: '#70a37a',
    500: '#2f7c46',
    950: '#000000',
  },
}
SCSS
$custom: #2f7c46;
$custom-light: #70a37a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7c46",
  "rgb": {
    "r": 47,
    "g": 124,
    "b": 70
  },
  "hsl": {
    "h": 137.922,
    "s": 45.029,
    "l": 33.529
  },
  "oklch": {
    "l": 0.52426,
    "c": 0.11331,
    "h": 150.4
  },
  "luminance": 0.15462
}

Semantic roles & 50–950 ramp

primary
#2F7C46
secondary
#AA5C93
accent
#53AED5
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #2F7C46

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

Preview Lab → · Contrast checker → · Palette generator →

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