#2D785E#2D785E

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

Color values

HEX#2D785E
RGBrgb(45, 120, 94)
HSLhsl(159, 45%, 32%)
HSVhsv(159, 63%, 47%)
CMYKcmyk(62.5%, 0%, 21.7%, 52.9%)
CIE-LABlab(45.36, -29.86, 7.49)
CIE-LCHlch(45.36, 30.79, 165.92°)
OKLaboklab(51.83% -0.0831 0.0192)
OKLCHoklch(51.83% 0.085 167)
XYZxyz(9.8180, 14.7980, 12.9264)
Luminance0.1480 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D785E #782D47
analogous
#2D7838 #2D785E #2D6D78
triadic
#2D785E #5E2D78 #785E2D
tetradic
#2D785E #382D78 #782D47 #6D782D
square
#2D785E #382D78 #782D47 #6D782D
split-complementary
#2D785E #782D6D #78382D
monochromatic
#0C1F18 #1C4B3B #2D785E #3EA581 #5DC29F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D785E#FFFFFF#000000##FFFFFF
##2D785E1.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: #2d785e;
/* rgb */ color: rgb(45, 120, 94);
/* oklch */ color: oklch(51.8% 0.085 167.0);
Tailwind
colors: {
  custom: {
    50: '#6e9f8b',
    500: '#2d785e',
    950: '#000000',
  },
}
SCSS
$custom: #2d785e;
$custom-light: #6e9f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d785e",
  "rgb": {
    "r": 45,
    "g": 120,
    "b": 94
  },
  "hsl": {
    "h": 159.2,
    "s": 45.455,
    "l": 32.353
  },
  "oklch": {
    "l": 0.51833,
    "c": 0.0853,
    "h": 167
  },
  "luminance": 0.14799
}

Semantic roles & 50–950 ramp

primary
#2D785E
secondary
#A95874
accent
#5380D5
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#080E0C
muted
#7B7E7D

Preview Lab

Preview with #2D785E

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

Preview Lab → · Contrast checker → · Palette generator →

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