#2E7152#2E7152

#2E7152 is a mid, moderate teal. Relative luminance 0.130; OKLCH L 49.6% C 0.085 H 160.8°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#2E7152
RGBrgb(46, 113, 82)
HSLhsl(152, 42%, 31%)
HSVhsv(152, 59%, 44%)
CMYKcmyk(59.3%, 0%, 27.4%, 55.7%)
CIE-LABlab(42.76, -29.22, 10.96)
CIE-LCHlch(42.76, 31.21, 159.44°)
OKLaboklab(49.63% -0.0803 0.028)
OKLCHoklch(49.63% 0.085 160.8)
XYZxyz(8.5541, 12.9995, 10.0394)
Luminance0.1300 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7152 #712E4D
analogous
#2E7130 #2E7152 #2E6E71
triadic
#2E7152 #522E71 #71522E
tetradic
#2E7152 #302E71 #712E4D #6E712E
square
#2E7152 #302E71 #712E4D #6E712E
split-complementary
#2E7152 #712E6E #71302E
monochromatic
#0B1A13 #1C4632 #2E7152 #409C72 #5DBD90

Accessibility & contrast

On white

5.83
#2E7152 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#2E7152 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7152
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7152#FFFFFF#000000##FFFFFF
##2E71521.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706950
Deuteranopia (green-blind)
#666254
Tritanopia (blue-blind)
#137169
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2e7152;
/* rgb */ color: rgb(46, 113, 82);
/* oklch */ color: oklch(49.6% 0.085 160.8);
Tailwind
colors: {
  custom: {
    50: '#6d9a82',
    500: '#2e7152',
    950: '#000000',
  },
}
SCSS
$custom: #2e7152;
$custom-light: #6d9a82;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7152",
  "rgb": {
    "r": 46,
    "g": 113,
    "b": 82
  },
  "hsl": {
    "h": 152.239,
    "s": 42.138,
    "l": 31.176
  },
  "oklch": {
    "l": 0.4963,
    "c": 0.08501,
    "h": 160.8
  },
  "luminance": 0.13
}

Semantic roles & 50–950 ramp

primary
#2E7152
secondary
#A2587B
accent
#568FD2
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070E0A
muted
#7A7E7C

Preview Lab

Preview with #2E7152

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

Preview Lab → · Contrast checker → · Palette generator →

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