#2E6812#2E6812

#2E6812 is a mid, vivid green. Relative luminance 0.105; OKLCH L 46.1% C 0.130 H 137.9°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#2E6812
RGBrgb(46, 104, 18)
HSLhsl(100, 70%, 24%)
HSVhsv(100, 83%, 41%)
CMYKcmyk(55.8%, 0%, 82.7%, 59.2%)
CIE-LABlab(38.77, -34.95, 39.32)
CIE-LCHlch(38.77, 52.61, 131.63°)
OKLaboklab(46.06% -0.0967 0.0875)
OKLCHoklch(46.06% 0.13 137.9)
XYZxyz(6.1860, 10.5247, 2.2776)
Luminance0.1052 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6812 #4C1268
analogous
#596812 #2E6812 #126821
triadic
#2E6812 #122E68 #68122E
tetradic
#2E6812 #125968 #4C1268 #682112
square
#2E6812 #125968 #4C1268 #682112
split-complementary
#2E6812 #211268 #681259
monochromatic
#0C1A05 #173409 #2E6812 #459C1B #5CD024

Accessibility & contrast

On white

6.76
#2E6812 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#2E6812 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E6812
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6812#FFFFFF#000000##FFFFFF
##2E68121.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5E00
Deuteranopia (green-blind)
#64591C
Tritanopia (blue-blind)
#296458
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2e6812;
/* rgb */ color: rgb(46, 104, 18);
/* oklch */ color: oklch(46.1% 0.130 137.9);
Tailwind
colors: {
  custom: {
    50: '#6e9458',
    500: '#2e6812',
    950: '#000000',
  },
}
SCSS
$custom: #2e6812;
$custom-light: #6e9458;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6812",
  "rgb": {
    "r": 46,
    "g": 104,
    "b": 18
  },
  "hsl": {
    "h": 100.465,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.46056,
    "c": 0.13042,
    "h": 137.9
  },
  "luminance": 0.10525
}

Semantic roles & 50–950 ramp

primary
#2E6812
secondary
#7D36A0
accent
#3BEDB3
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2E6812

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

Preview Lab → · Contrast checker → · Palette generator →

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