#2F7F41#2F7F41

#2F7F41 is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.2% C 0.123 H 148.1°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#2F7F41
RGBrgb(47, 127, 65)
HSLhsl(134, 46%, 34%)
HSVhsv(134, 63%, 50%)
CMYKcmyk(63%, 0%, 48.8%, 50.2%)
CIE-LABlab(47.19, -38.59, 26.57)
CIE-LCHlch(47.19, 46.85, 145.45°)
OKLaboklab(53.16% -0.1043 0.0648)
OKLCHoklch(53.16% 0.123 148.1)
XYZxyz(9.7151, 16.1638, 7.6079)
Luminance0.1616 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7F41 #7F2F6D
analogous
#457F2F #2F7F41 #2F7F69
triadic
#2F7F41 #412F7F #7F412F
tetradic
#2F7F41 #2F457F #7F2F6D #7F692F
square
#2F7F41 #2F457F #7F2F6D #7F692F
split-complementary
#2F7F41 #692F7F #7F2F45
monochromatic
#0E2613 #1E522A #2F7F41 #40AC58 #63C579

Accessibility & contrast

On white

4.96
#2F7F41 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#2F7F41 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7F41
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7F41#FFFFFF#000000##FFFFFF
##2F7F411.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80743C
Deuteranopia (green-blind)
#766D45
Tritanopia (blue-blind)
#197C70
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2f7f41;
/* rgb */ color: rgb(47, 127, 65);
/* oklch */ color: oklch(53.2% 0.123 148.1);
Tailwind
colors: {
  custom: {
    50: '#71a577',
    500: '#2f7f41',
    950: '#000000',
  },
}
SCSS
$custom: #2f7f41;
$custom-light: #71a577;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7f41",
  "rgb": {
    "r": 47,
    "g": 127,
    "b": 65
  },
  "hsl": {
    "h": 133.5,
    "s": 45.977,
    "l": 34.118
  },
  "oklch": {
    "l": 0.53165,
    "c": 0.12277,
    "h": 148.1
  },
  "luminance": 0.16165
}

Semantic roles & 50–950 ramp

primary
#2F7F41
secondary
#AC5E9B
accent
#52B8D6
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #2F7F41

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

Preview Lab → · Contrast checker → · Palette generator →

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