#2F7E4B#2F7E4B

#2F7E4B is a mid, moderate green. Relative luminance 0.160; OKLCH L 53.1% C 0.111 H 152.2°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#2F7E4B
RGBrgb(47, 126, 75)
HSLhsl(141, 46%, 34%)
HSVhsv(141, 63%, 49%)
CMYKcmyk(62.7%, 0%, 40.5%, 50.6%)
CIE-LABlab(47.02, -36.36, 20.80)
CIE-LCHlch(47.02, 41.89, 150.23°)
OKLaboklab(53.08% -0.0984 0.0518)
OKLCHoklch(53.08% 0.111 152.2)
XYZxyz(9.9024, 16.0331, 9.2281)
Luminance0.1603 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7E4B #7E2F62
analogous
#3B7E2F #2F7E4B #2F7E73
triadic
#2F7E4B #4B2F7E #7E4B2F
tetradic
#2F7E4B #2F3B7E #7E2F62 #7E732F
square
#2F7E4B #2F3B7E #7E2F62 #7E732F
split-complementary
#2F7E4B #732F7E #7E2F3B
monochromatic
#0E2516 #1E5130 #2F7E4B #40AB66 #63C585

Accessibility & contrast

On white

4.99
#2F7E4B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#2F7E4B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7E4B
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7E4B#FFFFFF#000000##FFFFFF
##2F7E4B1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7447
Deuteranopia (green-blind)
#746D4E
Tritanopia (blue-blind)
#147C71
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2f7e4b;
/* rgb */ color: rgb(47, 126, 75);
/* oklch */ color: oklch(53.1% 0.111 152.2);
Tailwind
colors: {
  custom: {
    50: '#70a47e',
    500: '#2f7e4b',
    950: '#000000',
  },
}
SCSS
$custom: #2f7e4b;
$custom-light: #70a47e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7e4b",
  "rgb": {
    "r": 47,
    "g": 126,
    "b": 75
  },
  "hsl": {
    "h": 141.266,
    "s": 45.665,
    "l": 33.922
  },
  "oklch": {
    "l": 0.53078,
    "c": 0.11119,
    "h": 152.2
  },
  "luminance": 0.16034
}

Semantic roles & 50–950 ramp

primary
#2F7E4B
secondary
#AC5D90
accent
#52A7D5
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #2F7E4B

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

Preview Lab → · Contrast checker → · Palette generator →

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