#2E7612#2E7612

#2E7612 is a mid, vivid green. Relative luminance 0.136; OKLCH L 50.1% C 0.148 H 139.0°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#2E7612
RGBrgb(46, 118, 18)
HSLhsl(103, 74%, 27%)
HSVhsv(103, 85%, 46%)
CMYKcmyk(61%, 0%, 84.7%, 53.7%)
CIE-LABlab(43.63, -40.53, 43.86)
CIE-LCHlch(43.63, 59.72, 132.74°)
OKLaboklab(50.07% -0.1117 0.097)
OKLCHoklch(50.07% 0.148 139)
XYZxyz(7.7140, 13.5807, 2.7870)
Luminance0.1358 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7612 #5A1276
analogous
#607612 #2E7612 #127628
triadic
#2E7612 #122E76 #76122E
tetradic
#2E7612 #126076 #5A1276 #762812
square
#2E7612 #126076 #5A1276 #762812
split-complementary
#2E7612 #281276 #761260
monochromatic
#0A1B04 #19410A #2E7612 #43AB1A #59DE25

Accessibility & contrast

On white

5.65
#2E7612 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#2E7612 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7612
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7612#FFFFFF#000000##FFFFFF
##2E76121.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#71651E
Tritanopia (blue-blind)
#267264
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2e7612;
/* rgb */ color: rgb(46, 118, 18);
/* oklch */ color: oklch(50.1% 0.148 139.0);
Tailwind
colors: {
  custom: {
    50: '#709e5a',
    500: '#2e7612',
    950: '#000000',
  },
}
SCSS
$custom: #2e7612;
$custom-light: #709e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7612",
  "rgb": {
    "r": 46,
    "g": 118,
    "b": 18
  },
  "hsl": {
    "h": 103.2,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.50066,
    "c": 0.14794,
    "h": 139
  },
  "luminance": 0.13581
}

Semantic roles & 50–950 ramp

primary
#2E7612
secondary
#8C37AD
accent
#38F0BD
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2E7612

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

Preview Lab → · Contrast checker → · Palette generator →

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