#2E6C18#2E6C18

#2E6C18 is a mid, vivid green. Relative luminance 0.114; OKLCH L 47.2% C 0.132 H 139.0°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#2E6C18
RGBrgb(46, 108, 24)
HSLhsl(104, 64%, 26%)
HSVhsv(104, 78%, 42%)
CMYKcmyk(57.4%, 0%, 77.8%, 57.6%)
CIE-LABlab(40.20, -36.17, 38.51)
CIE-LCHlch(40.20, 52.83, 133.20°)
OKLaboklab(47.25% -0.0996 0.0867)
OKLCHoklch(47.25% 0.132 139)
XYZxyz(6.6539, 11.3714, 2.7082)
Luminance0.1137 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6C18 #56186C
analogous
#586C18 #2E6C18 #186C2C
triadic
#2E6C18 #182E6C #6C182E
tetradic
#2E6C18 #18586C #56186C #6C2C18
square
#2E6C18 #18586C #56186C #6C2C18
split-complementary
#2E6C18 #2C186C #6C1858
monochromatic
#0B1906 #193A0D #2E6C18 #439E23 #59D02E

Accessibility & contrast

On white

6.41
#2E6C18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#2E6C18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E6C18
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6C18#FFFFFF#000000##FFFFFF
##2E6C181.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6208
Deuteranopia (green-blind)
#675D21
Tritanopia (blue-blind)
#28685C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2e6c18;
/* rgb */ color: rgb(46, 108, 24);
/* oklch */ color: oklch(47.2% 0.132 139.0);
Tailwind
colors: {
  custom: {
    50: '#6e975b',
    500: '#2e6c18',
    950: '#000000',
  },
}
SCSS
$custom: #2e6c18;
$custom-light: #6e975b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6c18",
  "rgb": {
    "r": 46,
    "g": 108,
    "b": 24
  },
  "hsl": {
    "h": 104.286,
    "s": 63.636,
    "l": 25.882
  },
  "oklch": {
    "l": 0.47248,
    "c": 0.13209,
    "h": 139
  },
  "luminance": 0.11372
}

Semantic roles & 50–950 ramp

primary
#2E6C18
secondary
#883EA2
accent
#41E7BB
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2E6C18

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

Preview Lab → · Contrast checker → · Palette generator →

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