#2E7E52#2E7E52

#2E7E52 is a mid, moderate green. Relative luminance 0.161; OKLCH L 53.2% C 0.105 H 155.9°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#2E7E52
RGBrgb(46, 126, 82)
HSLhsl(147, 47%, 34%)
HSVhsv(147, 63%, 49%)
CMYKcmyk(63.5%, 0%, 34.9%, 50.6%)
CIE-LABlab(47.12, -35.16, 16.94)
CIE-LCHlch(47.12, 39.03, 154.27°)
OKLaboklab(53.2% -0.0955 0.0427)
OKLCHoklch(53.2% 0.105 155.9)
XYZxyz(10.1097, 16.1107, 10.5579)
Luminance0.1611 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7E52 #7E2E5A
analogous
#327E2E #2E7E52 #2E7E7A
triadic
#2E7E52 #522E7E #7E522E
tetradic
#2E7E52 #2E327E #7E2E5A #7E7A2E
square
#2E7E52 #2E327E #7E2E5A #7E7A2E
split-complementary
#2E7E52 #7A2E7E #7E2E32
monochromatic
#0D2418 #1E5135 #2E7E52 #3EAB6F #61C58E

Accessibility & contrast

On white

4.97
#2E7E52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#2E7E52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7E52
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7E52#FFFFFF#000000##FFFFFF
##2E7E521.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D744F
Deuteranopia (green-blind)
#736D55
Tritanopia (blue-blind)
#0B7D73
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2e7e52;
/* rgb */ color: rgb(46, 126, 82);
/* oklch */ color: oklch(53.2% 0.105 155.9);
Tailwind
colors: {
  custom: {
    50: '#70a483',
    500: '#2e7e52',
    950: '#000000',
  },
}
SCSS
$custom: #2e7e52;
$custom-light: #70a483;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7e52",
  "rgb": {
    "r": 46,
    "g": 126,
    "b": 82
  },
  "hsl": {
    "h": 147,
    "s": 46.512,
    "l": 33.725
  },
  "oklch": {
    "l": 0.53196,
    "c": 0.10464,
    "h": 155.9
  },
  "luminance": 0.16112
}

Semantic roles & 50–950 ramp

primary
#2E7E52
secondary
#AC5C88
accent
#529BD6
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #2E7E52

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

Preview Lab → · Contrast checker → · Palette generator →

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