#2E7312#2E7312

#2E7312 is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.2% C 0.144 H 138.8°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#2E7312
RGBrgb(46, 115, 18)
HSLhsl(103, 73%, 26%)
HSVhsv(103, 84%, 45%)
CMYKcmyk(60%, 0%, 84.3%, 54.9%)
CIE-LABlab(42.59, -39.37, 42.90)
CIE-LCHlch(42.59, 58.23, 132.54°)
OKLaboklab(49.21% -0.1086 0.095)
OKLCHoklch(49.21% 0.144 138.8)
XYZxyz(7.3663, 12.8853, 2.6711)
Luminance0.1289 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7312 #571273
analogous
#5E7312 #2E7312 #127326
triadic
#2E7312 #122E73 #73122E
tetradic
#2E7312 #125E73 #571273 #732612
square
#2E7312 #125E73 #571273 #732612
split-complementary
#2E7312 #261273 #73125E
monochromatic
#0B1A04 #193E0A #2E7312 #43A81A #58DD23

Accessibility & contrast

On white

5.87
#2E7312 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#2E7312 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7312
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7312#FFFFFF#000000##FFFFFF
##2E73121.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#6E621E
Tritanopia (blue-blind)
#276F61
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2e7312;
/* rgb */ color: rgb(46, 115, 18);
/* oklch */ color: oklch(49.2% 0.144 138.8);
Tailwind
colors: {
  custom: {
    50: '#709c5a',
    500: '#2e7312',
    950: '#000000',
  },
}
SCSS
$custom: #2e7312;
$custom-light: #709c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7312",
  "rgb": {
    "r": 46,
    "g": 115,
    "b": 18
  },
  "hsl": {
    "h": 102.68,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.4921,
    "c": 0.14428,
    "h": 138.8
  },
  "luminance": 0.12886
}

Semantic roles & 50–950 ramp

primary
#2E7312
secondary
#8937AA
accent
#38F0BB
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2E7312

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

Preview Lab → · Contrast checker → · Palette generator →

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