#2E8517#2E8517

#2E8517 is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.3% C 0.164 H 140.2°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#2E8517
RGBrgb(46, 133, 23)
HSLhsl(107, 71%, 31%)
HSVhsv(107, 83%, 52%)
CMYKcmyk(65.4%, 0%, 82.7%, 47.8%)
CIE-LABlab(48.78, -45.82, 47.13)
CIE-LCHlch(48.78, 65.73, 134.20°)
OKLaboklab(54.34% -0.1257 0.1046)
OKLCHoklch(54.34% 0.164 140.2)
XYZxyz(9.6684, 17.4168, 3.6627)
Luminance0.1742 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8517 #6E1785
analogous
#658517 #2E8517 #178537
triadic
#2E8517 #172E85 #85172E
tetradic
#2E8517 #176585 #6E1785 #853717
square
#2E8517 #176585 #6E1785 #853717
split-complementary
#2E8517 #371785 #851765
monochromatic
#0A1D05 #1C510E #2E8517 #40B920 #5CDD3A

Accessibility & contrast

On white

4.68
#2E8517 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#2E8517 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E8517
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E8517#FFFFFF#000000##FFFFFF
##2E85171.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#7E7124
Tritanopia (blue-blind)
#208071
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2e8517;
/* rgb */ color: rgb(46, 133, 23);
/* oklch */ color: oklch(54.3% 0.164 140.2);
Tailwind
colors: {
  custom: {
    50: '#73a95f',
    500: '#2e8517',
    950: '#000000',
  },
}
SCSS
$custom: #2e8517;
$custom-light: #73a95f;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8517",
  "rgb": {
    "r": 46,
    "g": 133,
    "b": 23
  },
  "hsl": {
    "h": 107.455,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.5434,
    "c": 0.1635,
    "h": 140.2
  },
  "luminance": 0.17418
}

Semantic roles & 50–950 ramp

primary
#2E8517
secondary
#9F3FB9
accent
#3BEDC8
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2E8517

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

Preview Lab → · Contrast checker → · Palette generator →

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