#2B971A#2B971A

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

Color values

HEX#2B971A
RGBrgb(43, 151, 26)
HSLhsl(112, 71%, 35%)
HSVhsv(112, 83%, 59%)
CMYKcmyk(71.5%, 0%, 82.8%, 40.8%)
CIE-LABlab(54.78, -52.54, 51.80)
CIE-LCHlch(54.78, 73.78, 135.41°)
OKLaboklab(59.3% -0.1435 0.1148)
OKLCHoklch(59.3% 0.184 141.3)
XYZxyz(12.2487, 22.7201, 4.7170)
Luminance0.2272 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B971A #861A97
analogous
#6A971A #2B971A #1A9748
triadic
#2B971A #1A2B97 #971A2B
tetradic
#2B971A #1A6A97 #861A97 #97481A
square
#2B971A #1A6A97 #861A97 #97481A
split-complementary
#2B971A #481A97 #971A6A
monochromatic
#0D2F08 #1C6311 #2B971A #3ACB23 #60E04B

Accessibility & contrast

On white

3.79
#2B971A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#2B971A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B971A
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B971A#FFFFFF#000000##000000
##2B971A1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8800
Deuteranopia (green-blind)
#8F802A
Tritanopia (blue-blind)
#0F9280
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #2b971a;
/* rgb */ color: rgb(43, 151, 26);
/* oklch */ color: oklch(59.3% 0.184 141.3);
Tailwind
colors: {
  custom: {
    50: '#76b763',
    500: '#2b971a',
    950: '#000000',
  },
}
SCSS
$custom: #2b971a;
$custom-light: #76b763;
$custom-dark: #000000;
JSON
{
  "hex": "#2b971a",
  "rgb": {
    "r": 43,
    "g": 151,
    "b": 26
  },
  "hsl": {
    "h": 111.84,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.593,
    "c": 0.18374,
    "h": 141.3
  },
  "luminance": 0.22721
}

Semantic roles & 50–950 ramp

primary
#2B971A
secondary
#B24BC2
accent
#3AEDD5
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2B971A

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

Preview Lab → · Contrast checker → · Palette generator →

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