#2E951F#2E951F

#2E951F is a mid, vivid green. Relative luminance 0.222; OKLCH L 58.9% C 0.178 H 141.4°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#2E951F
RGBrgb(46, 149, 31)
HSLhsl(112, 66%, 35%)
HSVhsv(112, 79%, 58%)
CMYKcmyk(69.1%, 0%, 79.2%, 41.6%)
CIE-LABlab(54.21, -50.96, 49.73)
CIE-LCHlch(54.21, 71.21, 135.70°)
OKLaboklab(58.85% -0.1391 0.1112)
OKLCHoklch(58.85% 0.178 141.4)
XYZxyz(12.1208, 22.1734, 4.9372)
Luminance0.2218 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E951F #861F95
analogous
#69951F #2E951F #1F954B
triadic
#2E951F #1F2E95 #951F2E
tetradic
#2E951F #1F6995 #861F95 #954B1F
square
#2E951F #1F6995 #861F95 #954B1F
split-complementary
#2E951F #4B1F95 #951F69
monochromatic
#0F300A #1E6214 #2E951F #3EC82A #64DB53

Accessibility & contrast

On white

3.86
#2E951F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#2E951F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E951F
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E951F#FFFFFF#000000##000000
##2E951F1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#8D7E2D
Tritanopia (blue-blind)
#17907F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #2e951f;
/* rgb */ color: rgb(46, 149, 31);
/* oklch */ color: oklch(58.9% 0.178 141.4);
Tailwind
colors: {
  custom: {
    50: '#76b564',
    500: '#2e951f',
    950: '#000000',
  },
}
SCSS
$custom: #2e951f;
$custom-light: #76b564;
$custom-dark: #000000;
JSON
{
  "hex": "#2e951f",
  "rgb": {
    "r": 46,
    "g": 149,
    "b": 31
  },
  "hsl": {
    "h": 112.373,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.58853,
    "c": 0.17809,
    "h": 141.4
  },
  "luminance": 0.22175
}

Semantic roles & 50–950 ramp

primary
#2E951F
secondary
#B151BF
accent
#3FE9D3
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2E951F

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

Preview Lab → · Contrast checker → · Palette generator →

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