#2E7E45#2E7E45

#2E7E45 is a mid, moderate green. Relative luminance 0.159; OKLCH L 52.9% C 0.118 H 149.9°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#2E7E45
RGBrgb(46, 126, 69)
HSLhsl(137, 47%, 34%)
HSVhsv(137, 63%, 49%)
CMYKcmyk(63.5%, 0%, 45.2%, 50.6%)
CIE-LABlab(46.88, -37.71, 23.98)
CIE-LCHlch(46.88, 44.69, 147.55°)
OKLaboklab(52.93% -0.1019 0.0591)
OKLCHoklch(52.93% 0.118 149.9)
XYZxyz(9.6610, 15.9313, 8.1950)
Luminance0.1593 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7E45 #7E2E67
analogous
#3F7E2E #2E7E45 #2E7E6D
triadic
#2E7E45 #452E7E #7E452E
tetradic
#2E7E45 #2E3F7E #7E2E67 #7E6D2E
square
#2E7E45 #2E3F7E #7E2E67 #7E6D2E
split-complementary
#2E7E45 #6D2E7E #7E2E3F
monochromatic
#0D2414 #1E512C #2E7E45 #3EAB5E #61C57E

Accessibility & contrast

On white

5.02
#2E7E45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#2E7E45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7E45
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7E45#FFFFFF#000000##FFFFFF
##2E7E451.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7441
Deuteranopia (green-blind)
#746C49
Tritanopia (blue-blind)
#157C70
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2e7e45;
/* rgb */ color: rgb(46, 126, 69);
/* oklch */ color: oklch(52.9% 0.118 149.9);
Tailwind
colors: {
  custom: {
    50: '#70a479',
    500: '#2e7e45',
    950: '#000000',
  },
}
SCSS
$custom: #2e7e45;
$custom-light: #70a479;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7e45",
  "rgb": {
    "r": 46,
    "g": 126,
    "b": 69
  },
  "hsl": {
    "h": 137.25,
    "s": 46.512,
    "l": 33.725
  },
  "oklch": {
    "l": 0.52926,
    "c": 0.11776,
    "h": 149.9
  },
  "luminance": 0.15932
}

Semantic roles & 50–950 ramp

primary
#2E7E45
secondary
#AC5C95
accent
#52B0D6
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #2E7E45

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

Preview Lab → · Contrast checker → · Palette generator →

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