#797E5D#797E5D

#797E5D is a mid, muted yellow. Relative luminance 0.198; OKLCH L 58.0% C 0.048 H 114.9°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#797E5D
RGBrgb(121, 126, 93)
HSLhsl(69, 15%, 43%)
HSVhsv(69, 26%, 49%)
CMYKcmyk(4%, 0%, 26.2%, 50.6%)
CIE-LABlab(51.58, -7.83, 17.39)
CIE-LCHlch(51.58, 19.08, 114.24°)
OKLaboklab(57.98% -0.0204 0.044)
OKLCHoklch(57.98% 0.048 114.9)
XYZxyz(17.3217, 19.7771, 13.2586)
Luminance0.1978 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797E5D #625D7E
analogous
#7E725D #797E5D #687E5D
triadic
#797E5D #5D797E #7E5D79
tetradic
#797E5D #5D7E72 #625D7E #7E5D68
square
#797E5D #5D7E72 #625D7E #7E5D68
split-complementary
#797E5D #5D687E #725D7E
monochromatic
#353829 #575B43 #797E5D #989D7B #B4B79E

Accessibility & contrast

On white

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

On black

4.96
#797E5D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797E5D
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797E5D#FFFFFF#000000##000000
##797E5D1.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#837B5B
Deuteranopia (green-blind)
#827B5E
Tritanopia (blue-blind)
#7D7A75
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #797e5d;
/* rgb */ color: rgb(121, 126, 93);
/* oklch */ color: oklch(58.0% 0.048 114.9);
Tailwind
colors: {
  custom: {
    50: '#a0a38b',
    500: '#797e5d',
    950: '#000000',
  },
}
SCSS
$custom: #797e5d;
$custom-light: #a0a38b;
$custom-dark: #000000;
JSON
{
  "hex": "#797e5d",
  "rgb": {
    "r": 121,
    "g": 126,
    "b": 93
  },
  "hsl": {
    "h": 69.091,
    "s": 15.068,
    "l": 42.941
  },
  "oklch": {
    "l": 0.57984,
    "c": 0.04847,
    "h": 114.9
  },
  "luminance": 0.19777
}

Semantic roles & 50–950 ramp

primary
#797E5D
secondary
#9491A6
accent
#70B87B
background
#F9FAF8
surface
#F2F3F0
border
#CCCDCB
text
#0E0F0C
muted
#7E7F7D

Preview Lab

Preview with #797E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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