#2E8117#2E8117

#2E8117 is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.2% C 0.159 H 140.1°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#2E8117
RGBrgb(46, 129, 23)
HSLhsl(107, 70%, 30%)
HSVhsv(107, 82%, 51%)
CMYKcmyk(64.3%, 0%, 82.2%, 49.4%)
CIE-LABlab(47.42, -44.37, 45.85)
CIE-LCHlch(47.42, 63.80, 134.05°)
OKLaboklab(53.21% -0.1218 0.1019)
OKLCHoklch(53.21% 0.159 140.1)
XYZxyz(9.1312, 16.3423, 3.4836)
Luminance0.1634 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8117 #6A1781
analogous
#638117 #2E8117 #178135
triadic
#2E8117 #172E81 #81172E
tetradic
#2E8117 #176381 #6A1781 #813517
square
#2E8117 #176381 #6A1781 #813517
split-complementary
#2E8117 #351781 #811763
monochromatic
#091A05 #1B4D0E #2E8117 #41B520 #5BDB37

Accessibility & contrast

On white

4.92
#2E8117 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#2E8117 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E8117
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E8117#FFFFFF#000000##FFFFFF
##2E81171.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7B6E24
Tritanopia (blue-blind)
#227D6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2e8117;
/* rgb */ color: rgb(46, 129, 23);
/* oklch */ color: oklch(53.2% 0.159 140.1);
Tailwind
colors: {
  custom: {
    50: '#72a65e',
    500: '#2e8117',
    950: '#000000',
  },
}
SCSS
$custom: #2e8117;
$custom-light: #72a65e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8117",
  "rgb": {
    "r": 46,
    "g": 129,
    "b": 23
  },
  "hsl": {
    "h": 106.981,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.53213,
    "c": 0.15878,
    "h": 140.1
  },
  "luminance": 0.16343
}

Semantic roles & 50–950 ramp

primary
#2E8117
secondary
#9C3EB5
accent
#3BEDC6
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2E8117

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

Preview Lab → · Contrast checker → · Palette generator →

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