#2F7F4C#2F7F4C

#2F7F4C is a mid, moderate green. Relative luminance 0.163; OKLCH L 53.4% C 0.112 H 152.5°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#2F7F4C
RGBrgb(47, 127, 76)
HSLhsl(142, 46%, 34%)
HSVhsv(142, 63%, 50%)
CMYKcmyk(63%, 0%, 40.2%, 50.2%)
CIE-LABlab(47.37, -36.59, 20.70)
CIE-LCHlch(47.37, 42.04, 150.50°)
OKLaboklab(53.37% -0.099 0.0516)
OKLCHoklch(53.37% 0.112 152.5)
XYZxyz(10.0654, 16.3039, 9.4526)
Luminance0.1631 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7F4C #7F2F62
analogous
#3A7F2F #2F7F4C #2F7F74
triadic
#2F7F4C #4C2F7F #7F4C2F
tetradic
#2F7F4C #2F3A7F #7F2F62 #7F742F
square
#2F7F4C #2F3A7F #7F2F62 #7F742F
split-complementary
#2F7F4C #742F7F #7F2F3A
monochromatic
#0E2617 #1E5231 #2F7F4C #40AC67 #63C587

Accessibility & contrast

On white

4.93
#2F7F4C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#2F7F4C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7F4C
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7F4C#FFFFFF#000000##FFFFFF
##2F7F4C1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7548
Deuteranopia (green-blind)
#756D4F
Tritanopia (blue-blind)
#137D72
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2f7f4c;
/* rgb */ color: rgb(47, 127, 76);
/* oklch */ color: oklch(53.4% 0.112 152.5);
Tailwind
colors: {
  custom: {
    50: '#70a57e',
    500: '#2f7f4c',
    950: '#000000',
  },
}
SCSS
$custom: #2f7f4c;
$custom-light: #70a57e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7f4c",
  "rgb": {
    "r": 47,
    "g": 127,
    "b": 76
  },
  "hsl": {
    "h": 141.75,
    "s": 45.977,
    "l": 34.118
  },
  "oklch": {
    "l": 0.53374,
    "c": 0.11167,
    "h": 152.5
  },
  "luminance": 0.16305
}

Semantic roles & 50–950 ramp

primary
#2F7F4C
secondary
#AC5E90
accent
#52A6D6
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #2F7F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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