#2D785F#2D785F

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

Color values

HEX#2D785F
RGBrgb(45, 120, 95)
HSLhsl(160, 45%, 32%)
HSVhsv(160, 63%, 47%)
CMYKcmyk(62.5%, 0%, 20.8%, 52.9%)
CIE-LABlab(45.38, -29.61, 6.93)
CIE-LCHlch(45.38, 30.41, 166.82°)
OKLaboklab(51.86% -0.0826 0.0178)
OKLCHoklch(51.86% 0.085 167.9)
XYZxyz(9.8632, 14.8161, 13.1642)
Luminance0.1482 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D785F #782D46
analogous
#2D7839 #2D785F #2D6C78
triadic
#2D785F #5F2D78 #785F2D
tetradic
#2D785F #392D78 #782D46 #6C782D
square
#2D785F #392D78 #782D46 #6C782D
split-complementary
#2D785F #782D6C #78392D
monochromatic
#0C1F19 #1C4B3C #2D785F #3EA582 #5DC2A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D785F#FFFFFF#000000##FFFFFF
##2D785F1.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)
#75705E
Deuteranopia (green-blind)
#6A6861
Tritanopia (blue-blind)
#007971
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2d785f;
/* rgb */ color: rgb(45, 120, 95);
/* oklch */ color: oklch(51.9% 0.085 167.9);
Tailwind
colors: {
  custom: {
    50: '#6e9f8c',
    500: '#2d785f',
    950: '#000000',
  },
}
SCSS
$custom: #2d785f;
$custom-light: #6e9f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d785f",
  "rgb": {
    "r": 45,
    "g": 120,
    "b": 95
  },
  "hsl": {
    "h": 160,
    "s": 45.455,
    "l": 32.353
  },
  "oklch": {
    "l": 0.51862,
    "c": 0.0845,
    "h": 167.9
  },
  "luminance": 0.14817
}

Semantic roles & 50–950 ramp

primary
#2D785F
secondary
#A95873
accent
#537ED5
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#080E0C
muted
#7B7E7D

Preview Lab

Preview with #2D785F

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

Preview Lab → · Contrast checker → · Palette generator →

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