#2E971C#2E971C

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

Color values

HEX#2E971C
RGBrgb(46, 151, 28)
HSLhsl(111, 69%, 35%)
HSVhsv(111, 81%, 59%)
CMYKcmyk(69.5%, 0%, 81.5%, 40.8%)
CIE-LABlab(54.86, -51.84, 51.30)
CIE-LCHlch(54.86, 72.93, 135.30°)
OKLaboklab(59.39% -0.1416 0.114)
OKLCHoklch(59.39% 0.182 141.2)
XYZxyz(12.4023, 22.7966, 4.8450)
Luminance0.2280 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E971C #851C97
analogous
#6B971C #2E971C #1C9748
triadic
#2E971C #1C2E97 #971C2E
tetradic
#2E971C #1C6B97 #851C97 #97481C
square
#2E971C #1C6B97 #851C97 #97481C
split-complementary
#2E971C #481C97 #971C6B
monochromatic
#0F3009 #1E6312 #2E971C #3ECB26 #64DE4F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E971C#FFFFFF#000000##000000
##2E971C1.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)
#8F802B
Tritanopia (blue-blind)
#179280
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #2e971c;
/* rgb */ color: rgb(46, 151, 28);
/* oklch */ color: oklch(59.4% 0.182 141.2);
Tailwind
colors: {
  custom: {
    50: '#77b763',
    500: '#2e971c',
    950: '#000000',
  },
}
SCSS
$custom: #2e971c;
$custom-light: #77b763;
$custom-dark: #000000;
JSON
{
  "hex": "#2e971c",
  "rgb": {
    "r": 46,
    "g": 151,
    "b": 28
  },
  "hsl": {
    "h": 111.22,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.59389,
    "c": 0.18183,
    "h": 141.2
  },
  "luminance": 0.22798
}

Semantic roles & 50–950 ramp

primary
#2E971C
secondary
#B04EC1
accent
#3CECD2
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2E971C

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

Preview Lab → · Contrast checker → · Palette generator →

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