#2F8A4C#2F8A4C

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

Color values

HEX#2F8A4C
RGBrgb(47, 138, 76)
HSLhsl(139, 49%, 36%)
HSVhsv(139, 66%, 54%)
CMYKcmyk(65.9%, 0%, 44.9%, 45.9%)
CIE-LABlab(51.04, -41.20, 25.49)
CIE-LCHlch(51.04, 48.45, 148.25°)
OKLaboklab(56.39% -0.1112 0.0628)
OKLCHoklch(56.39% 0.128 150.5)
XYZxyz(11.5644, 19.3019, 9.9523)
Luminance0.1930 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8A4C #8A2F6D
analogous
#408A2F #2F8A4C #2F8A7A
triadic
#2F8A4C #4C2F8A #8A4C2F
tetradic
#2F8A4C #2F408A #8A2F6D #8A7A2F
square
#2F8A4C #2F408A #8A2F6D #8A7A2F
split-complementary
#2F8A4C #7A2F8A #8A2F40
monochromatic
#102F1A #1F5C33 #2F8A4C #3FB865 #68CC88

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F8A4C#FFFFFF#000000##000000
##2F8A4C1.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)
#8B7E47
Deuteranopia (green-blind)
#7F7650
Tritanopia (blue-blind)
#0B887B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2f8a4c;
/* rgb */ color: rgb(47, 138, 76);
/* oklch */ color: oklch(56.4% 0.128 150.5);
Tailwind
colors: {
  custom: {
    50: '#72ad7f',
    500: '#2f8a4c',
    950: '#000000',
  },
}
SCSS
$custom: #2f8a4c;
$custom-light: #72ad7f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8a4c",
  "rgb": {
    "r": 47,
    "g": 138,
    "b": 76
  },
  "hsl": {
    "h": 139.121,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.5639,
    "c": 0.12771,
    "h": 150.5
  },
  "luminance": 0.19303
}

Semantic roles & 50–950 ramp

primary
#2F8A4C
secondary
#B36299
accent
#4FADD9
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #2F8A4C

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

Preview Lab → · Contrast checker → · Palette generator →

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