#2D785D#2D785D

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

Color values

HEX#2D785D
RGBrgb(45, 120, 93)
HSLhsl(158, 45%, 32%)
HSVhsv(158, 63%, 47%)
CMYKcmyk(62.5%, 0%, 22.5%, 52.9%)
CIE-LABlab(45.33, -30.11, 8.05)
CIE-LCHlch(45.33, 31.17, 165.04°)
OKLaboklab(51.81% -0.0836 0.0206)
OKLCHoklch(51.81% 0.086 166.2)
XYZxyz(9.7735, 14.7802, 12.6916)
Luminance0.1478 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D785D #782D48
analogous
#2D7837 #2D785D #2D6E78
triadic
#2D785D #5D2D78 #785D2D
tetradic
#2D785D #372D78 #782D48 #6E782D
square
#2D785D #372D78 #782D48 #6E782D
split-complementary
#2D785D #782D6E #78372D
monochromatic
#0C1F18 #1C4B3B #2D785D #3EA57F #5DC29E

Accessibility & contrast

On white

5.31
#2D785D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2D785D
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D785D#FFFFFF#000000##FFFFFF
##2D785D1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75705C
Deuteranopia (green-blind)
#6B685F
Tritanopia (blue-blind)
#007870
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2d785d;
/* rgb */ color: rgb(45, 120, 93);
/* oklch */ color: oklch(51.8% 0.086 166.2);
Tailwind
colors: {
  custom: {
    50: '#6e9f8b',
    500: '#2d785d',
    950: '#000000',
  },
}
SCSS
$custom: #2d785d;
$custom-light: #6e9f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d785d",
  "rgb": {
    "r": 45,
    "g": 120,
    "b": 93
  },
  "hsl": {
    "h": 158.4,
    "s": 45.455,
    "l": 32.353
  },
  "oklch": {
    "l": 0.51805,
    "c": 0.08612,
    "h": 166.2
  },
  "luminance": 0.14781
}

Semantic roles & 50–950 ramp

primary
#2D785D
secondary
#A95875
accent
#5382D5
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#080E0B
muted
#7B7E7C

Preview Lab

Preview with #2D785D

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

Preview Lab → · Contrast checker → · Palette generator →

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