#2E5740#2E5740

#2E5740 is a dark, moderate green. Relative luminance 0.078; OKLCH L 41.9% C 0.061 H 157.8°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#2E5740
RGBrgb(46, 87, 64)
HSLhsl(146, 31%, 26%)
HSVhsv(146, 47%, 34%)
CMYKcmyk(47.1%, 0%, 26.4%, 65.9%)
CIE-LABlab(33.49, -20.41, 8.97)
CIE-LCHlch(33.49, 22.29, 156.28°)
OKLaboklab(41.94% -0.0562 0.0229)
OKLCHoklch(41.94% 0.061 157.8)
XYZxyz(5.4599, 7.7670, 6.0610)
Luminance0.0777 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5740 #572E45
analogous
#30572E #2E5740 #2E5754
triadic
#2E5740 #402E57 #57402E
tetradic
#2E5740 #2E3057 #572E45 #57542E
square
#2E5740 #2E3057 #572E45 #57542E
split-complementary
#2E5740 #542E57 #572E30
monochromatic
#0B140F #192F23 #2E5740 #437F5D #58A77B

Accessibility & contrast

On white

8.22
#2E5740 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#2E5740 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5740
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5740#FFFFFF#000000##FFFFFF
##2E57401.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56513F
Deuteranopia (green-blind)
#504D41
Tritanopia (blue-blind)
#245651
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2e5740;
/* rgb */ color: rgb(46, 87, 64);
/* oklch */ color: oklch(41.9% 0.061 157.8);
Tailwind
colors: {
  custom: {
    50: '#698674',
    500: '#2e5740',
    950: '#000000',
  },
}
SCSS
$custom: #2e5740;
$custom-light: #698674;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5740",
  "rgb": {
    "r": 46,
    "g": 87,
    "b": 64
  },
  "hsl": {
    "h": 146.341,
    "s": 30.827,
    "l": 26.078
  },
  "oklch": {
    "l": 0.41943,
    "c": 0.0607,
    "h": 157.8
  },
  "luminance": 0.07767
}

Semantic roles & 50–950 ramp

primary
#2E5740
secondary
#895873
accent
#619AC7
background
#F6F8F7
surface
#EBEFED
border
#C6CAC8
text
#060B08
muted
#7A7C7B

Preview Lab

Preview with #2E5740

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

Preview Lab → · Contrast checker → · Palette generator →

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