#2E8758#2E8758

#2E8758 is a mid, moderate green. Relative luminance 0.186; OKLCH L 55.8% C 0.112 H 156.5°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#2E8758
RGBrgb(46, 135, 88)
HSLhsl(148, 49%, 35%)
HSVhsv(148, 66%, 53%)
CMYKcmyk(65.9%, 0%, 34.8%, 47.1%)
CIE-LABlab(50.23, -37.81, 17.73)
CIE-LCHlch(50.23, 41.76, 154.87°)
OKLaboklab(55.79% -0.1027 0.0447)
OKLCHoklch(55.79% 0.112 156.5)
XYZxyz(11.5511, 18.6122, 12.2144)
Luminance0.1861 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8758 #872E5D
analogous
#30872E #2E8758 #2E8784
triadic
#2E8758 #582E87 #87582E
tetradic
#2E8758 #2E3087 #872E5D #87842E
square
#2E8758 #2E3087 #872E5D #87842E
split-complementary
#2E8758 #842E87 #872E30
monochromatic
#0F2C1C #1E593A #2E8758 #3EB576 #65CA95

Accessibility & contrast

On white

4.45
#2E8758 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#2E8758 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E8758
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E8758#FFFFFF#000000##000000
##2E87581.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#867C55
Deuteranopia (green-blind)
#7A745B
Tritanopia (blue-blind)
#00867B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2e8758;
/* rgb */ color: rgb(46, 135, 88);
/* oklch */ color: oklch(55.8% 0.112 156.5);
Tailwind
colors: {
  custom: {
    50: '#71ab87',
    500: '#2e8758',
    950: '#000000',
  },
}
SCSS
$custom: #2e8758;
$custom-light: #71ab87;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8758",
  "rgb": {
    "r": 46,
    "g": 135,
    "b": 88
  },
  "hsl": {
    "h": 148.315,
    "s": 49.171,
    "l": 35.49
  },
  "oklch": {
    "l": 0.55788,
    "c": 0.11197,
    "h": 156.5
  },
  "luminance": 0.18613
}

Semantic roles & 50–950 ramp

primary
#2E8758
secondary
#B1608B
accent
#4F98D9
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100B
muted
#7B7F7C

Preview Lab

Preview with #2E8758

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

Preview Lab → · Contrast checker → · Palette generator →

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