#2E971F#2E971F

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

Color values

HEX#2E971F
RGBrgb(46, 151, 31)
HSLhsl(113, 66%, 36%)
HSVhsv(113, 79%, 59%)
CMYKcmyk(69.5%, 0%, 79.5%, 40.8%)
CIE-LABlab(54.88, -51.65, 50.38)
CIE-LCHlch(54.88, 72.15, 135.71°)
OKLaboklab(59.41% -0.141 0.1125)
OKLCHoklch(59.41% 0.18 141.4)
XYZxyz(12.4400, 22.8117, 5.0436)
Luminance0.2281 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E971F #881F97
analogous
#6A971F #2E971F #1F974C
triadic
#2E971F #1F2E97 #971F2E
tetradic
#2E971F #1F6A97 #881F97 #974C1F
square
#2E971F #1F6A97 #881F97 #974C1F
split-complementary
#2E971F #4C1F97 #971F6A
monochromatic
#0F310A #1F6415 #2E971F #3DCA29 #65DC54

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E971F#FFFFFF#000000##000000
##2E971F1.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)
#8F802D
Tritanopia (blue-blind)
#169281
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #2e971f;
/* rgb */ color: rgb(46, 151, 31);
/* oklch */ color: oklch(59.4% 0.180 141.4);
Tailwind
colors: {
  custom: {
    50: '#77b765',
    500: '#2e971f',
    950: '#000000',
  },
}
SCSS
$custom: #2e971f;
$custom-light: #77b765;
$custom-dark: #000000;
JSON
{
  "hex": "#2e971f",
  "rgb": {
    "r": 46,
    "g": 151,
    "b": 31
  },
  "hsl": {
    "h": 112.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59407,
    "c": 0.18037,
    "h": 141.4
  },
  "luminance": 0.22813
}

Semantic roles & 50–950 ramp

primary
#2E971F
secondary
#B252BF
accent
#3FE9D4
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2E971F

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

Preview Lab → · Contrast checker → · Palette generator →

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