#3A795F#3A795F

#3A795F is a mid, moderate teal. Relative luminance 0.154; OKLCH L 52.6% C 0.078 H 164.5°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#3A795F
RGBrgb(58, 121, 95)
HSLhsl(155, 35%, 35%)
HSVhsv(155, 52%, 47%)
CMYKcmyk(52.1%, 0%, 21.5%, 52.5%)
CIE-LABlab(46.18, -26.98, 8.13)
CIE-LCHlch(46.18, 28.17, 163.23°)
OKLaboklab(52.64% -0.075 0.0209)
OKLCHoklch(52.64% 0.078 164.5)
XYZxyz(10.6469, 15.3996, 13.2356)
Luminance0.1540 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A795F #793A54
analogous
#3A793F #3A795F #3A7479
triadic
#3A795F #5F3A79 #795F3A
tetradic
#3A795F #3F3A79 #793A54 #74793A
square
#3A795F #3F3A79 #793A54 #74793A
split-complementary
#3A795F #793A74 #793F3A
monochromatic
#12261E #26503F #3A795F #4EA27F #72BB9D

Accessibility & contrast

On white

5.15
#3A795F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3A795F
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A795F#FFFFFF#000000##FFFFFF
##3A795F1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77715E
Deuteranopia (green-blind)
#6D6B61
Tritanopia (blue-blind)
#247972
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #3a795f;
/* rgb */ color: rgb(58, 121, 95);
/* oklch */ color: oklch(52.6% 0.078 164.5);
Tailwind
colors: {
  custom: {
    50: '#75a08c',
    500: '#3a795f',
    950: '#000000',
  },
}
SCSS
$custom: #3a795f;
$custom-light: #75a08c;
$custom-dark: #000000;
JSON
{
  "hex": "#3a795f",
  "rgb": {
    "r": 58,
    "g": 121,
    "b": 95
  },
  "hsl": {
    "h": 155.238,
    "s": 35.196,
    "l": 35.098
  },
  "oklch": {
    "l": 0.5264,
    "c": 0.07786,
    "h": 164.5
  },
  "luminance": 0.15401
}

Semantic roles & 50–950 ramp

primary
#3A795F
secondary
#A56A82
accent
#5D8ACB
background
#F7F9F8
surface
#EDF2F0
border
#C8CCCB
text
#090F0C
muted
#7B7E7D

Preview Lab

Preview with #3A795F

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

Preview Lab → · Contrast checker → · Palette generator →

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