#2E8018#2E8018

#2E8018 is a mid, vivid green. Relative luminance 0.161; OKLCH L 52.9% C 0.157 H 140.1°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#2E8018
RGBrgb(46, 128, 24)
HSLhsl(107, 68%, 30%)
HSVhsv(107, 81%, 50%)
CMYKcmyk(64.1%, 0%, 81.3%, 49.8%)
CIE-LABlab(47.08, -43.93, 45.21)
CIE-LCHlch(47.08, 63.04, 134.18°)
OKLaboklab(52.94% -0.1206 0.1007)
OKLCHoklch(52.94% 0.157 140.1)
XYZxyz(9.0103, 16.0843, 3.4937)
Luminance0.1608 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8018 #6A1880
analogous
#628018 #2E8018 #188036
triadic
#2E8018 #182E80 #80182E
tetradic
#2E8018 #186280 #6A1880 #803618
square
#2E8018 #186280 #6A1880 #803618
split-complementary
#2E8018 #361880 #801862
monochromatic
#091A05 #1B4C0E #2E8018 #41B422 #5BDA39

Accessibility & contrast

On white

4.98
#2E8018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#2E8018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E8018
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E8018#FFFFFF#000000##FFFFFF
##2E80181.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7A6D24
Tritanopia (blue-blind)
#227C6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2e8018;
/* rgb */ color: rgb(46, 128, 24);
/* oklch */ color: oklch(52.9% 0.157 140.1);
Tailwind
colors: {
  custom: {
    50: '#72a65e',
    500: '#2e8018',
    950: '#000000',
  },
}
SCSS
$custom: #2e8018;
$custom-light: #72a65e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8018",
  "rgb": {
    "r": 46,
    "g": 128,
    "b": 24
  },
  "hsl": {
    "h": 107.308,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52937,
    "c": 0.15709,
    "h": 140.1
  },
  "luminance": 0.16085
}

Semantic roles & 50–950 ramp

primary
#2E8018
secondary
#9C40B4
accent
#3DEBC6
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2E8018

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

Preview Lab → · Contrast checker → · Palette generator →

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