#2E8E17#2E8E17

#2E8E17 is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.9% C 0.174 H 140.6°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#2E8E17
RGBrgb(46, 142, 23)
HSLhsl(108, 72%, 32%)
HSVhsv(108, 84%, 56%)
CMYKcmyk(67.6%, 0%, 83.8%, 44.3%)
CIE-LABlab(51.82, -49.02, 49.95)
CIE-LCHlch(51.82, 69.99, 134.46°)
OKLaboklab(56.86% -0.1343 0.1105)
OKLCHoklch(56.86% 0.174 140.6)
XYZxyz(10.9538, 19.9876, 4.0912)
Luminance0.1999 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8E17 #77178E
analogous
#6A8E17 #2E8E17 #178E3B
triadic
#2E8E17 #172E8E #8E172E
tetradic
#2E8E17 #176A8E #77178E #8E3B17
square
#2E8E17 #176A8E #77178E #8E3B17
split-complementary
#2E8E17 #3B178E #8E176A
monochromatic
#0C2506 #1D590E #2E8E17 #3FC320 #5EE03F

Accessibility & contrast

On white

4.20
#2E8E17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#2E8E17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E8E17
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E8E17#FFFFFF#000000##000000
##2E8E171.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#877926
Tritanopia (blue-blind)
#1D8979
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2e8e17;
/* rgb */ color: rgb(46, 142, 23);
/* oklch */ color: oklch(56.9% 0.174 140.6);
Tailwind
colors: {
  custom: {
    50: '#75b060',
    500: '#2e8e17',
    950: '#000000',
  },
}
SCSS
$custom: #2e8e17;
$custom-light: #75b060;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8e17",
  "rgb": {
    "r": 46,
    "g": 142,
    "b": 23
  },
  "hsl": {
    "h": 108.403,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56861,
    "c": 0.17388,
    "h": 140.6
  },
  "luminance": 0.19989
}

Semantic roles & 50–950 ramp

primary
#2E8E17
secondary
#A840C0
accent
#39EFCC
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091105
muted
#7B807A

Preview Lab

Preview with #2E8E17

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

Preview Lab → · Contrast checker → · Palette generator →

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