#797B60#797B60

#797B60 is a mid, muted yellow. Relative luminance 0.191; OKLCH L 57.4% C 0.040 H 111.1°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#797B60
RGBrgb(121, 123, 96)
HSLhsl(64, 12%, 43%)
HSVhsv(64, 22%, 48%)
CMYKcmyk(1.6%, 0%, 22%, 51.8%)
CIE-LABlab(50.78, -5.67, 14.56)
CIE-LCHlch(50.78, 15.62, 111.30°)
OKLaboklab(57.36% -0.0143 0.0371)
OKLCHoklch(57.36% 0.04 111.1)
XYZxyz(17.0793, 19.0755, 13.8463)
Luminance0.1908 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797B60 #62607B
analogous
#7B6F60 #797B60 #6B7B60
triadic
#797B60 #60797B #7B6079
tetradic
#797B60 #607B6F #62607B #7B606B
square
#797B60 #607B6F #62607B #7B606B
split-complementary
#797B60 #606B7B #6F607B
monochromatic
#35362A #575945 #797B60 #989A7E #B4B5A0

Accessibility & contrast

On white

4.36
#797B60 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#797B60 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797B60
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797B60#FFFFFF#000000##000000
##797B601.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F785E
Deuteranopia (green-blind)
#7F7961
Tritanopia (blue-blind)
#7D7874
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #797b60;
/* rgb */ color: rgb(121, 123, 96);
/* oklch */ color: oklch(57.4% 0.040 111.1);
Tailwind
colors: {
  custom: {
    50: '#a0a18d',
    500: '#797b60',
    950: '#000000',
  },
}
SCSS
$custom: #797b60;
$custom-light: #a0a18d;
$custom-dark: #000000;
JSON
{
  "hex": "#797b60",
  "rgb": {
    "r": 121,
    "g": 123,
    "b": 96
  },
  "hsl": {
    "h": 64.444,
    "s": 12.329,
    "l": 42.941
  },
  "oklch": {
    "l": 0.57363,
    "c": 0.03975,
    "h": 111.1
  },
  "luminance": 0.19075
}

Semantic roles & 50–950 ramp

primary
#797B60
secondary
#9493A4
accent
#73B578
background
#F9F9F8
surface
#F2F2F0
border
#CCCCCB
text
#0E0E0C
muted
#7E7E7D

Preview Lab

Preview with #797B60

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

Preview Lab → · Contrast checker → · Palette generator →

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