#2E6712#2E6712

#2E6712 is a mid, vivid green. Relative luminance 0.103; OKLCH L 45.8% C 0.129 H 137.8°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#2E6712
RGBrgb(46, 103, 18)
HSLhsl(100, 70%, 24%)
HSVhsv(100, 83%, 40%)
CMYKcmyk(55.3%, 0%, 82.5%, 59.6%)
CIE-LABlab(38.42, -34.53, 38.99)
CIE-LCHlch(38.42, 52.08, 131.53°)
OKLaboklab(45.77% -0.0956 0.0868)
OKLCHoklch(45.77% 0.129 137.8)
XYZxyz(6.0859, 10.3245, 2.2443)
Luminance0.1032 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6712 #4B1267
analogous
#586712 #2E6712 #126720
triadic
#2E6712 #122E67 #67122E
tetradic
#2E6712 #125867 #4B1267 #672012
square
#2E6712 #125867 #4B1267 #672012
split-complementary
#2E6712 #201267 #671258
monochromatic
#0C1A05 #173309 #2E6712 #459B1B #5DCF24

Accessibility & contrast

On white

6.85
#2E6712 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#2E6712 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E6712
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6712#FFFFFF#000000##FFFFFF
##2E67121.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5D00
Deuteranopia (green-blind)
#63591C
Tritanopia (blue-blind)
#2A6357
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2e6712;
/* rgb */ color: rgb(46, 103, 18);
/* oklch */ color: oklch(45.8% 0.129 137.8);
Tailwind
colors: {
  custom: {
    50: '#6e9358',
    500: '#2e6712',
    950: '#000000',
  },
}
SCSS
$custom: #2e6712;
$custom-light: #6e9358;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6712",
  "rgb": {
    "r": 46,
    "g": 103,
    "b": 18
  },
  "hsl": {
    "h": 100.235,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.45768,
    "c": 0.12913,
    "h": 137.8
  },
  "luminance": 0.10325
}

Semantic roles & 50–950 ramp

primary
#2E6712
secondary
#7C369F
accent
#3BEDB2
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D03
muted
#7B7E78

Preview Lab

Preview with #2E6712

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

Preview Lab → · Contrast checker → · Palette generator →

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