#2F7F4E#2F7F4E

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

Color values

HEX#2F7F4E
RGBrgb(47, 127, 78)
HSLhsl(143, 46%, 34%)
HSVhsv(143, 63%, 50%)
CMYKcmyk(63%, 0%, 38.6%, 50.2%)
CIE-LABlab(47.41, -36.20, 19.62)
CIE-LCHlch(47.41, 41.17, 151.54°)
OKLaboklab(53.42% -0.0981 0.0491)
OKLCHoklch(53.42% 0.11 153.4)
XYZxyz(10.1360, 16.3321, 9.8245)
Luminance0.1633 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7F4E #7F2F60
analogous
#387F2F #2F7F4E #2F7F76
triadic
#2F7F4E #4E2F7F #7F4E2F
tetradic
#2F7F4E #2F387F #7F2F60 #7F762F
square
#2F7F4E #2F387F #7F2F60 #7F762F
split-complementary
#2F7F4E #762F7F #7F2F38
monochromatic
#0E2617 #1E5233 #2F7F4E #40AC69 #63C589

Accessibility & contrast

On white

4.92
#2F7F4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#2F7F4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7F4E
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7F4E#FFFFFF#000000##FFFFFF
##2F7F4E1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F754B
Deuteranopia (green-blind)
#746D51
Tritanopia (blue-blind)
#117D73
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2f7f4e;
/* rgb */ color: rgb(47, 127, 78);
/* oklch */ color: oklch(53.4% 0.110 153.4);
Tailwind
colors: {
  custom: {
    50: '#70a580',
    500: '#2f7f4e',
    950: '#000000',
  },
}
SCSS
$custom: #2f7f4e;
$custom-light: #70a580;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7f4e",
  "rgb": {
    "r": 47,
    "g": 127,
    "b": 78
  },
  "hsl": {
    "h": 143.25,
    "s": 45.977,
    "l": 34.118
  },
  "oklch": {
    "l": 0.53416,
    "c": 0.10965,
    "h": 153.4
  },
  "luminance": 0.16333
}

Semantic roles & 50–950 ramp

primary
#2F7F4E
secondary
#AC5E8E
accent
#52A3D6
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #2F7F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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