#2E6540#2E6540

#2E6540 is a mid, moderate green. Relative luminance 0.103; OKLCH L 45.9% C 0.084 H 152.4°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#2E6540
RGBrgb(46, 101, 64)
HSLhsl(140, 37%, 29%)
HSVhsv(140, 54%, 40%)
CMYKcmyk(54.5%, 0%, 36.6%, 60.4%)
CIE-LABlab(38.30, -27.46, 15.55)
CIE-LCHlch(38.30, 31.56, 150.47°)
OKLaboklab(45.86% -0.0747 0.0391)
OKLCHoklch(45.86% 0.084 152.4)
XYZxyz(6.7053, 10.2578, 6.4761)
Luminance0.1026 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6540 #652E53
analogous
#38652E #2E6540 #2E655C
triadic
#2E6540 #402E65 #65402E
tetradic
#2E6540 #2E3865 #652E53 #655C2E
square
#2E6540 #2E3865 #652E53 #655C2E
split-complementary
#2E6540 #5C2E65 #652E38
monochromatic
#0A150D #1B3B25 #2E6540 #418F5B #5AB477

Accessibility & contrast

On white

6.88
#2E6540 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#2E6540 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E6540
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6540#FFFFFF#000000##FFFFFF
##2E65401.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655D3E
Deuteranopia (green-blind)
#5D5842
Tritanopia (blue-blind)
#21645B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2e6540;
/* rgb */ color: rgb(46, 101, 64);
/* oklch */ color: oklch(45.9% 0.084 152.4);
Tailwind
colors: {
  custom: {
    50: '#6b9175',
    500: '#2e6540',
    950: '#000000',
  },
}
SCSS
$custom: #2e6540;
$custom-light: #6b9175;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6540",
  "rgb": {
    "r": 46,
    "g": 101,
    "b": 64
  },
  "hsl": {
    "h": 139.636,
    "s": 37.415,
    "l": 28.824
  },
  "oklch": {
    "l": 0.45859,
    "c": 0.08427,
    "h": 152.4
  },
  "luminance": 0.10258
}

Semantic roles & 50–950 ramp

primary
#2E6540
secondary
#975882
accent
#5AA8CD
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#070D08
muted
#7A7D7B

Preview Lab

Preview with #2E6540

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

Preview Lab → · Contrast checker → · Palette generator →

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