#2E8118#2E8118

#2E8118 is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.2% C 0.158 H 140.2°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#2E8118
RGBrgb(46, 129, 24)
HSLhsl(107, 69%, 30%)
HSVhsv(107, 81%, 51%)
CMYKcmyk(64.3%, 0%, 81.4%, 49.4%)
CIE-LABlab(47.43, -44.30, 45.54)
CIE-LCHlch(47.43, 63.53, 134.21°)
OKLaboklab(53.22% -0.1216 0.1014)
OKLCHoklch(53.22% 0.158 140.2)
XYZxyz(9.1414, 16.3464, 3.5374)
Luminance0.1635 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8118 #6B1881
analogous
#628118 #2E8118 #188137
triadic
#2E8118 #182E81 #81182E
tetradic
#2E8118 #186281 #6B1881 #813718
square
#2E8118 #186281 #6B1881 #813718
split-complementary
#2E8118 #371881 #811862
monochromatic
#091A05 #1C4D0E #2E8118 #40B522 #5BDA39

Accessibility & contrast

On white

4.92
#2E8118 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#2E8118 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E8118
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E8118#FFFFFF#000000##FFFFFF
##2E81181.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7B6E24
Tritanopia (blue-blind)
#227D6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2e8118;
/* rgb */ color: rgb(46, 129, 24);
/* oklch */ color: oklch(53.2% 0.158 140.2);
Tailwind
colors: {
  custom: {
    50: '#72a65e',
    500: '#2e8118',
    950: '#000000',
  },
}
SCSS
$custom: #2e8118;
$custom-light: #72a65e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8118",
  "rgb": {
    "r": 46,
    "g": 129,
    "b": 24
  },
  "hsl": {
    "h": 107.429,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.53219,
    "c": 0.15828,
    "h": 140.2
  },
  "luminance": 0.16347
}

Semantic roles & 50–950 ramp

primary
#2E8118
secondary
#9D40B5
accent
#3CEBC7
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2E8118

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

Preview Lab → · Contrast checker → · Palette generator →

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