#2F7F4A#2F7F4A

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

Color values

HEX#2F7F4A
RGBrgb(47, 127, 74)
HSLhsl(140, 46%, 34%)
HSVhsv(140, 63%, 50%)
CMYKcmyk(63%, 0%, 41.7%, 50.2%)
CIE-LABlab(47.34, -36.98, 21.78)
CIE-LCHlch(47.34, 42.92, 149.50°)
OKLaboklab(53.33% -0.1 0.0541)
OKLCHoklch(53.33% 0.114 151.6)
XYZxyz(9.9969, 16.2765, 9.0921)
Luminance0.1628 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7F4A #7F2F64
analogous
#3C7F2F #2F7F4A #2F7F72
triadic
#2F7F4A #4A2F7F #7F4A2F
tetradic
#2F7F4A #2F3C7F #7F2F64 #7F722F
square
#2F7F4A #2F3C7F #7F2F64 #7F722F
split-complementary
#2F7F4A #722F7F #7F2F3C
monochromatic
#0E2616 #1E5230 #2F7F4A #40AC64 #63C584

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F7F4A#FFFFFF#000000##FFFFFF
##2F7F4A1.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)
#7F7546
Deuteranopia (green-blind)
#756D4D
Tritanopia (blue-blind)
#147D72
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2f7f4a;
/* rgb */ color: rgb(47, 127, 74);
/* oklch */ color: oklch(53.3% 0.114 151.6);
Tailwind
colors: {
  custom: {
    50: '#70a57d',
    500: '#2f7f4a',
    950: '#000000',
  },
}
SCSS
$custom: #2f7f4a;
$custom-light: #70a57d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7f4a",
  "rgb": {
    "r": 47,
    "g": 127,
    "b": 74
  },
  "hsl": {
    "h": 140.25,
    "s": 45.977,
    "l": 34.118
  },
  "oklch": {
    "l": 0.53333,
    "c": 0.1137,
    "h": 151.6
  },
  "luminance": 0.16277
}

Semantic roles & 50–950 ramp

primary
#2F7F4A
secondary
#AC5E92
accent
#52A9D6
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #2F7F4A

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

Preview Lab → · Contrast checker → · Palette generator →

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