#4F7872#4F7872

#4F7872 is a mid, muted teal. Relative luminance 0.163; OKLCH L 54.1% C 0.047 H 184.4°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#4F7872
RGBrgb(79, 120, 114)
HSLhsl(171, 21%, 39%)
HSVhsv(171, 34%, 47%)
CMYKcmyk(34.2%, 0%, 5%, 52.9%)
CIE-LABlab(47.38, -15.72, -1.26)
CIE-LCHlch(47.38, 15.77, 184.59°)
OKLaboklab(54.05% -0.0467 -0.0036)
OKLCHoklch(54.05% 0.047 184.4)
XYZxyz(12.9771, 16.3094, 18.3806)
Luminance0.1631 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7872 #784F55
analogous
#4F785E #4F7872 #4F6A78
triadic
#4F7872 #724F78 #78724F
tetradic
#4F7872 #5E4F78 #784F55 #6A784F
square
#4F7872 #5E4F78 #784F55 #6A784F
split-complementary
#4F7872 #784F6A #785E4F
monochromatic
#1E2E2C #37534F #4F7872 #689C94 #8DB4AE

Accessibility & contrast

On white

4.93
#4F7872 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#4F7872 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7872
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7872#FFFFFF#000000##FFFFFF
##4F78721.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#747472
Deuteranopia (green-blind)
#6D6E73
Tritanopia (blue-blind)
#427A76
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4f7872;
/* rgb */ color: rgb(79, 120, 114);
/* oklch */ color: oklch(54.1% 0.047 184.4);
Tailwind
colors: {
  custom: {
    50: '#829f9a',
    500: '#4f7872',
    950: '#000000',
  },
}
SCSS
$custom: #4f7872;
$custom-light: #829f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7872",
  "rgb": {
    "r": 79,
    "g": 120,
    "b": 114
  },
  "hsl": {
    "h": 171.22,
    "s": 20.603,
    "l": 39.02
  },
  "oklch": {
    "l": 0.54053,
    "c": 0.04681,
    "h": 184.4
  },
  "luminance": 0.1631
}

Semantic roles & 50–950 ramp

primary
#4F7872
secondary
#A18286
accent
#6B77BD
background
#F8F9F9
surface
#EFF2F2
border
#CACCCC
text
#0A0E0E
muted
#7C7E7E

Preview Lab

Preview with #4F7872

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

Preview Lab → · Contrast checker → · Palette generator →

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