#2E785E#2E785E

#2E785E is a mid, moderate teal. Relative luminance 0.148; OKLCH L 51.9% C 0.085 H 166.8°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#2E785E
RGBrgb(46, 120, 94)
HSLhsl(159, 45%, 33%)
HSVhsv(159, 62%, 47%)
CMYKcmyk(61.7%, 0%, 21.7%, 52.9%)
CIE-LABlab(45.39, -29.65, 7.54)
CIE-LCHlch(45.39, 30.59, 165.73°)
OKLaboklab(51.87% -0.0825 0.0193)
OKLCHoklch(51.87% 0.085 166.8)
XYZxyz(9.8626, 14.8210, 12.9285)
Luminance0.1482 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E785E #782E48
analogous
#2E7839 #2E785E #2E6D78
triadic
#2E785E #5E2E78 #785E2E
tetradic
#2E785E #392E78 #782E48 #6D782E
square
#2E785E #392E78 #782E48 #6D782E
split-complementary
#2E785E #782E6D #78392E
monochromatic
#0C2019 #1D4C3B #2E785E #3FA481 #5FC29F

Accessibility & contrast

On white

5.30
#2E785E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#2E785E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E785E
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E785E#FFFFFF#000000##FFFFFF
##2E785E1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75705D
Deuteranopia (green-blind)
#6B6860
Tritanopia (blue-blind)
#007871
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2e785e;
/* rgb */ color: rgb(46, 120, 94);
/* oklch */ color: oklch(51.9% 0.085 166.8);
Tailwind
colors: {
  custom: {
    50: '#6f9f8b',
    500: '#2e785e',
    950: '#000000',
  },
}
SCSS
$custom: #2e785e;
$custom-light: #6f9f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e785e",
  "rgb": {
    "r": 46,
    "g": 120,
    "b": 94
  },
  "hsl": {
    "h": 158.919,
    "s": 44.578,
    "l": 32.549
  },
  "oklch": {
    "l": 0.51868,
    "c": 0.08473,
    "h": 166.8
  },
  "luminance": 0.14822
}

Semantic roles & 50–950 ramp

primary
#2E785E
secondary
#A85A75
accent
#5481D4
background
#F7F9F8
surface
#EDF2F0
border
#C8CCCB
text
#080E0C
muted
#7B7E7D

Preview Lab

Preview with #2E785E

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

Preview Lab → · Contrast checker → · Palette generator →

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