#4F786F#4F786F

#4F786F is a mid, muted teal. Relative luminance 0.162; OKLCH L 54.0% C 0.048 H 179.1°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#4F786F
RGBrgb(79, 120, 111)
HSLhsl(167, 21%, 39%)
HSVhsv(167, 34%, 47%)
CMYKcmyk(34.2%, 0%, 7.5%, 52.9%)
CIE-LABlab(47.29, -16.46, 0.39)
CIE-LCHlch(47.29, 16.46, 178.64°)
OKLaboklab(53.95% -0.0481 0.0008)
OKLCHoklch(53.95% 0.048 179.1)
XYZxyz(12.8092, 16.2422, 17.4960)
Luminance0.1624 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F786F #784F58
analogous
#4F785B #4F786F #4F6D78
triadic
#4F786F #6F4F78 #786F4F
tetradic
#4F786F #5B4F78 #784F58 #6D784F
square
#4F786F #5B4F78 #784F58 #6D784F
split-complementary
#4F786F #784F6D #785B4F
monochromatic
#1E2E2B #37534D #4F786F #689C91 #8DB4AC

Accessibility & contrast

On white

4.94
#4F786F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#4F786F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F786F
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F786F#FFFFFF#000000##FFFFFF
##4F786F1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75736F
Deuteranopia (green-blind)
#6D6E70
Tritanopia (blue-blind)
#437975
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4f786f;
/* rgb */ color: rgb(79, 120, 111);
/* oklch */ color: oklch(54.0% 0.048 179.1);
Tailwind
colors: {
  custom: {
    50: '#829f98',
    500: '#4f786f',
    950: '#000000',
  },
}
SCSS
$custom: #4f786f;
$custom-light: #829f98;
$custom-dark: #000000;
JSON
{
  "hex": "#4f786f",
  "rgb": {
    "r": 79,
    "g": 120,
    "b": 111
  },
  "hsl": {
    "h": 166.829,
    "s": 20.603,
    "l": 39.02
  },
  "oklch": {
    "l": 0.53954,
    "c": 0.04807,
    "h": 179.1
  },
  "luminance": 0.16243
}

Semantic roles & 50–950 ramp

primary
#4F786F
secondary
#A18289
accent
#6B7DBD
background
#F8F9F9
surface
#EFF2F2
border
#CACCCC
text
#0A0E0D
muted
#7C7E7E

Preview Lab

Preview with #4F786F

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

Preview Lab → · Contrast checker → · Palette generator →

#4F786F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva