#2E7917#2E7917

#2E7917 is a mid, vivid green. Relative luminance 0.143; OKLCH L 50.9% C 0.149 H 139.7°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#2E7917
RGBrgb(46, 121, 23)
HSLhsl(106, 68%, 28%)
HSVhsv(106, 81%, 47%)
CMYKcmyk(62%, 0%, 81%, 52.5%)
CIE-LABlab(44.68, -41.37, 43.26)
CIE-LCHlch(44.68, 59.85, 133.72°)
OKLaboklab(50.95% -0.1137 0.0965)
OKLCHoklch(50.95% 0.149 139.7)
XYZxyz(8.1184, 14.3167, 3.1460)
Luminance0.1432 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7917 #621779
analogous
#5F7917 #2E7917 #177931
triadic
#2E7917 #172E79 #79172E
tetradic
#2E7917 #175F79 #621779 #793117
square
#2E7917 #175F79 #621779 #793117
split-complementary
#2E7917 #311779 #79175F
monochromatic
#0A1A05 #1A460D #2E7917 #42AC21 #59D832

Accessibility & contrast

On white

5.44
#2E7917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#2E7917 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7917
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7917#FFFFFF#000000##FFFFFF
##2E79171.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6D00
Deuteranopia (green-blind)
#736722
Tritanopia (blue-blind)
#257567
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2e7917;
/* rgb */ color: rgb(46, 121, 23);
/* oklch */ color: oklch(50.9% 0.149 139.7);
Tailwind
colors: {
  custom: {
    50: '#71a05d',
    500: '#2e7917',
    950: '#000000',
  },
}
SCSS
$custom: #2e7917;
$custom-light: #71a05d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7917",
  "rgb": {
    "r": 46,
    "g": 121,
    "b": 23
  },
  "hsl": {
    "h": 105.918,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50949,
    "c": 0.14912,
    "h": 139.7
  },
  "luminance": 0.14317
}

Semantic roles & 50–950 ramp

primary
#2E7917
secondary
#943EAE
accent
#3DEBC2
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080F04
muted
#7B7E79

Preview Lab

Preview with #2E7917

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

Preview Lab → · Contrast checker → · Palette generator →

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