#2E7512#2E7512

#2E7512 is a mid, vivid green. Relative luminance 0.133; OKLCH L 49.8% C 0.147 H 139.0°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#2E7512
RGBrgb(46, 117, 18)
HSLhsl(103, 73%, 26%)
HSVhsv(103, 85%, 46%)
CMYKcmyk(60.7%, 0%, 84.6%, 54.1%)
CIE-LABlab(43.28, -40.14, 43.54)
CIE-LCHlch(43.28, 59.22, 132.67°)
OKLaboklab(49.78% -0.1107 0.0963)
OKLCHoklch(49.78% 0.147 139)
XYZxyz(7.5969, 13.3464, 2.7479)
Luminance0.1335 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7512 #591275
analogous
#607512 #2E7512 #127528
triadic
#2E7512 #122E75 #75122E
tetradic
#2E7512 #126075 #591275 #752812
square
#2E7512 #126075 #591275 #752812
split-complementary
#2E7512 #281275 #751260
monochromatic
#0A1B04 #19400A #2E7512 #43AA1A #58DD24

Accessibility & contrast

On white

5.72
#2E7512 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#2E7512 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7512
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7512#FFFFFF#000000##FFFFFF
##2E75121.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#70641E
Tritanopia (blue-blind)
#267163
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2e7512;
/* rgb */ color: rgb(46, 117, 18);
/* oklch */ color: oklch(49.8% 0.147 139.0);
Tailwind
colors: {
  custom: {
    50: '#709d5a',
    500: '#2e7512',
    950: '#000000',
  },
}
SCSS
$custom: #2e7512;
$custom-light: #709d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7512",
  "rgb": {
    "r": 46,
    "g": 117,
    "b": 18
  },
  "hsl": {
    "h": 103.03,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.49781,
    "c": 0.14672,
    "h": 139
  },
  "luminance": 0.13347
}

Semantic roles & 50–950 ramp

primary
#2E7512
secondary
#8B37AC
accent
#38F0BC
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2E7512

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

Preview Lab → · Contrast checker → · Palette generator →

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