#2C971C#2C971C

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

Color values

HEX#2C971C
RGBrgb(44, 151, 28)
HSLhsl(112, 69%, 35%)
HSVhsv(112, 81%, 59%)
CMYKcmyk(70.9%, 0%, 81.5%, 40.8%)
CIE-LABlab(54.82, -52.23, 51.24)
CIE-LCHlch(54.82, 73.17, 135.55°)
OKLaboklab(59.34% -0.1426 0.1139)
OKLCHoklch(59.34% 0.183 141.4)
XYZxyz(12.3142, 22.7512, 4.8408)
Luminance0.2275 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C971C #871C97
analogous
#6A971C #2C971C #1C9749
triadic
#2C971C #1C2C97 #971C2C
tetradic
#2C971C #1C6A97 #871C97 #97491C
square
#2C971C #1C6A97 #871C97 #97491C
split-complementary
#2C971C #491C97 #971C6A
monochromatic
#0E3009 #1D6312 #2C971C #3BCB26 #62DE4F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C971C#FFFFFF#000000##000000
##2C971C1.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)
#8F802B
Tritanopia (blue-blind)
#119280
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #2c971c;
/* rgb */ color: rgb(44, 151, 28);
/* oklch */ color: oklch(59.3% 0.183 141.4);
Tailwind
colors: {
  custom: {
    50: '#76b763',
    500: '#2c971c',
    950: '#000000',
  },
}
SCSS
$custom: #2c971c;
$custom-light: #76b763;
$custom-dark: #000000;
JSON
{
  "hex": "#2c971c",
  "rgb": {
    "r": 44,
    "g": 151,
    "b": 28
  },
  "hsl": {
    "h": 112.195,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.59336,
    "c": 0.18251,
    "h": 141.4
  },
  "luminance": 0.22753
}

Semantic roles & 50–950 ramp

primary
#2C971C
secondary
#B24EC1
accent
#3CECD5
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2C971C

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

Preview Lab → · Contrast checker → · Palette generator →

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