#2F7E52#2F7E52

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

Color values

HEX#2F7E52
RGBrgb(47, 126, 82)
HSLhsl(147, 46%, 34%)
HSVhsv(147, 63%, 49%)
CMYKcmyk(62.7%, 0%, 34.9%, 50.6%)
CIE-LABlab(47.15, -34.94, 16.99)
CIE-LCHlch(47.15, 38.85, 154.07°)
OKLaboklab(53.23% -0.0949 0.0428)
OKLCHoklch(53.23% 0.104 155.7)
XYZxyz(10.1553, 16.1342, 10.5600)
Luminance0.1613 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7E52 #7E2F5B
analogous
#347E2F #2F7E52 #2F7E7A
triadic
#2F7E52 #522F7E #7E522F
tetradic
#2F7E52 #2F347E #7E2F5B #7E7A2F
square
#2F7E52 #2F347E #7E2F5B #7E7A2F
split-complementary
#2F7E52 #7A2F7E #7E2F34
monochromatic
#0E2518 #1E5135 #2F7E52 #40AB6F #63C58E

Accessibility & contrast

On white

4.97
#2F7E52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#2F7E52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7E52
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7E52#FFFFFF#000000##FFFFFF
##2F7E521.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D744F
Deuteranopia (green-blind)
#736D55
Tritanopia (blue-blind)
#0F7D73
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2f7e52;
/* rgb */ color: rgb(47, 126, 82);
/* oklch */ color: oklch(53.2% 0.104 155.7);
Tailwind
colors: {
  custom: {
    50: '#70a483',
    500: '#2f7e52',
    950: '#000000',
  },
}
SCSS
$custom: #2f7e52;
$custom-light: #70a483;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7e52",
  "rgb": {
    "r": 47,
    "g": 126,
    "b": 82
  },
  "hsl": {
    "h": 146.582,
    "s": 45.665,
    "l": 33.922
  },
  "oklch": {
    "l": 0.5323,
    "c": 0.10415,
    "h": 155.7
  },
  "luminance": 0.16135
}

Semantic roles & 50–950 ramp

primary
#2F7E52
secondary
#AC5D89
accent
#529BD5
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #2F7E52

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

Preview Lab → · Contrast checker → · Palette generator →

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