#797E5B#797E5B

#797E5B is a mid, muted yellow. Relative luminance 0.197; OKLCH L 57.9% C 0.051 H 114.6°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#797E5B
RGBrgb(121, 126, 91)
HSLhsl(69, 16%, 43%)
HSVhsv(69, 28%, 49%)
CMYKcmyk(4%, 0%, 27.8%, 50.6%)
CIE-LABlab(51.54, -8.14, 18.49)
CIE-LCHlch(51.54, 20.20, 113.76°)
OKLaboklab(57.94% -0.0213 0.0466)
OKLCHoklch(57.94% 0.051 114.6)
XYZxyz(17.2343, 19.7421, 12.7982)
Luminance0.1974 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797E5B #605B7E
analogous
#7E715B #797E5B #687E5B
triadic
#797E5B #5B797E #7E5B79
tetradic
#797E5B #5B7E71 #605B7E #7E5B68
square
#797E5B #5B7E71 #605B7E #7E5B68
split-complementary
#797E5B #5B687E #715B7E
monochromatic
#353728 #575A41 #797E5B #989E78 #B4B79C

Accessibility & contrast

On white

4.24
#797E5B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#797E5B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797E5B
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797E5B#FFFFFF#000000##000000
##797E5B1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#837A59
Deuteranopia (green-blind)
#837B5C
Tritanopia (blue-blind)
#7D7A75
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #797e5b;
/* rgb */ color: rgb(121, 126, 91);
/* oklch */ color: oklch(57.9% 0.051 114.6);
Tailwind
colors: {
  custom: {
    50: '#a0a389',
    500: '#797e5b',
    950: '#000000',
  },
}
SCSS
$custom: #797e5b;
$custom-light: #a0a389;
$custom-dark: #000000;
JSON
{
  "hex": "#797e5b",
  "rgb": {
    "r": 121,
    "g": 126,
    "b": 91
  },
  "hsl": {
    "h": 68.571,
    "s": 16.129,
    "l": 42.549
  },
  "oklch": {
    "l": 0.57939,
    "c": 0.05121,
    "h": 114.6
  },
  "luminance": 0.19742
}

Semantic roles & 50–950 ramp

primary
#797E5B
secondary
#928FA6
accent
#6FB979
background
#F9FAF8
surface
#F2F3F0
border
#CCCDCB
text
#0E0F0B
muted
#7E7F7C

Preview Lab

Preview with #797E5B

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

Preview Lab → · Contrast checker → · Palette generator →

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