#2E7B52#2E7B52

#2E7B52 is a mid, moderate green. Relative luminance 0.154; OKLCH L 52.4% C 0.100 H 156.8°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#2E7B52
RGBrgb(46, 123, 82)
HSLhsl(148, 46%, 33%)
HSVhsv(148, 63%, 48%)
CMYKcmyk(62.6%, 0%, 33.3%, 51.8%)
CIE-LABlab(46.12, -33.83, 15.58)
CIE-LCHlch(46.12, 37.25, 155.27°)
OKLaboklab(52.37% -0.0921 0.0394)
OKLCHoklch(52.37% 0.1 156.8)
XYZxyz(9.7318, 15.3550, 10.4320)
Luminance0.1536 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7B52 #7B2E57
analogous
#307B2E #2E7B52 #2E7B78
triadic
#2E7B52 #522E7B #7B522E
tetradic
#2E7B52 #2E307B #7B2E57 #7B782E
square
#2E7B52 #2E307B #7B2E57 #7B782E
split-complementary
#2E7B52 #782E7B #7B2E30
monochromatic
#0D2217 #1D4E34 #2E7B52 #3FA870 #60C38E

Accessibility & contrast

On white

5.16
#2E7B52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#2E7B52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7B52
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7B52#FFFFFF#000000##FFFFFF
##2E7B521.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A724F
Deuteranopia (green-blind)
#706A55
Tritanopia (blue-blind)
#0D7A70
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2e7b52;
/* rgb */ color: rgb(46, 123, 82);
/* oklch */ color: oklch(52.4% 0.100 156.8);
Tailwind
colors: {
  custom: {
    50: '#6fa283',
    500: '#2e7b52',
    950: '#000000',
  },
}
SCSS
$custom: #2e7b52;
$custom-light: #6fa283;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7b52",
  "rgb": {
    "r": 46,
    "g": 123,
    "b": 82
  },
  "hsl": {
    "h": 148.052,
    "s": 45.562,
    "l": 33.137
  },
  "oklch": {
    "l": 0.52374,
    "c": 0.10016,
    "h": 156.8
  },
  "luminance": 0.15356
}

Semantic roles & 50–950 ramp

primary
#2E7B52
secondary
#AA5B85
accent
#5398D5
background
#F7FAF8
surface
#EDF3EF
border
#C8CDCA
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #2E7B52

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

Preview Lab → · Contrast checker → · Palette generator →

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