#7FA798#7FA798

#7FA798 is a light, muted teal. Relative luminance 0.344; OKLCH L 69.5% C 0.049 H 169.9°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#7FA798
RGBrgb(127, 167, 152)
HSLhsl(158, 19%, 58%)
HSVhsv(158, 24%, 65%)
CMYKcmyk(24%, 0%, 9%, 34.5%)
CIE-LABlab(65.29, -16.76, 3.34)
CIE-LCHlch(65.29, 17.09, 168.72°)
OKLaboklab(69.46% -0.048 0.0086)
OKLCHoklch(69.46% 0.049 169.9)
XYZxyz(28.2369, 34.4154, 34.8547)
Luminance0.3442 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA798 #A77F8E
analogous
#7FA784 #7FA798 #7FA2A7
triadic
#7FA798 #987FA7 #A7987F
tetradic
#7FA798 #847FA7 #A77F8E #A2A77F
square
#7FA798 #847FA7 #A77F8E #A2A77F
split-complementary
#7FA798 #A77FA2 #A7847F
monochromatic
#46665A #5F8A7A #7FA798 #A3C0B5 #C8D9D2

Accessibility & contrast

On white

2.66
#7FA798 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#7FA798 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA798
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA798#FFFFFF#000000##000000
##7FA7981.002.667.887.88
#FFFFFF2.661.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5A297
Deuteranopia (green-blind)
#9D9C99
Tritanopia (blue-blind)
#76A8A2
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #7fa798;
/* rgb */ color: rgb(127, 167, 152);
/* oklch */ color: oklch(69.5% 0.049 169.9);
Tailwind
colors: {
  custom: {
    50: '#a5c1b6',
    500: '#7fa798',
    950: '#000000',
  },
}
SCSS
$custom: #7fa798;
$custom-light: #a5c1b6;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa798",
  "rgb": {
    "r": 127,
    "g": 167,
    "b": 152
  },
  "hsl": {
    "h": 157.5,
    "s": 18.519,
    "l": 57.647
  },
  "oklch": {
    "l": 0.69462,
    "c": 0.04878,
    "h": 169.9
  },
  "luminance": 0.34416
}

Semantic roles & 50–950 ramp

primary
#7FA798
secondary
#C9B9BF
accent
#6D8ABB
background
#FAFBFB
surface
#F4F7F6
border
#CED0D0
text
#0F1211
muted
#7F8180

Preview Lab

Preview with #7FA798

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

Preview Lab → · Contrast checker → · Palette generator →

#7FA798 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva