#2F972F#2F972F

#2F972F is a mid, vivid green. Relative luminance 0.229; OKLCH L 59.6% C 0.170 H 143.1°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#2F972F
RGBrgb(47, 151, 47)
HSLhsl(120, 53%, 39%)
HSVhsv(120, 69%, 59%)
CMYKcmyk(68.9%, 0%, 68.9%, 40.8%)
CIE-LABlab(55.01, -50.12, 44.49)
CIE-LCHlch(55.01, 67.02, 138.41°)
OKLaboklab(59.56% -0.1361 0.1023)
OKLCHoklch(59.56% 0.17 143.1)
XYZxyz(12.7512, 22.9414, 6.4449)
Luminance0.2294 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F972F #972F97
analogous
#63972F #2F972F #2F9763
triadic
#2F972F #2F2F97 #972F2F
tetradic
#2F972F #2F6397 #972F97 #97632F
square
#2F972F #2F6397 #972F97 #97632F
split-complementary
#2F972F #632F97 #972F63
monochromatic
#123A12 #206820 #2F972F #40C340 #6ED26E

Accessibility & contrast

On white

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

On black

5.59
#2F972F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F972F
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F972F#FFFFFF#000000##000000
##2F972F1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8921
Deuteranopia (green-blind)
#8E8039
Tritanopia (blue-blind)
#149382
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #2f972f;
/* rgb */ color: rgb(47, 151, 47);
/* oklch */ color: oklch(59.6% 0.170 143.1);
Tailwind
colors: {
  custom: {
    50: '#76b76d',
    500: '#2f972f',
    950: '#000000',
  },
}
SCSS
$custom: #2f972f;
$custom-light: #76b76d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f972f",
  "rgb": {
    "r": 47,
    "g": 151,
    "b": 47
  },
  "hsl": {
    "h": 120,
    "s": 52.525,
    "l": 38.824
  },
  "oklch": {
    "l": 0.5956,
    "c": 0.17027,
    "h": 143.1
  },
  "luminance": 0.22943
}

Semantic roles & 50–950 ramp

primary
#2F972F
secondary
#B968B9
accent
#4CDCDC
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #2F972F

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

Preview Lab → · Contrast checker → · Palette generator →

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