#2E7B4E#2E7B4E

#2E7B4E is a mid, moderate green. Relative luminance 0.153; OKLCH L 52.3% C 0.104 H 154.6°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#2E7B4E
RGBrgb(46, 123, 78)
HSLhsl(145, 46%, 33%)
HSVhsv(145, 63%, 48%)
CMYKcmyk(62.6%, 0%, 36.6%, 51.8%)
CIE-LABlab(46.04, -34.68, 17.78)
CIE-LCHlch(46.04, 38.97, 152.86°)
OKLaboklab(52.28% -0.0941 0.0447)
OKLCHoklch(52.28% 0.104 154.6)
XYZxyz(9.5840, 15.2959, 9.6536)
Luminance0.1530 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7B4E #7B2E5B
analogous
#347B2E #2E7B4E #2E7B74
triadic
#2E7B4E #4E2E7B #7B4E2E
tetradic
#2E7B4E #2E347B #7B2E5B #7B742E
square
#2E7B4E #2E347B #7B2E5B #7B742E
split-complementary
#2E7B4E #742E7B #7B2E34
monochromatic
#0D2216 #1D4E32 #2E7B4E #3FA86A #60C389

Accessibility & contrast

On white

5.17
#2E7B4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#2E7B4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7B4E
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7B4E#FFFFFF#000000##FFFFFF
##2E7B4E1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B714B
Deuteranopia (green-blind)
#706A51
Tritanopia (blue-blind)
#117A6F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2e7b4e;
/* rgb */ color: rgb(46, 123, 78);
/* oklch */ color: oklch(52.3% 0.104 154.6);
Tailwind
colors: {
  custom: {
    50: '#6fa280',
    500: '#2e7b4e',
    950: '#000000',
  },
}
SCSS
$custom: #2e7b4e;
$custom-light: #6fa280;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7b4e",
  "rgb": {
    "r": 46,
    "g": 123,
    "b": 78
  },
  "hsl": {
    "h": 144.935,
    "s": 45.562,
    "l": 33.137
  },
  "oklch": {
    "l": 0.52282,
    "c": 0.10415,
    "h": 154.6
  },
  "luminance": 0.15297
}

Semantic roles & 50–950 ramp

primary
#2E7B4E
secondary
#AA5B89
accent
#539FD5
background
#F7FAF7
surface
#EDF3EE
border
#C8CDC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #2E7B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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