#3A7960#3A7960

#3A7960 is a mid, moderate teal. Relative luminance 0.154; OKLCH L 52.7% C 0.077 H 165.4°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#3A7960
RGBrgb(58, 121, 96)
HSLhsl(156, 35%, 35%)
HSVhsv(156, 52%, 47%)
CMYKcmyk(52.1%, 0%, 20.7%, 52.5%)
CIE-LABlab(46.20, -26.74, 7.57)
CIE-LCHlch(46.20, 27.79, 164.19°)
OKLaboklab(52.67% -0.0745 0.0194)
OKLCHoklch(52.67% 0.077 165.4)
XYZxyz(10.6927, 15.4179, 13.4765)
Luminance0.1542 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7960 #793A53
analogous
#3A7940 #3A7960 #3A7379
triadic
#3A7960 #603A79 #79603A
tetradic
#3A7960 #403A79 #793A53 #73793A
square
#3A7960 #403A79 #793A53 #73793A
split-complementary
#3A7960 #793A73 #79403A
monochromatic
#12261E #26503F #3A7960 #4EA281 #72BB9E

Accessibility & contrast

On white

5.14
#3A7960 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#3A7960 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A7960
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7960#FFFFFF#000000##FFFFFF
##3A79601.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77725F
Deuteranopia (green-blind)
#6D6B62
Tritanopia (blue-blind)
#247972
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #3a7960;
/* rgb */ color: rgb(58, 121, 96);
/* oklch */ color: oklch(52.7% 0.077 165.4);
Tailwind
colors: {
  custom: {
    50: '#75a08d',
    500: '#3a7960',
    950: '#000000',
  },
}
SCSS
$custom: #3a7960;
$custom-light: #75a08d;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7960",
  "rgb": {
    "r": 58,
    "g": 121,
    "b": 96
  },
  "hsl": {
    "h": 156.19,
    "s": 35.196,
    "l": 35.098
  },
  "oklch": {
    "l": 0.52668,
    "c": 0.07701,
    "h": 165.4
  },
  "luminance": 0.15419
}

Semantic roles & 50–950 ramp

primary
#3A7960
secondary
#A56A81
accent
#5D88CB
background
#F7F9F8
surface
#EDF2F0
border
#C8CCCB
text
#090E0C
muted
#7B7E7D

Preview Lab

Preview with #3A7960

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

Preview Lab → · Contrast checker → · Palette generator →

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