#2E6940#2E6940

#2E6940 is a mid, moderate green. Relative luminance 0.111; OKLCH L 47.0% C 0.091 H 151.4°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#2E6940
RGBrgb(46, 105, 64)
HSLhsl(138, 39%, 30%)
HSVhsv(138, 56%, 41%)
CMYKcmyk(56.2%, 0%, 39%, 58.8%)
CIE-LABlab(39.67, -29.35, 17.39)
CIE-LCHlch(39.67, 34.11, 149.36°)
OKLaboklab(46.98% -0.0797 0.0435)
OKLCHoklch(46.98% 0.091 151.4)
XYZxyz(7.1032, 11.0536, 6.6087)
Luminance0.1105 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6940 #692E57
analogous
#3A692E #2E6940 #2E695E
triadic
#2E6940 #402E69 #69402E
tetradic
#2E6940 #2E3A69 #692E57 #695E2E
square
#2E6940 #2E3A69 #692E57 #695E2E
split-complementary
#2E6940 #5E2E69 #692E3A
monochromatic
#09150D #1B3E26 #2E6940 #41945A #5AB777

Accessibility & contrast

On white

6.54
#2E6940 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#2E6940 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E6940
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6940#FFFFFF#000000##FFFFFF
##2E69401.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#69613D
Deuteranopia (green-blind)
#615B43
Tritanopia (blue-blind)
#20675F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2e6940;
/* rgb */ color: rgb(46, 105, 64);
/* oklch */ color: oklch(47.0% 0.091 151.4);
Tailwind
colors: {
  custom: {
    50: '#6c9475',
    500: '#2e6940',
    950: '#000000',
  },
}
SCSS
$custom: #2e6940;
$custom-light: #6c9475;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6940",
  "rgb": {
    "r": 46,
    "g": 105,
    "b": 64
  },
  "hsl": {
    "h": 138.305,
    "s": 39.073,
    "l": 29.608
  },
  "oklch": {
    "l": 0.46978,
    "c": 0.09075,
    "h": 151.4
  },
  "luminance": 0.11054
}

Semantic roles & 50–950 ramp

primary
#2E6940
secondary
#9B5886
accent
#59ABCF
background
#F6F9F7
surface
#ECF1ED
border
#C7CBC8
text
#070D08
muted
#7A7E7B

Preview Lab

Preview with #2E6940

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

Preview Lab → · Contrast checker → · Palette generator →

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