#2E8738#2E8738

#2E8738 is a mid, vivid green. Relative luminance 0.182; OKLCH L 55.2% C 0.143 H 145.2°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#2E8738
RGBrgb(46, 135, 56)
HSLhsl(127, 49%, 35%)
HSVhsv(127, 66%, 53%)
CMYKcmyk(65.9%, 0%, 58.5%, 47.1%)
CIE-LABlab(49.73, -43.38, 34.37)
CIE-LCHlch(49.73, 55.34, 141.60°)
OKLaboklab(55.21% -0.1173 0.0816)
OKLCHoklch(55.21% 0.143 145.2)
XYZxyz(10.5038, 18.1933, 6.6987)
Luminance0.1819 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8738 #872E7D
analogous
#50872E #2E8738 #2E8765
triadic
#2E8738 #382E87 #87382E
tetradic
#2E8738 #2E5087 #872E7D #87652E
square
#2E8738 #2E5087 #872E7D #87652E
split-complementary
#2E8738 #652E87 #872E50
monochromatic
#0F2C12 #1E5925 #2E8738 #3EB54B #65CA70

Accessibility & contrast

On white

4.53
#2E8738 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#2E8738 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E8738
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E8738#FFFFFF#000000##000000
##2E87381.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#897B30
Deuteranopia (green-blind)
#7E733E
Tritanopia (blue-blind)
#178476
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2e8738;
/* rgb */ color: rgb(46, 135, 56);
/* oklch */ color: oklch(55.2% 0.143 145.2);
Tailwind
colors: {
  custom: {
    50: '#72ab71',
    500: '#2e8738',
    950: '#000000',
  },
}
SCSS
$custom: #2e8738;
$custom-light: #72ab71;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8738",
  "rgb": {
    "r": 46,
    "g": 135,
    "b": 56
  },
  "hsl": {
    "h": 126.742,
    "s": 49.171,
    "l": 35.49
  },
  "oklch": {
    "l": 0.55212,
    "c": 0.14294,
    "h": 145.2
  },
  "luminance": 0.18194
}

Semantic roles & 50–950 ramp

primary
#2E8738
secondary
#B160A8
accent
#4FC9D9
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #2E8738

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

Preview Lab → · Contrast checker → · Palette generator →

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