#797C60#797C60

#797C60 is a mid, muted yellow. Relative luminance 0.193; OKLCH L 57.6% C 0.041 H 112.7°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#797C60
RGBrgb(121, 124, 96)
HSLhsl(66, 13%, 43%)
HSVhsv(66, 23%, 49%)
CMYKcmyk(2.4%, 0%, 22.6%, 51.4%)
CIE-LABlab(51.07, -6.24, 14.95)
CIE-LCHlch(51.07, 16.20, 112.64°)
OKLaboklab(57.59% -0.0159 0.0381)
OKLCHoklch(57.59% 0.041 112.7)
XYZxyz(17.2040, 19.3249, 13.8878)
Luminance0.1933 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797C60 #63607C
analogous
#7C7160 #797C60 #6B7C60
triadic
#797C60 #60797C #7C6079
tetradic
#797C60 #607C71 #63607C #7C606B
square
#797C60 #607C71 #63607C #7C606B
split-complementary
#797C60 #606B7C #71607C
monochromatic
#36372B #575A45 #797C60 #989B7E #B4B6A1

Accessibility & contrast

On white

4.32
#797C60 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#797C60 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797C60
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797C60#FFFFFF#000000##000000
##797C601.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#80795E
Deuteranopia (green-blind)
#807A61
Tritanopia (blue-blind)
#7D7974
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #797c60;
/* rgb */ color: rgb(121, 124, 96);
/* oklch */ color: oklch(57.6% 0.041 112.7);
Tailwind
colors: {
  custom: {
    50: '#a0a18d',
    500: '#797c60',
    950: '#000000',
  },
}
SCSS
$custom: #797c60;
$custom-light: #a0a18d;
$custom-dark: #000000;
JSON
{
  "hex": "#797c60",
  "rgb": {
    "r": 121,
    "g": 124,
    "b": 96
  },
  "hsl": {
    "h": 66.429,
    "s": 12.727,
    "l": 43.137
  },
  "oklch": {
    "l": 0.57592,
    "c": 0.04125,
    "h": 112.7
  },
  "luminance": 0.19325
}

Semantic roles & 50–950 ramp

primary
#797C60
secondary
#9593A5
accent
#72B679
background
#F9F9F8
surface
#F2F2F0
border
#CCCCCB
text
#0E0F0C
muted
#7E7E7D

Preview Lab

Preview with #797C60

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

Preview Lab → · Contrast checker → · Palette generator →

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