#2E8418#2E8418

#2E8418 is a mid, vivid green. Relative luminance 0.171; OKLCH L 54.1% C 0.162 H 140.3°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#2E8418
RGBrgb(46, 132, 24)
HSLhsl(108, 69%, 31%)
HSVhsv(108, 82%, 52%)
CMYKcmyk(65.2%, 0%, 81.8%, 48.2%)
CIE-LABlab(48.45, -45.40, 46.50)
CIE-LCHlch(48.45, 64.99, 134.31°)
OKLaboklab(54.06% -0.1245 0.1034)
OKLCHoklch(54.06% 0.162 140.3)
XYZxyz(9.5424, 17.1484, 3.6711)
Luminance0.1715 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8418 #6E1884
analogous
#648418 #2E8418 #188438
triadic
#2E8418 #182E84 #84182E
tetradic
#2E8418 #186484 #6E1884 #843818
square
#2E8418 #186484 #6E1884 #843818
split-complementary
#2E8418 #381884 #841864
monochromatic
#0A1C05 #1C500F #2E8418 #40B821 #5CDB3B

Accessibility & contrast

On white

4.74
#2E8418 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#2E8418 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E8418
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E8418#FFFFFF#000000##FFFFFF
##2E84181.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#7D7025
Tritanopia (blue-blind)
#217F70
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2e8418;
/* rgb */ color: rgb(46, 132, 24);
/* oklch */ color: oklch(54.1% 0.162 140.3);
Tailwind
colors: {
  custom: {
    50: '#73a95f',
    500: '#2e8418',
    950: '#000000',
  },
}
SCSS
$custom: #2e8418;
$custom-light: #73a95f;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8418",
  "rgb": {
    "r": 46,
    "g": 132,
    "b": 24
  },
  "hsl": {
    "h": 107.778,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54064,
    "c": 0.16184,
    "h": 140.3
  },
  "luminance": 0.17149
}

Semantic roles & 50–950 ramp

primary
#2E8418
secondary
#9F40B8
accent
#3CECC8
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2E8418

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

Preview Lab → · Contrast checker → · Palette generator →

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