#2E8312#2E8312

#2E8312 is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.8% C 0.163 H 139.8°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#2E8312
RGBrgb(46, 131, 18)
HSLhsl(105, 76%, 29%)
HSVhsv(105, 86%, 51%)
CMYKcmyk(64.9%, 0%, 86.3%, 48.6%)
CIE-LABlab(48.08, -45.37, 47.92)
CIE-LCHlch(48.08, 65.99, 133.44°)
OKLaboklab(53.75% -0.1247 0.1055)
OKLCHoklch(53.75% 0.163 139.8)
XYZxyz(9.3518, 16.8562, 3.3329)
Luminance0.1686 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8312 #671283
analogous
#678312 #2E8312 #12832F
triadic
#2E8312 #122E83 #83122E
tetradic
#2E8312 #126783 #671283 #832F12
square
#2E8312 #126783 #671283 #832F12
split-complementary
#2E8312 #2F1283 #831267
monochromatic
#091B04 #1B4D0B #2E8312 #41B919 #5AE22D

Accessibility & contrast

On white

4.80
#2E8312 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#2E8312 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E8312
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E8312#FFFFFF#000000##FFFFFF
##2E83121.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#7D7021
Tritanopia (blue-blind)
#227E6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2e8312;
/* rgb */ color: rgb(46, 131, 18);
/* oklch */ color: oklch(53.8% 0.163 139.8);
Tailwind
colors: {
  custom: {
    50: '#73a85c',
    500: '#2e8312',
    950: '#000000',
  },
}
SCSS
$custom: #2e8312;
$custom-light: #73a85c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8312",
  "rgb": {
    "r": 46,
    "g": 131,
    "b": 18
  },
  "hsl": {
    "h": 105.133,
    "s": 75.839,
    "l": 29.216
  },
  "oklch": {
    "l": 0.53751,
    "c": 0.16334,
    "h": 139.8
  },
  "luminance": 0.16857
}

Semantic roles & 50–950 ramp

primary
#2E8312
secondary
#9938B8
accent
#35F2C4
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2E8312

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

Preview Lab → · Contrast checker → · Palette generator →

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