#3A795B#3A795B

#3A795B is a mid, moderate teal. Relative luminance 0.153; OKLCH L 52.5% C 0.081 H 161.0°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#3A795B
RGBrgb(58, 121, 91)
HSLhsl(151, 35%, 35%)
HSVhsv(151, 52%, 47%)
CMYKcmyk(52.1%, 0%, 24.8%, 52.5%)
CIE-LABlab(46.08, -27.91, 10.35)
CIE-LCHlch(46.08, 29.77, 159.66°)
OKLaboklab(52.53% -0.077 0.0265)
OKLCHoklch(52.53% 0.081 161)
XYZxyz(10.4698, 15.3287, 12.3025)
Luminance0.1533 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A795B #793A58
analogous
#3A793B #3A795B #3A7779
triadic
#3A795B #5B3A79 #795B3A
tetradic
#3A795B #3B3A79 #793A58 #77793A
square
#3A795B #3B3A79 #793A58 #77793A
split-complementary
#3A795B #793A77 #793B3A
monochromatic
#12261D #26503C #3A795B #4EA27A #72BB98

Accessibility & contrast

On white

5.16
#3A795B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#3A795B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A795B
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A795B#FFFFFF#000000##FFFFFF
##3A795B1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#787159
Deuteranopia (green-blind)
#6E6A5D
Tritanopia (blue-blind)
#267971
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #3a795b;
/* rgb */ color: rgb(58, 121, 91);
/* oklch */ color: oklch(52.5% 0.081 161.0);
Tailwind
colors: {
  custom: {
    50: '#75a089',
    500: '#3a795b',
    950: '#000000',
  },
}
SCSS
$custom: #3a795b;
$custom-light: #75a089;
$custom-dark: #000000;
JSON
{
  "hex": "#3a795b",
  "rgb": {
    "r": 58,
    "g": 121,
    "b": 91
  },
  "hsl": {
    "h": 151.429,
    "s": 35.196,
    "l": 35.098
  },
  "oklch": {
    "l": 0.52531,
    "c": 0.08144,
    "h": 161
  },
  "luminance": 0.1533
}

Semantic roles & 50–950 ramp

primary
#3A795B
secondary
#A56A86
accent
#5D91CB
background
#F7F9F8
surface
#EDF2F0
border
#C8CCCB
text
#090F0B
muted
#7B7E7C

Preview Lab

Preview with #3A795B

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

Preview Lab → · Contrast checker → · Palette generator →

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