#2C971F#2C971F

#2C971F is a mid, vivid green. Relative luminance 0.228; OKLCH L 59.4% C 0.181 H 141.6°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#2C971F
RGBrgb(44, 151, 31)
HSLhsl(114, 66%, 36%)
HSVhsv(114, 79%, 59%)
CMYKcmyk(70.9%, 0%, 79.5%, 40.8%)
CIE-LABlab(54.83, -52.04, 50.31)
CIE-LCHlch(54.83, 72.39, 135.97°)
OKLaboklab(59.35% -0.1419 0.1124)
OKLCHoklch(59.35% 0.181 141.6)
XYZxyz(12.3520, 22.7663, 5.0394)
Luminance0.2277 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C971F #8A1F97
analogous
#68971F #2C971F #1F974E
triadic
#2C971F #1F2C97 #971F2C
tetradic
#2C971F #1F6897 #8A1F97 #974E1F
square
#2C971F #1F6897 #8A1F97 #974E1F
split-complementary
#2C971F #4E1F97 #971F68
monochromatic
#0E310A #1D6415 #2C971F #3BCA29 #63DC54

Accessibility & contrast

On white

3.78
#2C971F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#2C971F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C971F
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C971F#FFFFFF#000000##000000
##2C971F1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8800
Deuteranopia (green-blind)
#8E802D
Tritanopia (blue-blind)
#119281
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #2c971f;
/* rgb */ color: rgb(44, 151, 31);
/* oklch */ color: oklch(59.4% 0.181 141.6);
Tailwind
colors: {
  custom: {
    50: '#76b765',
    500: '#2c971f',
    950: '#000000',
  },
}
SCSS
$custom: #2c971f;
$custom-light: #76b765;
$custom-dark: #000000;
JSON
{
  "hex": "#2c971f",
  "rgb": {
    "r": 44,
    "g": 151,
    "b": 31
  },
  "hsl": {
    "h": 113.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59354,
    "c": 0.18105,
    "h": 141.6
  },
  "luminance": 0.22768
}

Semantic roles & 50–950 ramp

primary
#2C971F
secondary
#B452BF
accent
#3FE9D6
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2C971F

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

Preview Lab → · Contrast checker → · Palette generator →

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