#2F7D46#2F7D46

#2F7D46 is a mid, moderate green. Relative luminance 0.157; OKLCH L 52.7% C 0.115 H 150.3°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#2F7D46
RGBrgb(47, 125, 70)
HSLhsl(138, 45%, 34%)
HSVhsv(138, 62%, 49%)
CMYKcmyk(62.4%, 0%, 44%, 51%)
CIE-LABlab(46.60, -36.87, 23.06)
CIE-LCHlch(46.60, 43.48, 147.98°)
OKLaboklab(52.7% -0.0997 0.057)
OKLCHoklch(52.7% 0.115 150.3)
XYZxyz(9.6107, 15.7128, 8.3196)
Luminance0.1571 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7D46 #7D2F66
analogous
#3F7D2F #2F7D46 #2F7D6D
triadic
#2F7D46 #462F7D #7D462F
tetradic
#2F7D46 #2F3F7D #7D2F66 #7D6D2F
square
#2F7D46 #2F3F7D #7D2F66 #7D6D2F
split-complementary
#2F7D46 #6D2F7D #7D2F3F
monochromatic
#0E2414 #1E512D #2F7D46 #40A95F #62C47F

Accessibility & contrast

On white

5.07
#2F7D46 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#2F7D46 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7D46
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7D46#FFFFFF#000000##FFFFFF
##2F7D461.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7342
Deuteranopia (green-blind)
#736C4A
Tritanopia (blue-blind)
#187B70
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2f7d46;
/* rgb */ color: rgb(47, 125, 70);
/* oklch */ color: oklch(52.7% 0.115 150.3);
Tailwind
colors: {
  custom: {
    50: '#70a37a',
    500: '#2f7d46',
    950: '#000000',
  },
}
SCSS
$custom: #2f7d46;
$custom-light: #70a37a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7d46",
  "rgb": {
    "r": 47,
    "g": 125,
    "b": 70
  },
  "hsl": {
    "h": 137.692,
    "s": 45.349,
    "l": 33.725
  },
  "oklch": {
    "l": 0.52703,
    "c": 0.11479,
    "h": 150.3
  },
  "luminance": 0.15714
}

Semantic roles & 50–950 ramp

primary
#2F7D46
secondary
#AB5D94
accent
#53AFD5
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #2F7D46

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

Preview Lab → · Contrast checker → · Palette generator →

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