#2F8950#2F8950

#2F8950 is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.2% C 0.122 H 152.2°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#2F8950
RGBrgb(47, 137, 80)
HSLhsl(142, 49%, 36%)
HSVhsv(142, 66%, 54%)
CMYKcmyk(65.7%, 0%, 41.6%, 46.3%)
CIE-LABlab(50.77, -40.05, 22.95)
CIE-LCHlch(50.77, 46.16, 150.19°)
OKLaboklab(56.19% -0.1082 0.057)
OKLCHoklch(56.19% 0.122 152.2)
XYZxyz(11.5650, 19.0737, 10.6600)
Luminance0.1908 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8950 #892F68
analogous
#3B892F #2F8950 #2F897D
triadic
#2F8950 #502F89 #89502F
tetradic
#2F8950 #2F3B89 #892F68 #897D2F
square
#2F8950 #2F3B89 #892F68 #897D2F
split-complementary
#2F8950 #7D2F89 #892F3B
monochromatic
#102E1B #1F5B35 #2F8950 #3FB76B #67CB8C

Accessibility & contrast

On white

4.36
#2F8950 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#2F8950 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8950
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8950#FFFFFF#000000##000000
##2F89501.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#897E4C
Deuteranopia (green-blind)
#7E7654
Tritanopia (blue-blind)
#07877B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2f8950;
/* rgb */ color: rgb(47, 137, 80);
/* oklch */ color: oklch(56.2% 0.122 152.2);
Tailwind
colors: {
  custom: {
    50: '#72ac81',
    500: '#2f8950',
    950: '#000000',
  },
}
SCSS
$custom: #2f8950;
$custom-light: #72ac81;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8950",
  "rgb": {
    "r": 47,
    "g": 137,
    "b": 80
  },
  "hsl": {
    "h": 142,
    "s": 48.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.56194,
    "c": 0.12231,
    "h": 152.2
  },
  "luminance": 0.19075
}

Semantic roles & 50–950 ramp

primary
#2F8950
secondary
#B26295
accent
#4FA6D8
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #2F8950

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

Preview Lab → · Contrast checker → · Palette generator →

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