#2B971E#2B971E

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

Color values

HEX#2B971E
RGBrgb(43, 151, 30)
HSLhsl(114, 67%, 35%)
HSVhsv(114, 80%, 59%)
CMYKcmyk(71.5%, 0%, 80.1%, 40.8%)
CIE-LABlab(54.80, -52.30, 50.60)
CIE-LCHlch(54.80, 72.77, 135.95°)
OKLaboklab(59.32% -0.1426 0.1129)
OKLCHoklch(59.32% 0.182 141.7)
XYZxyz(12.2965, 22.7392, 4.9691)
Luminance0.2274 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B971E #8A1E97
analogous
#67971E #2B971E #1E974E
triadic
#2B971E #1E2B97 #971E2B
tetradic
#2B971E #1E6797 #8A1E97 #974E1E
square
#2B971E #1E6797 #8A1E97 #974E1E
split-complementary
#2B971E #4E1E97 #971E67
monochromatic
#0E310A #1C6414 #2B971E #3ACA28 #61DD53

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B971E#FFFFFF#000000##000000
##2B971E1.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)
#8E802C
Tritanopia (blue-blind)
#0E9281
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #2b971e;
/* rgb */ color: rgb(43, 151, 30);
/* oklch */ color: oklch(59.3% 0.182 141.7);
Tailwind
colors: {
  custom: {
    50: '#76b764',
    500: '#2b971e',
    950: '#000000',
  },
}
SCSS
$custom: #2b971e;
$custom-light: #76b764;
$custom-dark: #000000;
JSON
{
  "hex": "#2b971e",
  "rgb": {
    "r": 43,
    "g": 151,
    "b": 30
  },
  "hsl": {
    "h": 113.554,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.59323,
    "c": 0.18188,
    "h": 141.7
  },
  "luminance": 0.22741
}

Semantic roles & 50–950 ramp

primary
#2B971E
secondary
#B451C0
accent
#3EEAD7
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2B971E

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

Preview Lab → · Contrast checker → · Palette generator →

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