#2E6818#2E6818

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

Color values

HEX#2E6818
RGBrgb(46, 104, 24)
HSLhsl(104, 63%, 25%)
HSVhsv(104, 77%, 41%)
CMYKcmyk(55.8%, 0%, 76.9%, 59.2%)
CIE-LABlab(38.81, -34.51, 37.12)
CIE-LCHlch(38.81, 50.68, 132.92°)
OKLaboklab(46.1% -0.0952 0.0838)
OKLCHoklch(46.1% 0.127 138.6)
XYZxyz(6.2417, 10.5469, 2.5708)
Luminance0.1055 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6818 #521868
analogous
#566818 #2E6818 #18682A
triadic
#2E6818 #182E68 #68182E
tetradic
#2E6818 #185668 #521868 #682A18
square
#2E6818 #185668 #521868 #682A18
split-complementary
#2E6818 #2A1868 #681856
monochromatic
#0B1906 #18360D #2E6818 #449A23 #5ACB2F

Accessibility & contrast

On white

6.75
#2E6818 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2E6818
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6818#FFFFFF#000000##FFFFFF
##2E68181.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E09
Deuteranopia (green-blind)
#645A20
Tritanopia (blue-blind)
#296458
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2e6818;
/* rgb */ color: rgb(46, 104, 24);
/* oklch */ color: oklch(46.1% 0.127 138.6);
Tailwind
colors: {
  custom: {
    50: '#6e945b',
    500: '#2e6818',
    950: '#000000',
  },
}
SCSS
$custom: #2e6818;
$custom-light: #6e945b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6818",
  "rgb": {
    "r": 46,
    "g": 104,
    "b": 24
  },
  "hsl": {
    "h": 103.5,
    "s": 62.5,
    "l": 25.098
  },
  "oklch": {
    "l": 0.461,
    "c": 0.12681,
    "h": 138.6
  },
  "luminance": 0.10547
}

Semantic roles & 50–950 ramp

primary
#2E6818
secondary
#843E9E
accent
#42E6B9
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2E6818

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

Preview Lab → · Contrast checker → · Palette generator →

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