#2F7F4B#2F7F4B

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

Color values

HEX#2F7F4B
RGBrgb(47, 127, 75)
HSLhsl(141, 46%, 34%)
HSVhsv(141, 63%, 50%)
CMYKcmyk(63%, 0%, 40.9%, 50.2%)
CIE-LABlab(47.35, -36.79, 21.24)
CIE-LCHlch(47.35, 42.48, 150.00°)
OKLaboklab(53.35% -0.0995 0.0528)
OKLCHoklch(53.35% 0.113 152)
XYZxyz(10.0309, 16.2901, 9.2709)
Luminance0.1629 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7F4B #7F2F63
analogous
#3B7F2F #2F7F4B #2F7F73
triadic
#2F7F4B #4B2F7F #7F4B2F
tetradic
#2F7F4B #2F3B7F #7F2F63 #7F732F
square
#2F7F4B #2F3B7F #7F2F63 #7F732F
split-complementary
#2F7F4B #732F7F #7F2F3B
monochromatic
#0E2616 #1E5231 #2F7F4B #40AC65 #63C585

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F7F4B#FFFFFF#000000##FFFFFF
##2F7F4B1.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)
#7F7547
Deuteranopia (green-blind)
#756D4E
Tritanopia (blue-blind)
#147D72
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2f7f4b;
/* rgb */ color: rgb(47, 127, 75);
/* oklch */ color: oklch(53.4% 0.113 152.0);
Tailwind
colors: {
  custom: {
    50: '#70a57e',
    500: '#2f7f4b',
    950: '#000000',
  },
}
SCSS
$custom: #2f7f4b;
$custom-light: #70a57e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7f4b",
  "rgb": {
    "r": 47,
    "g": 127,
    "b": 75
  },
  "hsl": {
    "h": 141,
    "s": 45.977,
    "l": 34.118
  },
  "oklch": {
    "l": 0.53353,
    "c": 0.11268,
    "h": 152
  },
  "luminance": 0.16291
}

Semantic roles & 50–950 ramp

primary
#2F7F4B
secondary
#AC5E91
accent
#52A8D6
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #2F7F4B

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

Preview Lab → · Contrast checker → · Palette generator →

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