#2E8017#2E8017

#2E8017 is a mid, vivid green. Relative luminance 0.161; OKLCH L 52.9% C 0.158 H 140.0°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#2E8017
RGBrgb(46, 128, 23)
HSLhsl(107, 70%, 30%)
HSVhsv(107, 82%, 50%)
CMYKcmyk(64.1%, 0%, 82%, 49.8%)
CIE-LABlab(47.08, -44.00, 45.53)
CIE-LCHlch(47.08, 63.32, 134.02°)
OKLaboklab(52.93% -0.1208 0.1012)
OKLCHoklch(52.93% 0.158 140)
XYZxyz(9.0001, 16.0802, 3.4399)
Luminance0.1608 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8017 #691780
analogous
#638017 #2E8017 #178035
triadic
#2E8017 #172E80 #80172E
tetradic
#2E8017 #176380 #691780 #803517
square
#2E8017 #176380 #691780 #803517
split-complementary
#2E8017 #351780 #801763
monochromatic
#091A05 #1B4C0E #2E8017 #41B420 #5ADB36

Accessibility & contrast

On white

4.98
#2E8017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#2E8017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E8017
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E8017#FFFFFF#000000##FFFFFF
##2E80171.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7A6D24
Tritanopia (blue-blind)
#227C6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2e8017;
/* rgb */ color: rgb(46, 128, 23);
/* oklch */ color: oklch(52.9% 0.158 140.0);
Tailwind
colors: {
  custom: {
    50: '#72a65e',
    500: '#2e8017',
    950: '#000000',
  },
}
SCSS
$custom: #2e8017;
$custom-light: #72a65e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8017",
  "rgb": {
    "r": 46,
    "g": 128,
    "b": 23
  },
  "hsl": {
    "h": 106.857,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52931,
    "c": 0.15759,
    "h": 140
  },
  "luminance": 0.16081
}

Semantic roles & 50–950 ramp

primary
#2E8017
secondary
#9B3EB4
accent
#3BECC6
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2E8017

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

Preview Lab → · Contrast checker → · Palette generator →

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