#2E7948#2E7948

#2E7948 is a mid, moderate green. Relative luminance 0.147; OKLCH L 51.6% C 0.107 H 152.1°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#2E7948
RGBrgb(46, 121, 72)
HSLhsl(141, 45%, 33%)
HSVhsv(141, 62%, 47%)
CMYKcmyk(62%, 0%, 40.5%, 52.5%)
CIE-LABlab(45.25, -35.00, 20.16)
CIE-LCHlch(45.25, 40.39, 150.06°)
OKLaboklab(51.6% -0.0948 0.0502)
OKLCHoklch(51.6% 0.107 152.1)
XYZxyz(9.1331, 14.7226, 8.4901)
Luminance0.1472 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7948 #792E5F
analogous
#39792E #2E7948 #2E796D
triadic
#2E7948 #482E79 #79482E
tetradic
#2E7948 #2E3979 #792E5F #796D2E
square
#2E7948 #2E3979 #792E5F #796D2E
split-complementary
#2E7948 #6D2E79 #792E39
monochromatic
#0C2013 #1D4D2E #2E7948 #3FA562 #5FC282

Accessibility & contrast

On white

5.32
#2E7948 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#2E7948 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7948
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7948#FFFFFF#000000##FFFFFF
##2E79481.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796F45
Deuteranopia (green-blind)
#6F684B
Tritanopia (blue-blind)
#16776D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2e7948;
/* rgb */ color: rgb(46, 121, 72);
/* oklch */ color: oklch(51.6% 0.107 152.1);
Tailwind
colors: {
  custom: {
    50: '#6fa07b',
    500: '#2e7948',
    950: '#000000',
  },
}
SCSS
$custom: #2e7948;
$custom-light: #6fa07b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7948",
  "rgb": {
    "r": 46,
    "g": 121,
    "b": 72
  },
  "hsl": {
    "h": 140.8,
    "s": 44.91,
    "l": 32.745
  },
  "oklch": {
    "l": 0.51601,
    "c": 0.10725,
    "h": 152.1
  },
  "luminance": 0.14723
}

Semantic roles & 50–950 ramp

primary
#2E7948
secondary
#A95A8E
accent
#53A8D5
background
#F7F9F7
surface
#EDF2EE
border
#C8CCC9
text
#080F09
muted
#7B7E7B

Preview Lab

Preview with #2E7948

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

Preview Lab → · Contrast checker → · Palette generator →

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