#2E7A4E#2E7A4E

#2E7A4E is a mid, moderate green. Relative luminance 0.150; OKLCH L 52.0% C 0.103 H 154.9°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#2E7A4E
RGBrgb(46, 122, 78)
HSLhsl(145, 45%, 33%)
HSVhsv(145, 62%, 48%)
CMYKcmyk(62.3%, 0%, 36.1%, 52.2%)
CIE-LABlab(45.70, -34.23, 17.33)
CIE-LCHlch(45.70, 38.37, 153.15°)
OKLaboklab(52.01% -0.0929 0.0436)
OKLCHoklch(52.01% 0.103 154.9)
XYZxyz(9.4606, 15.0490, 9.6124)
Luminance0.1505 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7A4E #7A2E5A
analogous
#347A2E #2E7A4E #2E7A74
triadic
#2E7A4E #4E2E7A #7A4E2E
tetradic
#2E7A4E #2E347A #7A2E5A #7A742E
square
#2E7A4E #2E347A #7A2E5A #7A742E
split-complementary
#2E7A4E #742E7A #7A2E34
monochromatic
#0C2115 #1D4E32 #2E7A4E #3FA66A #60C389

Accessibility & contrast

On white

5.24
#2E7A4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#2E7A4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7A4E
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7A4E#FFFFFF#000000##FFFFFF
##2E7A4E1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A714B
Deuteranopia (green-blind)
#6F6951
Tritanopia (blue-blind)
#11796F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2e7a4e;
/* rgb */ color: rgb(46, 122, 78);
/* oklch */ color: oklch(52.0% 0.103 154.9);
Tailwind
colors: {
  custom: {
    50: '#6fa180',
    500: '#2e7a4e',
    950: '#000000',
  },
}
SCSS
$custom: #2e7a4e;
$custom-light: #6fa180;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7a4e",
  "rgb": {
    "r": 46,
    "g": 122,
    "b": 78
  },
  "hsl": {
    "h": 145.263,
    "s": 45.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52007,
    "c": 0.10265,
    "h": 154.9
  },
  "luminance": 0.1505
}

Semantic roles & 50–950 ramp

primary
#2E7A4E
secondary
#AA5A88
accent
#539ED5
background
#F7FAF7
surface
#EDF3EE
border
#C8CDC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #2E7A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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