#2C971B#2C971B

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

Color values

HEX#2C971B
RGBrgb(44, 151, 27)
HSLhsl(112, 70%, 35%)
HSVhsv(112, 82%, 59%)
CMYKcmyk(70.9%, 0%, 82.1%, 40.8%)
CIE-LABlab(54.81, -52.29, 51.54)
CIE-LCHlch(54.81, 73.42, 135.42°)
OKLaboklab(59.33% -0.1428 0.1144)
OKLCHoklch(59.33% 0.183 141.3)
XYZxyz(12.3025, 22.7465, 4.7789)
Luminance0.2275 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C971B #861B97
analogous
#6A971B #2C971B #1B9748
triadic
#2C971B #1B2C97 #971B2C
tetradic
#2C971B #1B6A97 #861B97 #97481B
square
#2C971B #1B6A97 #861B97 #97481B
split-complementary
#2C971B #481B97 #971B6A
monochromatic
#0E2F08 #1D6312 #2C971B #3BCB24 #61DF4D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C971B#FFFFFF#000000##000000
##2C971B1.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: #2c971b;
/* rgb */ color: rgb(44, 151, 27);
/* oklch */ color: oklch(59.3% 0.183 141.3);
Tailwind
colors: {
  custom: {
    50: '#76b763',
    500: '#2c971b',
    950: '#000000',
  },
}
SCSS
$custom: #2c971b;
$custom-light: #76b763;
$custom-dark: #000000;
JSON
{
  "hex": "#2c971b",
  "rgb": {
    "r": 44,
    "g": 151,
    "b": 27
  },
  "hsl": {
    "h": 111.774,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.59331,
    "c": 0.18296,
    "h": 141.3
  },
  "luminance": 0.22748
}

Semantic roles & 50–950 ramp

primary
#2C971B
secondary
#B14CC1
accent
#3BECD4
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2C971B

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

Preview Lab → · Contrast checker → · Palette generator →

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