#2E8818#2E8818

#2E8818 is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.2% C 0.167 H 140.4°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#2E8818
RGBrgb(46, 136, 24)
HSLhsl(108, 70%, 31%)
HSVhsv(108, 82%, 53%)
CMYKcmyk(66.2%, 0%, 82.4%, 46.7%)
CIE-LABlab(49.80, -46.84, 47.78)
CIE-LCHlch(49.80, 66.91, 134.43°)
OKLaboklab(55.19% -0.1284 0.1061)
OKLCHoklch(55.19% 0.167 140.4)
XYZxyz(10.0953, 18.2541, 3.8554)
Luminance0.1825 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8818 #721888
analogous
#668818 #2E8818 #18883A
triadic
#2E8818 #182E88 #88182E
tetradic
#2E8818 #186688 #721888 #883A18
square
#2E8818 #186688 #721888 #883A18
split-complementary
#2E8818 #3A1888 #881866
monochromatic
#0B2006 #1C540F #2E8818 #40BC21 #5DDD3E

Accessibility & contrast

On white

4.52
#2E8818 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#2E8818 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E8818
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E8818#FFFFFF#000000##000000
##2E88181.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#817426
Tritanopia (blue-blind)
#1F8374
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2e8818;
/* rgb */ color: rgb(46, 136, 24);
/* oklch */ color: oklch(55.2% 0.167 140.4);
Tailwind
colors: {
  custom: {
    50: '#74ac5f',
    500: '#2e8818',
    950: '#000000',
  },
}
SCSS
$custom: #2e8818;
$custom-light: #74ac5f;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8818",
  "rgb": {
    "r": 46,
    "g": 136,
    "b": 24
  },
  "hsl": {
    "h": 108.214,
    "s": 70,
    "l": 31.373
  },
  "oklch": {
    "l": 0.55188,
    "c": 0.16654,
    "h": 140.4
  },
  "luminance": 0.18255
}

Semantic roles & 50–950 ramp

primary
#2E8818
secondary
#A340BC
accent
#3BEDCA
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2E8818

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

Preview Lab → · Contrast checker → · Palette generator →

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