#2F8946#2F8946

#2F8946 is a mid, vivid green. Relative luminance 0.189; OKLCH L 56.0% C 0.132 H 148.7°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#2F8946
RGBrgb(47, 137, 70)
HSLhsl(135, 49%, 36%)
HSVhsv(135, 66%, 54%)
CMYKcmyk(65.7%, 0%, 48.9%, 46.3%)
CIE-LABlab(50.61, -41.83, 28.19)
CIE-LCHlch(50.61, 50.44, 146.02°)
OKLaboklab(56.01% -0.1129 0.0688)
OKLCHoklch(56.01% 0.132 148.7)
XYZxyz(11.2226, 18.9367, 8.8569)
Luminance0.1894 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8946 #892F72
analogous
#45892F #2F8946 #2F8973
triadic
#2F8946 #462F89 #89462F
tetradic
#2F8946 #2F4589 #892F72 #89732F
square
#2F8946 #2F4589 #892F72 #89732F
split-complementary
#2F8946 #732F89 #892F45
monochromatic
#102E17 #1F5B2F #2F8946 #3FB75D #67CB81

Accessibility & contrast

On white

4.39
#2F8946 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#2F8946 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8946
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8946#FFFFFF#000000##000000
##2F89461.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7D41
Deuteranopia (green-blind)
#7F754B
Tritanopia (blue-blind)
#118679
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2f8946;
/* rgb */ color: rgb(47, 137, 70);
/* oklch */ color: oklch(56.0% 0.132 148.7);
Tailwind
colors: {
  custom: {
    50: '#72ac7a',
    500: '#2f8946',
    950: '#000000',
  },
}
SCSS
$custom: #2f8946;
$custom-light: #72ac7a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8946",
  "rgb": {
    "r": 47,
    "g": 137,
    "b": 70
  },
  "hsl": {
    "h": 135.333,
    "s": 48.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.56009,
    "c": 0.13218,
    "h": 148.7
  },
  "luminance": 0.18938
}

Semantic roles & 50–950 ramp

primary
#2F8946
secondary
#B2629E
accent
#4FB5D8
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #2F8946

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

Preview Lab → · Contrast checker → · Palette generator →

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