#2B971C#2B971C

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

Color values

HEX#2B971C
RGBrgb(43, 151, 28)
HSLhsl(113, 69%, 35%)
HSVhsv(113, 81%, 59%)
CMYKcmyk(71.5%, 0%, 81.5%, 40.8%)
CIE-LABlab(54.79, -52.43, 51.21)
CIE-LCHlch(54.79, 73.29, 135.67°)
OKLaboklab(59.31% -0.1431 0.1138)
OKLCHoklch(59.31% 0.183 141.5)
XYZxyz(12.2718, 22.7293, 4.8388)
Luminance0.2273 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B971C #881C97
analogous
#68971C #2B971C #1C974B
triadic
#2B971C #1C2B97 #971C2B
tetradic
#2B971C #1C6897 #881C97 #974B1C
square
#2B971C #1C6897 #881C97 #974B1C
split-complementary
#2B971C #4B1C97 #971C68
monochromatic
#0E3009 #1C6312 #2B971C #3ACB26 #61DE4F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B971C#FFFFFF#000000##000000
##2B971C1.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b971c;
/* rgb */ color: rgb(43, 151, 28);
/* oklch */ color: oklch(59.3% 0.183 141.5);
Tailwind
colors: {
  custom: {
    50: '#76b763',
    500: '#2b971c',
    950: '#000000',
  },
}
SCSS
$custom: #2b971c;
$custom-light: #76b763;
$custom-dark: #000000;
JSON
{
  "hex": "#2b971c",
  "rgb": {
    "r": 43,
    "g": 151,
    "b": 28
  },
  "hsl": {
    "h": 112.683,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.59311,
    "c": 0.18283,
    "h": 141.5
  },
  "luminance": 0.22731
}

Semantic roles & 50–950 ramp

primary
#2B971C
secondary
#B34EC1
accent
#3CECD6
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2B971C

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

Preview Lab → · Contrast checker → · Palette generator →

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