#2F8A4D#2F8A4D

#2F8A4D is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.4% C 0.127 H 150.9°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#2F8A4D
RGBrgb(47, 138, 77)
HSLhsl(140, 49%, 36%)
HSVhsv(140, 66%, 54%)
CMYKcmyk(65.9%, 0%, 44.2%, 45.9%)
CIE-LABlab(51.05, -41.02, 24.97)
CIE-LCHlch(51.05, 48.02, 148.67°)
OKLaboklab(56.41% -0.1107 0.0616)
OKLCHoklch(56.41% 0.127 150.9)
XYZxyz(11.5994, 19.3159, 10.1368)
Luminance0.1932 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8A4D #8A2F6C
analogous
#3F8A2F #2F8A4D #2F8A7B
triadic
#2F8A4D #4D2F8A #8A4D2F
tetradic
#2F8A4D #2F3F8A #8A2F6C #8A7B2F
square
#2F8A4D #2F3F8A #8A2F6C #8A7B2F
split-complementary
#2F8A4D #7B2F8A #8A2F3F
monochromatic
#102F1A #1F5C34 #2F8A4D #3FB866 #68CC89

Accessibility & contrast

On white

4.32
#2F8A4D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#2F8A4D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8A4D
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8A4D#FFFFFF#000000##000000
##2F8A4D1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7F49
Deuteranopia (green-blind)
#7F7651
Tritanopia (blue-blind)
#0A887B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2f8a4d;
/* rgb */ color: rgb(47, 138, 77);
/* oklch */ color: oklch(56.4% 0.127 150.9);
Tailwind
colors: {
  custom: {
    50: '#72ad7f',
    500: '#2f8a4d',
    950: '#000000',
  },
}
SCSS
$custom: #2f8a4d;
$custom-light: #72ad7f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8a4d",
  "rgb": {
    "r": 47,
    "g": 138,
    "b": 77
  },
  "hsl": {
    "h": 139.78,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.56409,
    "c": 0.12672,
    "h": 150.9
  },
  "luminance": 0.19317
}

Semantic roles & 50–950 ramp

primary
#2F8A4D
secondary
#B36298
accent
#4FABD9
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #2F8A4D

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

Preview Lab → · Contrast checker → · Palette generator →

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