#2E8417#2E8417

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

Color values

HEX#2E8417
RGBrgb(46, 132, 23)
HSLhsl(107, 70%, 30%)
HSVhsv(107, 83%, 52%)
CMYKcmyk(65.2%, 0%, 82.6%, 48.2%)
CIE-LABlab(48.44, -45.46, 46.81)
CIE-LCHlch(48.44, 65.25, 134.16°)
OKLaboklab(54.06% -0.1247 0.1039)
OKLCHoklch(54.06% 0.162 140.2)
XYZxyz(9.5322, 17.1443, 3.6173)
Luminance0.1714 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8417 #6D1784
analogous
#658417 #2E8417 #178436
triadic
#2E8417 #172E84 #84172E
tetradic
#2E8417 #176584 #6D1784 #843617
square
#2E8417 #176584 #6D1784 #843617
split-complementary
#2E8417 #361784 #841765
monochromatic
#0A1C05 #1C500E #2E8417 #40B820 #5BDC39

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E8417#FFFFFF#000000##FFFFFF
##2E84171.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)
#7D7024
Tritanopia (blue-blind)
#217F70
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2e8417;
/* rgb */ color: rgb(46, 132, 23);
/* oklch */ color: oklch(54.1% 0.162 140.2);
Tailwind
colors: {
  custom: {
    50: '#73a95e',
    500: '#2e8417',
    950: '#000000',
  },
}
SCSS
$custom: #2e8417;
$custom-light: #73a95e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8417",
  "rgb": {
    "r": 46,
    "g": 132,
    "b": 23
  },
  "hsl": {
    "h": 107.339,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.54059,
    "c": 0.16233,
    "h": 140.2
  },
  "luminance": 0.17145
}

Semantic roles & 50–950 ramp

primary
#2E8417
secondary
#9F3FB8
accent
#3BEDC7
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2E8417

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

Preview Lab → · Contrast checker → · Palette generator →

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