#2F8A50#2F8A50

#2F8A50 is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.5% C 0.124 H 152.0°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#2F8A50
RGBrgb(47, 138, 80)
HSLhsl(142, 49%, 36%)
HSVhsv(142, 66%, 54%)
CMYKcmyk(65.9%, 0%, 42%, 45.9%)
CIE-LABlab(51.10, -40.47, 23.38)
CIE-LCHlch(51.10, 46.74, 149.98°)
OKLaboklab(56.47% -0.1093 0.058)
OKLCHoklch(56.47% 0.124 152)
XYZxyz(11.7078, 19.3593, 10.7076)
Luminance0.1936 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8A50 #8A2F69
analogous
#3C8A2F #2F8A50 #2F8A7E
triadic
#2F8A50 #502F8A #8A502F
tetradic
#2F8A50 #2F3C8A #8A2F69 #8A7E2F
square
#2F8A50 #2F3C8A #8A2F69 #8A7E2F
split-complementary
#2F8A50 #7E2F8A #8A2F3C
monochromatic
#102F1B #1F5C36 #2F8A50 #3FB86A #68CC8C

Accessibility & contrast

On white

4.31
#2F8A50 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#2F8A50 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8A50
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8A50#FFFFFF#000000##000000
##2F8A501.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7F4C
Deuteranopia (green-blind)
#7F7654
Tritanopia (blue-blind)
#06887C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2f8a50;
/* rgb */ color: rgb(47, 138, 80);
/* oklch */ color: oklch(56.5% 0.124 152.0);
Tailwind
colors: {
  custom: {
    50: '#72ad82',
    500: '#2f8a50',
    950: '#000000',
  },
}
SCSS
$custom: #2f8a50;
$custom-light: #72ad82;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8a50",
  "rgb": {
    "r": 47,
    "g": 138,
    "b": 80
  },
  "hsl": {
    "h": 141.758,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.56467,
    "c": 0.12375,
    "h": 152
  },
  "luminance": 0.1936
}

Semantic roles & 50–950 ramp

primary
#2F8A50
secondary
#B36295
accent
#4FA7D9
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #2F8A50

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

Preview Lab → · Contrast checker → · Palette generator →

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