#2C971E#2C971E

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

Color values

HEX#2C971E
RGBrgb(44, 151, 30)
HSLhsl(113, 67%, 35%)
HSVhsv(113, 80%, 59%)
CMYKcmyk(70.9%, 0%, 80.1%, 40.8%)
CIE-LABlab(54.83, -52.11, 50.63)
CIE-LCHlch(54.83, 72.66, 135.82°)
OKLaboklab(59.35% -0.1422 0.1129)
OKLCHoklch(59.35% 0.182 141.5)
XYZxyz(12.3390, 22.7611, 4.9711)
Luminance0.2276 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C971E #891E97
analogous
#68971E #2C971E #1E974C
triadic
#2C971E #1E2C97 #971E2C
tetradic
#2C971E #1E6897 #891E97 #974C1E
square
#2C971E #1E6897 #891E97 #974C1E
split-complementary
#2C971E #4C1E97 #971E68
monochromatic
#0E310A #1D6414 #2C971E #3BCA28 #63DD53

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C971E#FFFFFF#000000##000000
##2C971E1.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)
#8F802C
Tritanopia (blue-blind)
#119281
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #2c971e;
/* rgb */ color: rgb(44, 151, 30);
/* oklch */ color: oklch(59.3% 0.182 141.5);
Tailwind
colors: {
  custom: {
    50: '#76b764',
    500: '#2c971e',
    950: '#000000',
  },
}
SCSS
$custom: #2c971e;
$custom-light: #76b764;
$custom-dark: #000000;
JSON
{
  "hex": "#2c971e",
  "rgb": {
    "r": 44,
    "g": 151,
    "b": 30
  },
  "hsl": {
    "h": 113.058,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.59348,
    "c": 0.18155,
    "h": 141.5
  },
  "luminance": 0.22762
}

Semantic roles & 50–950 ramp

primary
#2C971E
secondary
#B351C0
accent
#3EEAD6
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2C971E

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

Preview Lab → · Contrast checker → · Palette generator →

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