#2E7D45#2E7D45

#2E7D45 is a mid, moderate green. Relative luminance 0.157; OKLCH L 52.6% C 0.116 H 150.1°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#2E7D45
RGBrgb(46, 125, 69)
HSLhsl(137, 46%, 34%)
HSVhsv(137, 63%, 49%)
CMYKcmyk(63.2%, 0%, 44.8%, 51%)
CIE-LABlab(46.55, -37.29, 23.54)
CIE-LCHlch(46.55, 44.10, 147.73°)
OKLaboklab(52.65% -0.1008 0.0581)
OKLCHoklch(52.65% 0.116 150.1)
XYZxyz(9.5338, 15.6768, 8.1526)
Luminance0.1568 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7D45 #7D2E66
analogous
#3E7D2E #2E7D45 #2E7D6C
triadic
#2E7D45 #452E7D #7D452E
tetradic
#2E7D45 #2E3E7D #7D2E66 #7D6C2E
square
#2E7D45 #2E3E7D #7D2E66 #7D6C2E
split-complementary
#2E7D45 #6C2E7D #7D2E3E
monochromatic
#0D2414 #1E502C #2E7D45 #3EAA5E #61C57E

Accessibility & contrast

On white

5.08
#2E7D45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#2E7D45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7D45
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7D45#FFFFFF#000000##FFFFFF
##2E7D451.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7341
Deuteranopia (green-blind)
#736B49
Tritanopia (blue-blind)
#167B6F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2e7d45;
/* rgb */ color: rgb(46, 125, 69);
/* oklch */ color: oklch(52.6% 0.116 150.1);
Tailwind
colors: {
  custom: {
    50: '#70a379',
    500: '#2e7d45',
    950: '#000000',
  },
}
SCSS
$custom: #2e7d45;
$custom-light: #70a379;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7d45",
  "rgb": {
    "r": 46,
    "g": 125,
    "b": 69
  },
  "hsl": {
    "h": 137.468,
    "s": 46.199,
    "l": 33.529
  },
  "oklch": {
    "l": 0.52649,
    "c": 0.11629,
    "h": 150.1
  },
  "luminance": 0.15678
}

Semantic roles & 50–950 ramp

primary
#2E7D45
secondary
#AB5B94
accent
#52AFD6
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #2E7D45

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

Preview Lab → · Contrast checker → · Palette generator →

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