#797D5C#797D5C

#797D5C is a mid, muted yellow. Relative luminance 0.195; OKLCH L 57.7% C 0.048 H 113.5°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#797D5C
RGBrgb(121, 125, 92)
HSLhsl(67, 15%, 43%)
HSVhsv(67, 26%, 49%)
CMYKcmyk(3.2%, 0%, 26.4%, 51%)
CIE-LABlab(51.27, -7.43, 17.54)
CIE-LCHlch(51.27, 19.05, 112.94°)
OKLaboklab(57.73% -0.0193 0.0443)
OKLCHoklch(57.73% 0.048 113.5)
XYZxyz(17.1505, 19.5050, 12.9845)
Luminance0.1951 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797D5C #605C7D
analogous
#7D705C #797D5C #687D5C
triadic
#797D5C #5C797D #7D5C79
tetradic
#797D5C #5C7D70 #605C7D #7D5C68
square
#797D5C #5C7D70 #605C7D #7D5C68
split-complementary
#797D5C #5C687D #705C7D
monochromatic
#353628 #575A42 #797D5C #989D79 #B4B79D

Accessibility & contrast

On white

4.28
#797D5C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#797D5C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797D5C
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797D5C#FFFFFF#000000##000000
##797D5C1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#827A5A
Deuteranopia (green-blind)
#827B5D
Tritanopia (blue-blind)
#7D7974
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #797d5c;
/* rgb */ color: rgb(121, 125, 92);
/* oklch */ color: oklch(57.7% 0.048 113.5);
Tailwind
colors: {
  custom: {
    50: '#a0a28a',
    500: '#797d5c',
    950: '#000000',
  },
}
SCSS
$custom: #797d5c;
$custom-light: #a0a28a;
$custom-dark: #000000;
JSON
{
  "hex": "#797d5c",
  "rgb": {
    "r": 121,
    "g": 125,
    "b": 92
  },
  "hsl": {
    "h": 67.273,
    "s": 15.207,
    "l": 42.549
  },
  "oklch": {
    "l": 0.5773,
    "c": 0.04832,
    "h": 113.5
  },
  "luminance": 0.19505
}

Semantic roles & 50–950 ramp

primary
#797D5C
secondary
#9290A5
accent
#70B879
background
#F9F9F8
surface
#F2F2F0
border
#CCCCCB
text
#0E0F0B
muted
#7E7E7C

Preview Lab

Preview with #797D5C

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

Preview Lab → · Contrast checker → · Palette generator →

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