#797A61#797A61

#797A61 is a mid, muted yellow. Relative luminance 0.188; OKLCH L 57.2% C 0.037 H 109.4°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#797A61
RGBrgb(121, 122, 97)
HSLhsl(62, 11%, 43%)
HSVhsv(62, 20%, 48%)
CMYKcmyk(0.8%, 0%, 20.5%, 52.2%)
CIE-LABlab(50.51, -4.95, 13.61)
CIE-LCHlch(50.51, 14.48, 109.98°)
OKLaboklab(57.16% -0.0122 0.0348)
OKLCHoklch(57.16% 0.037 109.4)
XYZxyz(17.0022, 18.8472, 14.0491)
Luminance0.1885 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797A61 #62617A
analogous
#7A6E61 #797A61 #6C7A61
triadic
#797A61 #61797A #7A6179
tetradic
#797A61 #617A6E #62617A #7A616C
square
#797A61 #617A6E #62617A #7A616C
split-complementary
#797A61 #616C7A #6E617A
monochromatic
#35362B #575846 #797A61 #98997F #B4B4A1

Accessibility & contrast

On white

4.40
#797A61 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#797A61 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797A61
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797A61#FFFFFF#000000##000000
##797A611.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E785F
Deuteranopia (green-blind)
#7F7962
Tritanopia (blue-blind)
#7D7773
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #797a61;
/* rgb */ color: rgb(121, 122, 97);
/* oklch */ color: oklch(57.2% 0.037 109.4);
Tailwind
colors: {
  custom: {
    50: '#a0a08e',
    500: '#797a61',
    950: '#000000',
  },
}
SCSS
$custom: #797a61;
$custom-light: #a0a08e;
$custom-dark: #000000;
JSON
{
  "hex": "#797a61",
  "rgb": {
    "r": 121,
    "g": 122,
    "b": 97
  },
  "hsl": {
    "h": 62.4,
    "s": 11.416,
    "l": 42.941
  },
  "oklch": {
    "l": 0.57158,
    "c": 0.03685,
    "h": 109.4
  },
  "luminance": 0.18847
}

Semantic roles & 50–950 ramp

primary
#797A61
secondary
#9493A3
accent
#73B476
background
#F9F9F8
surface
#F2F2F0
border
#CCCCCB
text
#0E0E0C
muted
#7E7E7D

Preview Lab

Preview with #797A61

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

Preview Lab → · Contrast checker → · Palette generator →

#797A61 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva