#2E7142#2E7142

#2E7142 is a mid, moderate green. Relative luminance 0.128; OKLCH L 49.3% C 0.101 H 150.8°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#2E7142
RGBrgb(46, 113, 66)
HSLhsl(138, 42%, 31%)
HSVhsv(138, 59%, 44%)
CMYKcmyk(59.3%, 0%, 41.6%, 55.7%)
CIE-LABlab(42.44, -32.62, 19.88)
CIE-LCHlch(42.44, 38.20, 148.64°)
OKLaboklab(49.26% -0.0884 0.0494)
OKLCHoklch(49.26% 0.101 150.8)
XYZxyz(8.0146, 12.7837, 7.1983)
Luminance0.1278 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7142 #712E5D
analogous
#3B712E #2E7142 #2E7163
triadic
#2E7142 #422E71 #71422E
tetradic
#2E7142 #2E3B71 #712E5D #71632E
square
#2E7142 #2E3B71 #712E5D #71632E
split-complementary
#2E7142 #632E71 #712E3B
monochromatic
#0B1A0F #1C4629 #2E7142 #409C5B #5DBD79

Accessibility & contrast

On white

5.90
#2E7142 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#2E7142 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7142
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7142#FFFFFF#000000##FFFFFF
##2E71421.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72683F
Deuteranopia (green-blind)
#686245
Tritanopia (blue-blind)
#1C6F65
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2e7142;
/* rgb */ color: rgb(46, 113, 66);
/* oklch */ color: oklch(49.3% 0.101 150.8);
Tailwind
colors: {
  custom: {
    50: '#6d9a77',
    500: '#2e7142',
    950: '#000000',
  },
}
SCSS
$custom: #2e7142;
$custom-light: #6d9a77;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7142",
  "rgb": {
    "r": 46,
    "g": 113,
    "b": 66
  },
  "hsl": {
    "h": 137.91,
    "s": 42.138,
    "l": 31.176
  },
  "oklch": {
    "l": 0.49255,
    "c": 0.10123,
    "h": 150.8
  },
  "luminance": 0.12784
}

Semantic roles & 50–950 ramp

primary
#2E7142
secondary
#A2588C
accent
#56ADD2
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #2E7142

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

Preview Lab → · Contrast checker → · Palette generator →

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