#2F7D4B#2F7D4B

#2F7D4B is a mid, moderate green. Relative luminance 0.158; OKLCH L 52.8% C 0.110 H 152.4°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#2F7D4B
RGBrgb(47, 125, 75)
HSLhsl(142, 45%, 34%)
HSVhsv(142, 62%, 49%)
CMYKcmyk(62.4%, 0%, 40%, 51%)
CIE-LABlab(46.68, -35.92, 20.36)
CIE-LCHlch(46.68, 41.29, 150.46°)
OKLaboklab(52.8% -0.0972 0.0508)
OKLCHoklch(52.8% 0.11 152.4)
XYZxyz(9.7751, 15.7786, 9.1857)
Luminance0.1578 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7D4B #7D2F61
analogous
#3A7D2F #2F7D4B #2F7D72
triadic
#2F7D4B #4B2F7D #7D4B2F
tetradic
#2F7D4B #2F3A7D #7D2F61 #7D722F
square
#2F7D4B #2F3A7D #7D2F61 #7D722F
split-complementary
#2F7D4B #722F7D #7D2F3A
monochromatic
#0E2416 #1E5130 #2F7D4B #40A966 #62C485

Accessibility & contrast

On white

5.05
#2F7D4B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#2F7D4B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7D4B
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7D4B#FFFFFF#000000##FFFFFF
##2F7D4B1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7348
Deuteranopia (green-blind)
#736C4E
Tritanopia (blue-blind)
#157B70
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2f7d4b;
/* rgb */ color: rgb(47, 125, 75);
/* oklch */ color: oklch(52.8% 0.110 152.4);
Tailwind
colors: {
  custom: {
    50: '#70a37e',
    500: '#2f7d4b',
    950: '#000000',
  },
}
SCSS
$custom: #2f7d4b;
$custom-light: #70a37e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7d4b",
  "rgb": {
    "r": 47,
    "g": 125,
    "b": 75
  },
  "hsl": {
    "h": 141.538,
    "s": 45.349,
    "l": 33.725
  },
  "oklch": {
    "l": 0.52803,
    "c": 0.1097,
    "h": 152.4
  },
  "luminance": 0.1578
}

Semantic roles & 50–950 ramp

primary
#2F7D4B
secondary
#AB5D8F
accent
#53A6D5
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #2F7D4B

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

Preview Lab → · Contrast checker → · Palette generator →

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