#2E8731#2E8731

#2E8731 is a mid, vivid green. Relative luminance 0.181; OKLCH L 55.1% C 0.149 H 143.7°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#2E8731
RGBrgb(46, 135, 49)
HSLhsl(122, 49%, 35%)
HSVhsv(122, 66%, 53%)
CMYKcmyk(65.9%, 0%, 63.7%, 47.1%)
CIE-LABlab(49.65, -44.26, 37.69)
CIE-LCHlch(49.65, 58.13, 139.59°)
OKLaboklab(55.12% -0.1201 0.0881)
OKLCHoklch(55.12% 0.149 143.7)
XYZxyz(10.3444, 18.1295, 5.8593)
Luminance0.1813 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8731 #872E84
analogous
#58872E #2E8731 #2E875D
triadic
#2E8731 #312E87 #87312E
tetradic
#2E8731 #2E5887 #872E84 #875D2E
square
#2E8731 #2E5887 #872E84 #875D2E
split-complementary
#2E8731 #5D2E87 #872E58
monochromatic
#0F2C10 #1E5920 #2E8731 #3EB542 #65CA68

Accessibility & contrast

On white

4.54
#2E8731 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#2E8731 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E8731
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E8731#FFFFFF#000000##000000
##2E87311.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B27
Deuteranopia (green-blind)
#7F7338
Tritanopia (blue-blind)
#1A8375
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2e8731;
/* rgb */ color: rgb(46, 135, 49);
/* oklch */ color: oklch(55.1% 0.149 143.7);
Tailwind
colors: {
  custom: {
    50: '#72ab6d',
    500: '#2e8731',
    950: '#000000',
  },
}
SCSS
$custom: #2e8731;
$custom-light: #72ab6d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8731",
  "rgb": {
    "r": 46,
    "g": 135,
    "b": 49
  },
  "hsl": {
    "h": 122.022,
    "s": 49.171,
    "l": 35.49
  },
  "oklch": {
    "l": 0.55124,
    "c": 0.14894,
    "h": 143.7
  },
  "luminance": 0.18131
}

Semantic roles & 50–950 ramp

primary
#2E8731
secondary
#B160AE
accent
#4FD4D9
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2E8731

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

Preview Lab → · Contrast checker → · Palette generator →

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