#2F7D52#2F7D52

#2F7D52 is a mid, moderate green. Relative luminance 0.159; OKLCH L 53.0% C 0.103 H 156.0°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#2F7D52
RGBrgb(47, 125, 82)
HSLhsl(147, 45%, 34%)
HSVhsv(147, 62%, 49%)
CMYKcmyk(62.4%, 0%, 34.4%, 51%)
CIE-LABlab(46.82, -34.50, 16.54)
CIE-LCHlch(46.82, 38.26, 154.39°)
OKLaboklab(52.96% -0.0938 0.0417)
OKLCHoklch(52.96% 0.103 156)
XYZxyz(10.0280, 15.8798, 10.5176)
Luminance0.1588 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7D52 #7D2F5A
analogous
#337D2F #2F7D52 #2F7D79
triadic
#2F7D52 #522F7D #7D522F
tetradic
#2F7D52 #2F337D #7D2F5A #7D792F
square
#2F7D52 #2F337D #7D2F5A #7D792F
split-complementary
#2F7D52 #792F7D #7D2F33
monochromatic
#0E2418 #1E5135 #2F7D52 #40A96F #62C48E

Accessibility & contrast

On white

5.03
#2F7D52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#2F7D52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7D52
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7D52#FFFFFF#000000##FFFFFF
##2F7D521.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C734F
Deuteranopia (green-blind)
#726C55
Tritanopia (blue-blind)
#0F7C72
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2f7d52;
/* rgb */ color: rgb(47, 125, 82);
/* oklch */ color: oklch(53.0% 0.103 156.0);
Tailwind
colors: {
  custom: {
    50: '#70a383',
    500: '#2f7d52',
    950: '#000000',
  },
}
SCSS
$custom: #2f7d52;
$custom-light: #70a383;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7d52",
  "rgb": {
    "r": 47,
    "g": 125,
    "b": 82
  },
  "hsl": {
    "h": 146.923,
    "s": 45.349,
    "l": 33.725
  },
  "oklch": {
    "l": 0.52956,
    "c": 0.10265,
    "h": 156
  },
  "luminance": 0.15881
}

Semantic roles & 50–950 ramp

primary
#2F7D52
secondary
#AB5D88
accent
#539BD5
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #2F7D52

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

Preview Lab → · Contrast checker → · Palette generator →

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