#2E8D17#2E8D17

#2E8D17 is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.6% C 0.173 H 140.5°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#2E8D17
RGBrgb(46, 141, 23)
HSLhsl(108, 72%, 32%)
HSVhsv(108, 84%, 55%)
CMYKcmyk(67.4%, 0%, 83.7%, 44.7%)
CIE-LABlab(51.49, -48.67, 49.64)
CIE-LCHlch(51.49, 69.52, 134.44°)
OKLaboklab(56.58% -0.1334 0.1098)
OKLCHoklch(56.58% 0.173 140.5)
XYZxyz(10.8057, 19.6914, 4.0418)
Luminance0.1969 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8D17 #76178D
analogous
#698D17 #2E8D17 #178D3B
triadic
#2E8D17 #172E8D #8D172E
tetradic
#2E8D17 #17698D #76178D #8D3B17
square
#2E8D17 #17698D #76178D #8D3B17
split-complementary
#2E8D17 #3B178D #8D1769
monochromatic
#0C2406 #1D580E #2E8D17 #3FC220 #5EE03F

Accessibility & contrast

On white

4.25
#2E8D17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#2E8D17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E8D17
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E8D17#FFFFFF#000000##000000
##2E8D171.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#867826
Tritanopia (blue-blind)
#1D8878
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2e8d17;
/* rgb */ color: rgb(46, 141, 23);
/* oklch */ color: oklch(56.6% 0.173 140.5);
Tailwind
colors: {
  custom: {
    50: '#75af60',
    500: '#2e8d17',
    950: '#000000',
  },
}
SCSS
$custom: #2e8d17;
$custom-light: #75af60;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8d17",
  "rgb": {
    "r": 46,
    "g": 141,
    "b": 23
  },
  "hsl": {
    "h": 108.305,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56582,
    "c": 0.17275,
    "h": 140.5
  },
  "luminance": 0.19692
}

Semantic roles & 50–950 ramp

primary
#2E8D17
secondary
#A740C0
accent
#39EFCB
background
#F7FAF5
surface
#EEF5EA
border
#C9CFC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2E8D17

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

Preview Lab → · Contrast checker → · Palette generator →

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