#2E8218#2E8218

#2E8218 is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.5% C 0.159 H 140.2°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#2E8218
RGBrgb(46, 130, 24)
HSLhsl(108, 69%, 30%)
HSVhsv(108, 82%, 51%)
CMYKcmyk(64.6%, 0%, 81.5%, 49%)
CIE-LABlab(47.77, -44.67, 45.86)
CIE-LCHlch(47.77, 64.02, 134.25°)
OKLaboklab(53.5% -0.1225 0.1021)
OKLCHoklch(53.5% 0.159 140.2)
XYZxyz(9.2738, 16.6112, 3.5815)
Luminance0.1661 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8218 #6C1882
analogous
#638218 #2E8218 #188237
triadic
#2E8218 #182E82 #82182E
tetradic
#2E8218 #186382 #6C1882 #823718
square
#2E8218 #186382 #6C1882 #823718
split-complementary
#2E8218 #371882 #821863
monochromatic
#091B05 #1C4E0E #2E8218 #40B622 #5BDB3A

Accessibility & contrast

On white

4.86
#2E8218 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#2E8218 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E8218
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E8218#FFFFFF#000000##FFFFFF
##2E82181.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#7C6F25
Tritanopia (blue-blind)
#217E6E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2e8218;
/* rgb */ color: rgb(46, 130, 24);
/* oklch */ color: oklch(53.5% 0.159 140.2);
Tailwind
colors: {
  custom: {
    50: '#73a75e',
    500: '#2e8218',
    950: '#000000',
  },
}
SCSS
$custom: #2e8218;
$custom-light: #73a75e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8218",
  "rgb": {
    "r": 46,
    "g": 130,
    "b": 24
  },
  "hsl": {
    "h": 107.547,
    "s": 68.831,
    "l": 30.196
  },
  "oklch": {
    "l": 0.53501,
    "c": 0.15948,
    "h": 140.2
  },
  "luminance": 0.16612
}

Semantic roles & 50–950 ramp

primary
#2E8218
secondary
#9E40B6
accent
#3CECC7
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2E8218

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

Preview Lab → · Contrast checker → · Palette generator →

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