#2F7E4D#2F7E4D

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

Color values

HEX#2F7E4D
RGBrgb(47, 126, 77)
HSLhsl(143, 46%, 34%)
HSVhsv(143, 63%, 49%)
CMYKcmyk(62.7%, 0%, 38.9%, 50.6%)
CIE-LABlab(47.05, -35.96, 19.72)
CIE-LCHlch(47.05, 41.01, 151.27°)
OKLaboklab(53.12% -0.0974 0.0493)
OKLCHoklch(53.12% 0.109 153.2)
XYZxyz(9.9719, 16.0609, 9.5943)
Luminance0.1606 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7E4D #7E2F60
analogous
#397E2F #2F7E4D #2F7E75
triadic
#2F7E4D #4D2F7E #7E4D2F
tetradic
#2F7E4D #2F397E #7E2F60 #7E752F
square
#2F7E4D #2F397E #7E2F60 #7E752F
split-complementary
#2F7E4D #752F7E #7E2F39
monochromatic
#0E2517 #1E5132 #2F7E4D #40AB68 #63C588

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F7E4D#FFFFFF#000000##FFFFFF
##2F7E4D1.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)
#7E744A
Deuteranopia (green-blind)
#746D50
Tritanopia (blue-blind)
#137C72
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2f7e4d;
/* rgb */ color: rgb(47, 126, 77);
/* oklch */ color: oklch(53.1% 0.109 153.2);
Tailwind
colors: {
  custom: {
    50: '#70a47f',
    500: '#2f7e4d',
    950: '#000000',
  },
}
SCSS
$custom: #2f7e4d;
$custom-light: #70a47f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7e4d",
  "rgb": {
    "r": 47,
    "g": 126,
    "b": 77
  },
  "hsl": {
    "h": 142.785,
    "s": 45.665,
    "l": 33.922
  },
  "oklch": {
    "l": 0.5312,
    "c": 0.10916,
    "h": 153.2
  },
  "luminance": 0.16062
}

Semantic roles & 50–950 ramp

primary
#2F7E4D
secondary
#AC5D8E
accent
#52A4D5
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #2F7E4D

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

Preview Lab → · Contrast checker → · Palette generator →

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