#2E8271#2E8271

#2E8271 is a mid, moderate teal. Relative luminance 0.177; OKLCH L 55.1% C 0.085 H 177.1°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#2E8271
RGBrgb(46, 130, 113)
HSLhsl(168, 48%, 35%)
HSVhsv(168, 65%, 51%)
CMYKcmyk(64.6%, 0%, 13.1%, 49%)
CIE-LABlab(49.18, -29.48, 1.79)
CIE-LCHlch(49.18, 29.54, 176.53°)
OKLaboklab(55.12% -0.0846 0.0043)
OKLCHoklch(55.12% 0.085 177.1)
XYZxyz(12.0886, 17.7371, 18.4061)
Luminance0.1774 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8271 #822E3F
analogous
#2E8247 #2E8271 #2E6982
triadic
#2E8271 #712E82 #82712E
tetradic
#2E8271 #472E82 #822E3F #69822E
square
#2E8271 #472E82 #822E3F #69822E
split-complementary
#2E8271 #822E69 #82472E
monochromatic
#0E2822 #1E554A #2E8271 #3EAF98 #63C8B3

Accessibility & contrast

On white

4.62
#2E8271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#2E8271 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2E8271
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E8271#FFFFFF#000000##FFFFFF
##2E82711.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7A70
Deuteranopia (green-blind)
#717172
Tritanopia (blue-blind)
#00847D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2e8271;
/* rgb */ color: rgb(46, 130, 113);
/* oklch */ color: oklch(55.1% 0.085 177.1);
Tailwind
colors: {
  custom: {
    50: '#71a799',
    500: '#2e8271',
    950: '#000000',
  },
}
SCSS
$custom: #2e8271;
$custom-light: #71a799;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8271",
  "rgb": {
    "r": 46,
    "g": 130,
    "b": 113
  },
  "hsl": {
    "h": 167.857,
    "s": 47.727,
    "l": 34.51
  },
  "oklch": {
    "l": 0.5512,
    "c": 0.08467,
    "h": 177.1
  },
  "luminance": 0.17738
}

Semantic roles & 50–950 ramp

primary
#2E8271
secondary
#AE5D6E
accent
#506CD7
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0E
muted
#7B7F7E

Preview Lab

Preview with #2E8271

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

Preview Lab → · Contrast checker → · Palette generator →

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