#2E971B#2E971B

#2E971B is a mid, vivid green. Relative luminance 0.228; OKLCH L 59.4% C 0.182 H 141.1°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#2E971B
RGBrgb(46, 151, 27)
HSLhsl(111, 70%, 35%)
HSVhsv(111, 82%, 59%)
CMYKcmyk(69.5%, 0%, 82.1%, 40.8%)
CIE-LABlab(54.86, -51.89, 51.60)
CIE-LCHlch(54.86, 73.18, 135.16°)
OKLaboklab(59.38% -0.1418 0.1145)
OKLCHoklch(59.38% 0.182 141.1)
XYZxyz(12.3905, 22.7919, 4.7830)
Luminance0.2279 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E971B #841B97
analogous
#6C971B #2E971B #1B9746
triadic
#2E971B #1B2E97 #971B2E
tetradic
#2E971B #1B6C97 #841B97 #97461B
square
#2E971B #1B6C97 #841B97 #97461B
split-complementary
#2E971B #461B97 #971B6C
monochromatic
#0E2F08 #1E6312 #2E971B #3ECB24 #64DF4D

Accessibility & contrast

On white

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

On black

5.56
#2E971B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E971B
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E971B#FFFFFF#000000##000000
##2E971B1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e971b;
/* rgb */ color: rgb(46, 151, 27);
/* oklch */ color: oklch(59.4% 0.182 141.1);
Tailwind
colors: {
  custom: {
    50: '#77b763',
    500: '#2e971b',
    950: '#000000',
  },
}
SCSS
$custom: #2e971b;
$custom-light: #77b763;
$custom-dark: #000000;
JSON
{
  "hex": "#2e971b",
  "rgb": {
    "r": 46,
    "g": 151,
    "b": 27
  },
  "hsl": {
    "h": 110.806,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.59383,
    "c": 0.18228,
    "h": 141.1
  },
  "luminance": 0.22793
}

Semantic roles & 50–950 ramp

primary
#2E971B
secondary
#B04CC1
accent
#3BECD1
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2E971B

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

Preview Lab → · Contrast checker → · Palette generator →

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