#797461#797461

#797461 is a mid, muted yellow. Relative luminance 0.174; OKLCH L 55.8% C 0.029 H 95.0°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#797461
RGBrgb(121, 116, 97)
HSLhsl(48, 11%, 43%)
HSVhsv(48, 20%, 47%)
CMYKcmyk(0%, 4.1%, 19.8%, 52.5%)
CIE-LABlab(48.78, -1.52, 11.21)
CIE-LCHlch(48.78, 11.31, 97.70°)
OKLaboklab(55.8% -0.0025 0.0288)
OKLCHoklch(55.8% 0.029 95)
XYZxyz(16.2881, 17.4191, 13.8111)
Luminance0.1742 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797461 #616679
analogous
#796861 #797461 #727961
triadic
#797461 #617974 #746179
tetradic
#797461 #617968 #616679 #796172
square
#797461 #617968 #616679 #796172
split-complementary
#797461 #617279 #686179
monochromatic
#35332B #575346 #797461 #98937F #B4B0A1

Accessibility & contrast

On white

4.68
#797461 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#797461 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #797461
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797461#FFFFFF#000000##FFFFFF
##7974611.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#787360
Deuteranopia (green-blind)
#7A7562
Tritanopia (blue-blind)
#7D716F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #797461;
/* rgb */ color: rgb(121, 116, 97);
/* oklch */ color: oklch(55.8% 0.029 95.0);
Tailwind
colors: {
  custom: {
    50: '#a09c8e',
    500: '#797461',
    950: '#000000',
  },
}
SCSS
$custom: #797461;
$custom-light: #a09c8e;
$custom-dark: #000000;
JSON
{
  "hex": "#797461",
  "rgb": {
    "r": 121,
    "g": 116,
    "b": 97
  },
  "hsl": {
    "h": 47.5,
    "s": 11.009,
    "l": 42.745
  },
  "oklch": {
    "l": 0.55796,
    "c": 0.02893,
    "h": 95
  },
  "luminance": 0.17419
}

Semantic roles & 50–950 ramp

primary
#797461
secondary
#9396A3
accent
#81B474
background
#F9F9F8
surface
#F2F2F0
border
#CCCCCB
text
#0E0E0C
muted
#7E7E7D

Preview Lab

Preview with #797461

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

Preview Lab → · Contrast checker → · Palette generator →

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