#2E5D40#2E5D40

#2E5D40 is a dark, moderate green. Relative luminance 0.088; OKLCH L 43.6% C 0.071 H 155.0°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#2E5D40
RGBrgb(46, 93, 64)
HSLhsl(143, 34%, 27%)
HSVhsv(143, 51%, 36%)
CMYKcmyk(50.5%, 0%, 31.2%, 63.5%)
CIE-LABlab(35.56, -23.51, 11.82)
CIE-LCHlch(35.56, 26.32, 153.31°)
OKLaboklab(43.62% -0.0643 0.03)
OKLCHoklch(43.62% 0.071 155)
XYZxyz(5.9661, 8.7793, 6.2297)
Luminance0.0878 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5D40 #5D2E4B
analogous
#335D2E #2E5D40 #2E5D58
triadic
#2E5D40 #402E5D #5D402E
tetradic
#2E5D40 #2E335D #5D2E4B #5D582E
square
#2E5D40 #2E335D #5D2E4B #5D582E
split-complementary
#2E5D40 #582E5D #5D2E33
monochromatic
#0A140E #1A3424 #2E5D40 #42865C #59AD79

Accessibility & contrast

On white

7.62
#2E5D40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#2E5D40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5D40
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5D40#FFFFFF#000000##FFFFFF
##2E5D401.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D573E
Deuteranopia (green-blind)
#565242
Tritanopia (blue-blind)
#235C55
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2e5d40;
/* rgb */ color: rgb(46, 93, 64);
/* oklch */ color: oklch(43.6% 0.071 155.0);
Tailwind
colors: {
  custom: {
    50: '#6a8b75',
    500: '#2e5d40',
    950: '#000000',
  },
}
SCSS
$custom: #2e5d40;
$custom-light: #6a8b75;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5d40",
  "rgb": {
    "r": 46,
    "g": 93,
    "b": 64
  },
  "hsl": {
    "h": 142.979,
    "s": 33.813,
    "l": 27.255
  },
  "oklch": {
    "l": 0.4362,
    "c": 0.07096,
    "h": 155
  },
  "luminance": 0.0878
}

Semantic roles & 50–950 ramp

primary
#2E5D40
secondary
#8F587A
accent
#5EA1CA
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#070C08
muted
#7A7D7B

Preview Lab

Preview with #2E5D40

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

Preview Lab → · Contrast checker → · Palette generator →

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