#2E7941#2E7941

#2E7941 is a mid, moderate green. Relative luminance 0.146; OKLCH L 51.5% C 0.114 H 149.1°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#2E7941
RGBrgb(46, 121, 65)
HSLhsl(135, 45%, 33%)
HSVhsv(135, 62%, 47%)
CMYKcmyk(62%, 0%, 46.3%, 52.5%)
CIE-LABlab(45.13, -36.30, 23.95)
CIE-LCHlch(45.13, 43.49, 146.59°)
OKLaboklab(51.46% -0.0981 0.0588)
OKLCHoklch(51.46% 0.114 149.1)
XYZxyz(8.9176, 14.6364, 7.3552)
Luminance0.1464 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7941 #792E66
analogous
#40792E #2E7941 #2E7966
triadic
#2E7941 #412E79 #79412E
tetradic
#2E7941 #2E4079 #792E66 #79662E
square
#2E7941 #2E4079 #792E66 #79662E
split-complementary
#2E7941 #662E79 #792E40
monochromatic
#0C2011 #1D4D29 #2E7941 #3FA559 #5FC278

Accessibility & contrast

On white

5.35
#2E7941 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#2E7941 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7941
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7941#FFFFFF#000000##FFFFFF
##2E79411.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6F3D
Deuteranopia (green-blind)
#706845
Tritanopia (blue-blind)
#1A776B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2e7941;
/* rgb */ color: rgb(46, 121, 65);
/* oklch */ color: oklch(51.5% 0.114 149.1);
Tailwind
colors: {
  custom: {
    50: '#6fa076',
    500: '#2e7941',
    950: '#000000',
  },
}
SCSS
$custom: #2e7941;
$custom-light: #6fa076;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7941",
  "rgb": {
    "r": 46,
    "g": 121,
    "b": 65
  },
  "hsl": {
    "h": 135.2,
    "s": 44.91,
    "l": 32.745
  },
  "oklch": {
    "l": 0.51464,
    "c": 0.11441,
    "h": 149.1
  },
  "luminance": 0.14637
}

Semantic roles & 50–950 ramp

primary
#2E7941
secondary
#A95A95
accent
#53B4D5
background
#F7F9F7
surface
#EDF2ED
border
#C8CCC8
text
#080F08
muted
#7B7E7B

Preview Lab

Preview with #2E7941

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

Preview Lab → · Contrast checker → · Palette generator →

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