#3A8778#3A8778

#3A8778 is a mid, moderate teal. Relative luminance 0.196; OKLCH L 57.1% C 0.080 H 178.6°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#3A8778
RGBrgb(58, 135, 120)
HSLhsl(168, 40%, 38%)
HSVhsv(168, 57%, 53%)
CMYKcmyk(57%, 0%, 11.1%, 47.1%)
CIE-LABlab(51.36, -27.57, 0.92)
CIE-LCHlch(51.36, 27.59, 178.09°)
OKLaboklab(57.07% -0.0797 0.002)
OKLCHoklch(57.07% 0.08 178.6)
XYZxyz(13.7975, 19.5822, 20.8183)
Luminance0.1958 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8778 #873A49
analogous
#3A8752 #3A8778 #3A6F87
triadic
#3A8778 #783A87 #87783A
tetradic
#3A8778 #523A87 #873A49 #6F873A
square
#3A8778 #523A87 #873A49 #6F873A
split-complementary
#3A8778 #873A6F #87523A
monochromatic
#15312C #285C52 #3A8778 #4CB29E #77C5B5

Accessibility & contrast

On white

4.27
#3A8778 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#3A8778 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A8778
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8778#FFFFFF#000000##000000
##3A87781.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#827F77
Deuteranopia (green-blind)
#767779
Tritanopia (blue-blind)
#038982
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3a8778;
/* rgb */ color: rgb(58, 135, 120);
/* oklch */ color: oklch(57.1% 0.080 178.6);
Tailwind
colors: {
  custom: {
    50: '#78aa9e',
    500: '#3a8778',
    950: '#000000',
  },
}
SCSS
$custom: #3a8778;
$custom-light: #78aa9e;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8778",
  "rgb": {
    "r": 58,
    "g": 135,
    "b": 120
  },
  "hsl": {
    "h": 168.312,
    "s": 39.896,
    "l": 37.843
  },
  "oklch": {
    "l": 0.57067,
    "c": 0.07971,
    "h": 178.6
  },
  "luminance": 0.19584
}

Semantic roles & 50–950 ramp

primary
#3A8778
secondary
#AE6F7B
accent
#586FD0
background
#F7FAF9
surface
#EEF4F2
border
#C9CECC
text
#09100E
muted
#7B7F7E

Preview Lab

Preview with #3A8778

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

Preview Lab → · Contrast checker → · Palette generator →

#3A8778 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva