#2E7158#2E7158

#2E7158 is a mid, moderate teal. Relative luminance 0.131; OKLCH L 49.8% C 0.080 H 165.9°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#2E7158
RGBrgb(46, 113, 88)
HSLhsl(158, 42%, 31%)
HSVhsv(158, 59%, 44%)
CMYKcmyk(59.3%, 0%, 22.1%, 55.7%)
CIE-LABlab(42.91, -27.77, 7.59)
CIE-LCHlch(42.91, 28.79, 164.72°)
OKLaboklab(49.8% -0.0772 0.0194)
OKLCHoklch(49.8% 0.08 165.9)
XYZxyz(8.7924, 13.0948, 11.2948)
Luminance0.1310 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7158 #712E47
analogous
#2E7136 #2E7158 #2E6871
triadic
#2E7158 #582E71 #71582E
tetradic
#2E7158 #362E71 #712E47 #68712E
square
#2E7158 #362E71 #712E47 #68712E
split-complementary
#2E7158 #712E68 #71362E
monochromatic
#0B1A14 #1C4636 #2E7158 #409C7A #5DBD99

Accessibility & contrast

On white

5.80
#2E7158 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#2E7158 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7158
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7158#FFFFFF#000000##FFFFFF
##2E71581.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6957
Deuteranopia (green-blind)
#65625A
Tritanopia (blue-blind)
#0D716A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2e7158;
/* rgb */ color: rgb(46, 113, 88);
/* oklch */ color: oklch(49.8% 0.080 165.9);
Tailwind
colors: {
  custom: {
    50: '#6d9a87',
    500: '#2e7158',
    950: '#000000',
  },
}
SCSS
$custom: #2e7158;
$custom-light: #6d9a87;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7158",
  "rgb": {
    "r": 46,
    "g": 113,
    "b": 88
  },
  "hsl": {
    "h": 157.612,
    "s": 42.138,
    "l": 31.176
  },
  "oklch": {
    "l": 0.49795,
    "c": 0.07962,
    "h": 165.9
  },
  "luminance": 0.13096
}

Semantic roles & 50–950 ramp

primary
#2E7158
secondary
#A25874
accent
#5684D2
background
#F6F9F8
surface
#ECF2EF
border
#C7CCCA
text
#070E0B
muted
#7A7E7C

Preview Lab

Preview with #2E7158

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

Preview Lab → · Contrast checker → · Palette generator →

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