#2C971A#2C971A

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

Color values

HEX#2C971A
RGBrgb(44, 151, 26)
HSLhsl(111, 71%, 35%)
HSVhsv(111, 83%, 59%)
CMYKcmyk(70.9%, 0%, 82.8%, 40.8%)
CIE-LABlab(54.81, -52.35, 51.83)
CIE-LCHlch(54.81, 73.67, 135.29°)
OKLaboklab(59.33% -0.143 0.1148)
OKLCHoklch(59.33% 0.183 141.2)
XYZxyz(12.2911, 22.7419, 4.7190)
Luminance0.2274 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C971A #851A97
analogous
#6B971A #2C971A #1A9747
triadic
#2C971A #1A2C97 #971A2C
tetradic
#2C971A #1A6B97 #851A97 #97471A
square
#2C971A #1A6B97 #851A97 #97471A
split-complementary
#2C971A #471A97 #971A6B
monochromatic
#0E2F08 #1D6311 #2C971A #3BCB23 #61E04B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C971A#FFFFFF#000000##000000
##2C971A1.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)
#8F802A
Tritanopia (blue-blind)
#129280
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #2c971a;
/* rgb */ color: rgb(44, 151, 26);
/* oklch */ color: oklch(59.3% 0.183 141.2);
Tailwind
colors: {
  custom: {
    50: '#76b763',
    500: '#2c971a',
    950: '#000000',
  },
}
SCSS
$custom: #2c971a;
$custom-light: #76b763;
$custom-dark: #000000;
JSON
{
  "hex": "#2c971a",
  "rgb": {
    "r": 44,
    "g": 151,
    "b": 26
  },
  "hsl": {
    "h": 111.36,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.59325,
    "c": 0.18341,
    "h": 141.2
  },
  "luminance": 0.22743
}

Semantic roles & 50–950 ramp

primary
#2C971A
secondary
#B14BC2
accent
#3AEDD4
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2C971A

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

Preview Lab → · Contrast checker → · Palette generator →

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