#797A5E#797A5E

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

Color values

HEX#797A5E
RGBrgb(121, 122, 94)
HSLhsl(62, 13%, 42%)
HSVhsv(62, 23%, 48%)
CMYKcmyk(0.8%, 0%, 23%, 52.2%)
CIE-LABlab(50.44, -5.43, 15.26)
CIE-LCHlch(50.44, 16.20, 109.59°)
OKLaboklab(57.09% -0.0136 0.0388)
OKLCHoklch(57.09% 0.041 109.3)
XYZxyz(16.8650, 18.7924, 13.3263)
Luminance0.1879 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797A5E #5F5E7A
analogous
#7A6D5E #797A5E #6B7A5E
triadic
#797A5E #5E797A #7A5E79
tetradic
#797A5E #5E7A6D #5F5E7A #7A5E6B
square
#797A5E #5E7A6D #5F5E7A #7A5E6B
split-complementary
#797A5E #5E6B7A #6D5E7A
monochromatic
#343529 #575743 #797A5E #999A7C #B4B49E

Accessibility & contrast

On white

4.41
#797A5E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#797A5E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797A5E
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797A5E#FFFFFF#000000##000000
##797A5E1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #797a5e;
/* rgb */ color: rgb(121, 122, 94);
/* oklch */ color: oklch(57.1% 0.041 109.3);
Tailwind
colors: {
  custom: {
    50: '#a0a08b',
    500: '#797a5e',
    950: '#000000',
  },
}
SCSS
$custom: #797a5e;
$custom-light: #a0a08b;
$custom-dark: #000000;
JSON
{
  "hex": "#797a5e",
  "rgb": {
    "r": 121,
    "g": 122,
    "b": 94
  },
  "hsl": {
    "h": 62.143,
    "s": 12.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.57086,
    "c": 0.0411,
    "h": 109.3
  },
  "luminance": 0.18792
}

Semantic roles & 50–950 ramp

primary
#797A5E
secondary
#9191A3
accent
#72B674
background
#F9F9F8
surface
#F2F2F0
border
#CCCCCB
text
#0E0E0C
muted
#7E7E7D

Preview Lab

Preview with #797A5E

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

Preview Lab → · Contrast checker → · Palette generator →

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