#2F972C#2F972C

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

Color values

HEX#2F972C
RGBrgb(47, 151, 44)
HSLhsl(118, 55%, 38%)
HSVhsv(118, 71%, 59%)
CMYKcmyk(68.9%, 0%, 70.9%, 40.8%)
CIE-LABlab(54.99, -50.41, 45.71)
CIE-LCHlch(54.99, 68.05, 137.80°)
OKLaboklab(59.53% -0.137 0.1045)
OKLCHoklch(59.53% 0.172 142.7)
XYZxyz(12.6928, 22.9181, 6.1371)
Luminance0.2292 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F972C #942C97
analogous
#64972C #2F972C #2C975E
triadic
#2F972C #2C2F97 #972C2F
tetradic
#2F972C #2C6497 #942C97 #975E2C
square
#2F972C #2C6497 #942C97 #975E2C
split-complementary
#2F972C #5E2C97 #972C64
monochromatic
#113810 #20681E #2F972C #3EC63A #6DD46A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F972C#FFFFFF#000000##000000
##2F972C1.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)
#9A891C
Deuteranopia (green-blind)
#8E8036
Tritanopia (blue-blind)
#159282
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #2f972c;
/* rgb */ color: rgb(47, 151, 44);
/* oklch */ color: oklch(59.5% 0.172 142.7);
Tailwind
colors: {
  custom: {
    50: '#77b76b',
    500: '#2f972c',
    950: '#000000',
  },
}
SCSS
$custom: #2f972c;
$custom-light: #77b76b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f972c",
  "rgb": {
    "r": 47,
    "g": 151,
    "b": 44
  },
  "hsl": {
    "h": 118.318,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.59532,
    "c": 0.17235,
    "h": 142.7
  },
  "luminance": 0.22919
}

Semantic roles & 50–950 ramp

primary
#2F972C
secondary
#B865BA
accent
#4ADEDA
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #2F972C

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

Preview Lab → · Contrast checker → · Palette generator →

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