#2E7841#2E7841

#2E7841 is a mid, moderate green. Relative luminance 0.144; OKLCH L 51.2% C 0.113 H 149.2°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#2E7841
RGBrgb(46, 120, 65)
HSLhsl(135, 45%, 33%)
HSVhsv(135, 62%, 47%)
CMYKcmyk(61.7%, 0%, 45.8%, 52.9%)
CIE-LABlab(44.79, -35.87, 23.51)
CIE-LCHlch(44.79, 42.89, 146.76°)
OKLaboklab(51.19% -0.097 0.0578)
OKLCHoklch(51.19% 0.113 149.2)
XYZxyz(8.7967, 14.3946, 7.3149)
Luminance0.1439 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7841 #782E65
analogous
#40782E #2E7841 #2E7866
triadic
#2E7841 #412E78 #78412E
tetradic
#2E7841 #2E4078 #782E65 #78662E
square
#2E7841 #2E4078 #782E65 #78662E
split-complementary
#2E7841 #662E78 #782E40
monochromatic
#0C2011 #1D4C29 #2E7841 #3FA459 #5FC278

Accessibility & contrast

On white

5.41
#2E7841 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#2E7841 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7841
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7841#FFFFFF#000000##FFFFFF
##2E78411.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796E3D
Deuteranopia (green-blind)
#6F6745
Tritanopia (blue-blind)
#1A766B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2e7841;
/* rgb */ color: rgb(46, 120, 65);
/* oklch */ color: oklch(51.2% 0.113 149.2);
Tailwind
colors: {
  custom: {
    50: '#6fa076',
    500: '#2e7841',
    950: '#000000',
  },
}
SCSS
$custom: #2e7841;
$custom-light: #6fa076;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7841",
  "rgb": {
    "r": 46,
    "g": 120,
    "b": 65
  },
  "hsl": {
    "h": 135.405,
    "s": 44.578,
    "l": 32.549
  },
  "oklch": {
    "l": 0.51186,
    "c": 0.11292,
    "h": 149.2
  },
  "luminance": 0.14395
}

Semantic roles & 50–950 ramp

primary
#2E7841
secondary
#A85A94
accent
#54B3D4
background
#F7F9F7
surface
#EDF2ED
border
#C8CCC8
text
#080F08
muted
#7B7E7B

Preview Lab

Preview with #2E7841

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

Preview Lab → · Contrast checker → · Palette generator →

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