#2E6612#2E6612

#2E6612 is a mid, vivid green. Relative luminance 0.101; OKLCH L 45.5% C 0.128 H 137.7°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#2E6612
RGBrgb(46, 102, 18)
HSLhsl(100, 70%, 24%)
HSVhsv(100, 82%, 40%)
CMYKcmyk(54.9%, 0%, 82.4%, 60%)
CIE-LABlab(38.07, -34.11, 38.66)
CIE-LCHlch(38.07, 51.56, 131.43°)
OKLaboklab(45.48% -0.0945 0.0861)
OKLCHoklch(45.48% 0.128 137.7)
XYZxyz(5.9871, 10.1268, 2.2113)
Luminance0.1013 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6612 #4A1266
analogous
#586612 #2E6612 #126620
triadic
#2E6612 #122E66 #66122E
tetradic
#2E6612 #125866 #4A1266 #662012
square
#2E6612 #125866 #4A1266 #662012
split-complementary
#2E6612 #201266 #661258
monochromatic
#0C1A05 #173209 #2E6612 #459A1B #5DCE24

Accessibility & contrast

On white

6.94
#2E6612 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#2E6612 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E6612
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6612#FFFFFF#000000##FFFFFF
##2E66121.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5C00
Deuteranopia (green-blind)
#62581B
Tritanopia (blue-blind)
#2A6256
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2e6612;
/* rgb */ color: rgb(46, 102, 18);
/* oklch */ color: oklch(45.5% 0.128 137.7);
Tailwind
colors: {
  custom: {
    50: '#6e9257',
    500: '#2e6612',
    950: '#000000',
  },
}
SCSS
$custom: #2e6612;
$custom-light: #6e9257;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6612",
  "rgb": {
    "r": 46,
    "g": 102,
    "b": 18
  },
  "hsl": {
    "h": 100,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.4548,
    "c": 0.12783,
    "h": 137.7
  },
  "luminance": 0.10127
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E6612

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

Preview Lab → · Contrast checker → · Palette generator →

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