#2E7617#2E7617

#2E7617 is a mid, vivid green. Relative luminance 0.136; OKLCH L 50.1% C 0.145 H 139.5°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#2E7617
RGBrgb(46, 118, 23)
HSLhsl(105, 67%, 28%)
HSVhsv(105, 81%, 46%)
CMYKcmyk(61%, 0%, 80.5%, 53.7%)
CIE-LABlab(43.65, -40.22, 42.27)
CIE-LCHlch(43.65, 58.34, 133.58°)
OKLaboklab(50.1% -0.1106 0.0944)
OKLCHoklch(50.1% 0.145 139.5)
XYZxyz(7.7595, 13.5989, 3.0264)
Luminance0.1360 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7617 #5F1776
analogous
#5D7617 #2E7617 #177630
triadic
#2E7617 #172E76 #76172E
tetradic
#2E7617 #175D76 #5F1776 #763017
square
#2E7617 #175D76 #5F1776 #763017
split-complementary
#2E7617 #301776 #76175D
monochromatic
#0A1A05 #1A430D #2E7617 #42A921 #59D731

Accessibility & contrast

On white

5.65
#2E7617 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#2E7617 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7617
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7617#FFFFFF#000000##FFFFFF
##2E76171.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B01
Deuteranopia (green-blind)
#716522
Tritanopia (blue-blind)
#257264
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2e7617;
/* rgb */ color: rgb(46, 118, 23);
/* oklch */ color: oklch(50.1% 0.145 139.5);
Tailwind
colors: {
  custom: {
    50: '#709e5c',
    500: '#2e7617',
    950: '#000000',
  },
}
SCSS
$custom: #2e7617;
$custom-light: #709e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7617",
  "rgb": {
    "r": 46,
    "g": 118,
    "b": 23
  },
  "hsl": {
    "h": 105.474,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.50097,
    "c": 0.14542,
    "h": 139.5
  },
  "luminance": 0.136
}

Semantic roles & 50–950 ramp

primary
#2E7617
secondary
#913EAB
accent
#3EEAC0
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2E7617

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

Preview Lab → · Contrast checker → · Palette generator →

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