#2E6D18#2E6D18

#2E6D18 is a mid, vivid green. Relative luminance 0.116; OKLCH L 47.5% C 0.133 H 139.0°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#2E6D18
RGBrgb(46, 109, 24)
HSLhsl(104, 64%, 26%)
HSVhsv(104, 78%, 43%)
CMYKcmyk(57.8%, 0%, 78%, 57.3%)
CIE-LABlab(40.55, -36.57, 38.86)
CIE-LCHlch(40.55, 53.36, 133.26°)
OKLaboklab(47.54% -0.1008 0.0874)
OKLCHoklch(47.54% 0.133 139)
XYZxyz(6.7600, 11.5835, 2.7436)
Luminance0.1158 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6D18 #57186D
analogous
#586D18 #2E6D18 #186D2C
triadic
#2E6D18 #182E6D #6D182E
tetradic
#2E6D18 #18586D #57186D #6D2C18
square
#2E6D18 #18586D #57186D #6D2C18
split-complementary
#2E6D18 #2C186D #6D1858
monochromatic
#0B1906 #193B0D #2E6D18 #439F23 #58D12E

Accessibility & contrast

On white

6.33
#2E6D18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#2E6D18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E6D18
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6D18#FFFFFF#000000##FFFFFF
##2E6D181.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706307
Deuteranopia (green-blind)
#685E21
Tritanopia (blue-blind)
#28695D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2e6d18;
/* rgb */ color: rgb(46, 109, 24);
/* oklch */ color: oklch(47.5% 0.133 139.0);
Tailwind
colors: {
  custom: {
    50: '#6e975b',
    500: '#2e6d18',
    950: '#000000',
  },
}
SCSS
$custom: #2e6d18;
$custom-light: #6e975b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6d18",
  "rgb": {
    "r": 46,
    "g": 109,
    "b": 24
  },
  "hsl": {
    "h": 104.471,
    "s": 63.91,
    "l": 26.078
  },
  "oklch": {
    "l": 0.47535,
    "c": 0.1334,
    "h": 139
  },
  "luminance": 0.11584
}

Semantic roles & 50–950 ramp

primary
#2E6D18
secondary
#893EA3
accent
#41E7BC
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2E6D18

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

Preview Lab → · Contrast checker → · Palette generator →

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