#2E8518#2E8518

#2E8518 is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.3% C 0.163 H 140.3°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#2E8518
RGBrgb(46, 133, 24)
HSLhsl(108, 69%, 31%)
HSVhsv(108, 82%, 52%)
CMYKcmyk(65.4%, 0%, 82%, 47.8%)
CIE-LABlab(48.79, -45.76, 46.82)
CIE-LCHlch(48.79, 65.47, 134.34°)
OKLaboklab(54.35% -0.1255 0.1041)
OKLCHoklch(54.35% 0.163 140.3)
XYZxyz(9.6786, 17.4209, 3.7165)
Luminance0.1742 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8518 #6F1885
analogous
#648518 #2E8518 #188538
triadic
#2E8518 #182E85 #85182E
tetradic
#2E8518 #186485 #6F1885 #853818
square
#2E8518 #186485 #6F1885 #853818
split-complementary
#2E8518 #381885 #851864
monochromatic
#0A1D05 #1C510F #2E8518 #40B921 #5CDC3C

Accessibility & contrast

On white

4.68
#2E8518 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#2E8518 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E8518
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E8518#FFFFFF#000000##FFFFFF
##2E85181.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#7E7125
Tritanopia (blue-blind)
#208071
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2e8518;
/* rgb */ color: rgb(46, 133, 24);
/* oklch */ color: oklch(54.3% 0.163 140.3);
Tailwind
colors: {
  custom: {
    50: '#73a95f',
    500: '#2e8518',
    950: '#000000',
  },
}
SCSS
$custom: #2e8518;
$custom-light: #73a95f;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8518",
  "rgb": {
    "r": 46,
    "g": 133,
    "b": 24
  },
  "hsl": {
    "h": 107.89,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54346,
    "c": 0.16302,
    "h": 140.3
  },
  "luminance": 0.17422
}

Semantic roles & 50–950 ramp

primary
#2E8518
secondary
#A040B9
accent
#3CECC9
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2E8518

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

Preview Lab → · Contrast checker → · Palette generator →

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