#2F7E50#2F7E50

#2F7E50 is a mid, moderate green. Relative luminance 0.161; OKLCH L 53.2% C 0.106 H 154.7°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#2F7E50
RGBrgb(47, 126, 80)
HSLhsl(145, 46%, 34%)
HSVhsv(145, 63%, 49%)
CMYKcmyk(62.7%, 0%, 36.5%, 50.6%)
CIE-LABlab(47.11, -35.36, 18.08)
CIE-LCHlch(47.11, 39.71, 152.91°)
OKLaboklab(53.19% -0.0959 0.0454)
OKLCHoklch(53.19% 0.106 154.7)
XYZxyz(10.0803, 16.1042, 10.1651)
Luminance0.1610 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7E50 #7E2F5D
analogous
#367E2F #2F7E50 #2F7E78
triadic
#2F7E50 #502F7E #7E502F
tetradic
#2F7E50 #2F367E #7E2F5D #7E782F
square
#2F7E50 #2F367E #7E2F5D #7E782F
split-complementary
#2F7E50 #782F7E #7E2F36
monochromatic
#0E2517 #1E5134 #2F7E50 #40AB6C #63C58C

Accessibility & contrast

On white

4.98
#2F7E50 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#2F7E50 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7E50
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7E50#FFFFFF#000000##FFFFFF
##2F7E501.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E744D
Deuteranopia (green-blind)
#736D53
Tritanopia (blue-blind)
#107D72
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2f7e50;
/* rgb */ color: rgb(47, 126, 80);
/* oklch */ color: oklch(53.2% 0.106 154.7);
Tailwind
colors: {
  custom: {
    50: '#70a481',
    500: '#2f7e50',
    950: '#000000',
  },
}
SCSS
$custom: #2f7e50;
$custom-light: #70a481;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7e50",
  "rgb": {
    "r": 47,
    "g": 126,
    "b": 80
  },
  "hsl": {
    "h": 145.063,
    "s": 45.665,
    "l": 33.922
  },
  "oklch": {
    "l": 0.53185,
    "c": 0.10614,
    "h": 154.7
  },
  "luminance": 0.16105
}

Semantic roles & 50–950 ramp

primary
#2F7E50
secondary
#AC5D8B
accent
#529FD5
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #2F7E50

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

Preview Lab → · Contrast checker → · Palette generator →

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