#2E7717#2E7717

#2E7717 is a mid, vivid green. Relative luminance 0.138; OKLCH L 50.4% C 0.147 H 139.6°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#2E7717
RGBrgb(46, 119, 23)
HSLhsl(106, 68%, 28%)
HSVhsv(106, 81%, 47%)
CMYKcmyk(61.3%, 0%, 80.7%, 53.3%)
CIE-LABlab(44.00, -40.60, 42.60)
CIE-LCHlch(44.00, 58.85, 133.63°)
OKLaboklab(50.38% -0.1117 0.0951)
OKLCHoklch(50.38% 0.147 139.6)
XYZxyz(7.8779, 13.8357, 3.0658)
Luminance0.1384 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7717 #601777
analogous
#5E7717 #2E7717 #177730
triadic
#2E7717 #172E77 #77172E
tetradic
#2E7717 #175E77 #601777 #773017
square
#2E7717 #175E77 #601777 #773017
split-complementary
#2E7717 #301777 #77175E
monochromatic
#0A1A05 #1A440D #2E7717 #42AA21 #59D731

Accessibility & contrast

On white

5.57
#2E7717 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#2E7717 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7717
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7717#FFFFFF#000000##FFFFFF
##2E77171.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#726622
Tritanopia (blue-blind)
#257365
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2e7717;
/* rgb */ color: rgb(46, 119, 23);
/* oklch */ color: oklch(50.4% 0.147 139.6);
Tailwind
colors: {
  custom: {
    50: '#709f5c',
    500: '#2e7717',
    950: '#000000',
  },
}
SCSS
$custom: #2e7717;
$custom-light: #709f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7717",
  "rgb": {
    "r": 46,
    "g": 119,
    "b": 23
  },
  "hsl": {
    "h": 105.625,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.50381,
    "c": 0.14666,
    "h": 139.6
  },
  "luminance": 0.13836
}

Semantic roles & 50–950 ramp

primary
#2E7717
secondary
#923EAC
accent
#3DEAC1
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2E7717

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

Preview Lab → · Contrast checker → · Palette generator →

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