#797A5D#797A5D

#797A5D is a mid, muted yellow. Relative luminance 0.188; OKLCH L 57.1% C 0.043 H 109.3°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#797A5D
RGBrgb(121, 122, 93)
HSLhsl(62, 13%, 42%)
HSVhsv(62, 24%, 48%)
CMYKcmyk(0.8%, 0%, 23.8%, 52.2%)
CIE-LABlab(50.42, -5.59, 15.81)
CIE-LCHlch(50.42, 16.77, 109.46°)
OKLaboklab(57.06% -0.0141 0.0401)
OKLCHoklch(57.06% 0.043 109.3)
XYZxyz(16.8204, 18.7745, 13.0915)
Luminance0.1877 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797A5D #5E5D7A
analogous
#7A6D5D #797A5D #6B7A5D
triadic
#797A5D #5D797A #7A5D79
tetradic
#797A5D #5D7A6D #5E5D7A #7A5D6B
square
#797A5D #5D7A6D #5E5D7A #7A5D6B
split-complementary
#797A5D #5D6B7A #6D5D7A
monochromatic
#343528 #575743 #797A5D #999A7A #B4B49D

Accessibility & contrast

On white

4.42
#797A5D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#797A5D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797A5D
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797A5D#FFFFFF#000000##000000
##797A5D1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F775B
Deuteranopia (green-blind)
#7F795E
Tritanopia (blue-blind)
#7D7672
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #797a5d;
/* rgb */ color: rgb(121, 122, 93);
/* oklch */ color: oklch(57.1% 0.043 109.3);
Tailwind
colors: {
  custom: {
    50: '#a0a08b',
    500: '#797a5d',
    950: '#000000',
  },
}
SCSS
$custom: #797a5d;
$custom-light: #a0a08b;
$custom-dark: #000000;
JSON
{
  "hex": "#797a5d",
  "rgb": {
    "r": 121,
    "g": 122,
    "b": 93
  },
  "hsl": {
    "h": 62.069,
    "s": 13.488,
    "l": 42.157
  },
  "oklch": {
    "l": 0.57062,
    "c": 0.0425,
    "h": 109.3
  },
  "luminance": 0.18774
}

Semantic roles & 50–950 ramp

primary
#797A5D
secondary
#9090A3
accent
#71B674
background
#F9F9F8
surface
#F2F2F0
border
#CCCCCB
text
#0E0E0C
muted
#7E7E7D

Preview Lab

Preview with #797A5D

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

Preview Lab → · Contrast checker → · Palette generator →

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