#2F972A#2F972A

#2F972A is a mid, vivid green. Relative luminance 0.229; OKLCH L 59.5% C 0.174 H 142.4°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#2F972A
RGBrgb(47, 151, 42)
HSLhsl(117, 56%, 38%)
HSVhsv(117, 72%, 59%)
CMYKcmyk(68.9%, 0%, 72.2%, 40.8%)
CIE-LABlab(54.97, -50.59, 46.50)
CIE-LCHlch(54.97, 68.71, 137.42°)
OKLaboklab(59.51% -0.1376 0.1059)
OKLCHoklch(59.51% 0.174 142.4)
XYZxyz(12.6561, 22.9034, 5.9439)
Luminance0.2291 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F972A #922A97
analogous
#65972A #2F972A #2A975C
triadic
#2F972A #2A2F97 #972A2F
tetradic
#2F972A #2A6597 #922A97 #975C2A
square
#2F972A #2A6597 #922A97 #975C2A
split-complementary
#2F972A #5C2A97 #972A65
monochromatic
#11370F #20671D #2F972A #3EC737 #6CD567

Accessibility & contrast

On white

3.76
#2F972A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#2F972A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F972A
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F972A#FFFFFF#000000##000000
##2F972A1.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8918
Deuteranopia (green-blind)
#8E8035
Tritanopia (blue-blind)
#169281
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #2f972a;
/* rgb */ color: rgb(47, 151, 42);
/* oklch */ color: oklch(59.5% 0.174 142.4);
Tailwind
colors: {
  custom: {
    50: '#77b76a',
    500: '#2f972a',
    950: '#000000',
  },
}
SCSS
$custom: #2f972a;
$custom-light: #77b76a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f972a",
  "rgb": {
    "r": 47,
    "g": 151,
    "b": 42
  },
  "hsl": {
    "h": 117.248,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.59515,
    "c": 0.17367,
    "h": 142.4
  },
  "luminance": 0.22905
}

Semantic roles & 50–950 ramp

primary
#2F972A
secondary
#B762BB
accent
#48E0D9
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #2F972A

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

Preview Lab → · Contrast checker → · Palette generator →

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