#2E6816#2E6816

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

Color values

HEX#2E6816
RGBrgb(46, 104, 22)
HSLhsl(102, 65%, 25%)
HSVhsv(102, 79%, 41%)
CMYKcmyk(55.8%, 0%, 78.8%, 59.2%)
CIE-LABlab(38.79, -34.67, 37.89)
CIE-LCHlch(38.79, 51.36, 132.46°)
OKLaboklab(46.09% -0.0957 0.0851)
OKLCHoklch(46.09% 0.128 138.4)
XYZxyz(6.2216, 10.5389, 2.4653)
Luminance0.1054 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6816 #501668
analogous
#576816 #2E6816 #166827
triadic
#2E6816 #162E68 #68162E
tetradic
#2E6816 #165768 #501668 #682716
square
#2E6816 #165768 #501668 #682716
split-complementary
#2E6816 #271668 #681657
monochromatic
#0B1905 #18350B #2E6816 #449B21 #5BCD2B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E6816#FFFFFF#000000##FFFFFF
##2E68161.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)
#6B5E06
Deuteranopia (green-blind)
#645A1F
Tritanopia (blue-blind)
#296458
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2e6816;
/* rgb */ color: rgb(46, 104, 22);
/* oklch */ color: oklch(46.1% 0.128 138.4);
Tailwind
colors: {
  custom: {
    50: '#6e945a',
    500: '#2e6816',
    950: '#000000',
  },
}
SCSS
$custom: #2e6816;
$custom-light: #6e945a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6816",
  "rgb": {
    "r": 46,
    "g": 104,
    "b": 22
  },
  "hsl": {
    "h": 102.439,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.46085,
    "c": 0.12809,
    "h": 138.4
  },
  "luminance": 0.10539
}

Semantic roles & 50–950 ramp

primary
#2E6816
secondary
#813B9F
accent
#40E8B7
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2E6816

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

Preview Lab → · Contrast checker → · Palette generator →

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