#3F795C#3F795C

#3F795C is a mid, moderate teal. Relative luminance 0.155; OKLCH L 52.8% C 0.077 H 160.4°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#3F795C
RGBrgb(63, 121, 92)
HSLhsl(150, 32%, 36%)
HSVhsv(150, 48%, 47%)
CMYKcmyk(47.9%, 0%, 24%, 52.5%)
CIE-LABlab(46.32, -26.29, 10.12)
CIE-LCHlch(46.32, 28.17, 158.95°)
OKLaboklab(52.79% -0.0726 0.0259)
OKLCHoklch(52.79% 0.077 160.4)
XYZxyz(10.8182, 15.5034, 12.5455)
Luminance0.1550 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F795C #793F5C
analogous
#3F793F #3F795C #3F7979
triadic
#3F795C #5C3F79 #795C3F
tetradic
#3F795C #3F3F79 #793F5C #79793F
square
#3F795C #3F3F79 #793F5C #79793F
split-complementary
#3F795C #793F79 #793F3F
monochromatic
#15291F #2A513D #3F795C #54A17B #79B999

Accessibility & contrast

On white

5.12
#3F795C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#3F795C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F795C
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F795C#FFFFFF#000000##FFFFFF
##3F795C1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#78715A
Deuteranopia (green-blind)
#6F6B5E
Tritanopia (blue-blind)
#2F7971
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3f795c;
/* rgb */ color: rgb(63, 121, 92);
/* oklch */ color: oklch(52.8% 0.077 160.4);
Tailwind
colors: {
  custom: {
    50: '#78a08a',
    500: '#3f795c',
    950: '#000000',
  },
}
SCSS
$custom: #3f795c;
$custom-light: #78a08a;
$custom-dark: #000000;
JSON
{
  "hex": "#3f795c",
  "rgb": {
    "r": 63,
    "g": 121,
    "b": 92
  },
  "hsl": {
    "h": 150,
    "s": 31.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.52788,
    "c": 0.07713,
    "h": 160.4
  },
  "luminance": 0.15504
}

Semantic roles & 50–950 ramp

primary
#3F795C
secondary
#A4708A
accent
#6094C8
background
#F7F9F8
surface
#EDF2F0
border
#C8CCCB
text
#090E0B
muted
#7B7E7C

Preview Lab

Preview with #3F795C

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

Preview Lab → · Contrast checker → · Palette generator →

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