#797666#797666

#797666 is a mid, muted yellow. Relative luminance 0.180; OKLCH L 56.4% C 0.024 H 98.4°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#797666
RGBrgb(121, 118, 102)
HSLhsl(51, 9%, 44%)
HSVhsv(51, 16%, 47%)
CMYKcmyk(0%, 2.5%, 15.7%, 52.5%)
CIE-LABlab(49.47, -1.82, 9.24)
CIE-LCHlch(49.47, 9.41, 101.16°)
OKLaboklab(56.38% -0.0035 0.0239)
OKLCHoklch(56.38% 0.024 98.4)
XYZxyz(16.7617, 17.9813, 15.1555)
Luminance0.1798 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797666 #666979
analogous
#796C66 #797666 #727966
triadic
#797666 #667976 #766679
tetradic
#797666 #66796C #666979 #796672
square
#797666 #66796C #666979 #796672
split-complementary
#797666 #667279 #6C6679
monochromatic
#37352E #58564A #797666 #989584 #B4B1A6

Accessibility & contrast

On white

4.57
#797666 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#797666 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797666
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797666#FFFFFF#000000##000000
##7976661.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#797565
Deuteranopia (green-blind)
#7A7667
Tritanopia (blue-blind)
#7C7471
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #797666;
/* rgb */ color: rgb(121, 118, 102);
/* oklch */ color: oklch(56.4% 0.024 98.4);
Tailwind
colors: {
  custom: {
    50: '#9f9d91',
    500: '#797666',
    950: '#000000',
  },
}
SCSS
$custom: #797666;
$custom-light: #9f9d91;
$custom-dark: #000000;
JSON
{
  "hex": "#797666",
  "rgb": {
    "r": 121,
    "g": 118,
    "b": 102
  },
  "hsl": {
    "h": 50.526,
    "s": 8.52,
    "l": 43.725
  },
  "oklch": {
    "l": 0.56379,
    "c": 0.02416,
    "h": 98.4
  },
  "luminance": 0.17981
}

Semantic roles & 50–950 ramp

primary
#797666
secondary
#9899A3
accent
#80B276
background
#F9F9F8
surface
#F2F2F0
border
#CCCCCB
text
#0E0E0C
muted
#7E7E7D

Preview Lab

Preview with #797666

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

Preview Lab → · Contrast checker → · Palette generator →

#797666 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva