#797D5D#797D5D

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

Color values

HEX#797D5D
RGBrgb(121, 125, 93)
HSLhsl(68, 15%, 43%)
HSVhsv(68, 26%, 49%)
CMYKcmyk(3.2%, 0%, 25.6%, 51%)
CIE-LABlab(51.29, -7.27, 17.00)
CIE-LCHlch(51.29, 18.49, 113.17°)
OKLaboklab(57.75% -0.0188 0.043)
OKLCHoklch(57.75% 0.047 113.7)
XYZxyz(17.1945, 19.5226, 13.2162)
Luminance0.1952 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797D5D #615D7D
analogous
#7D715D #797D5D #697D5D
triadic
#797D5D #5D797D #7D5D79
tetradic
#797D5D #5D7D71 #615D7D #7D5D69
square
#797D5D #5D7D71 #615D7D #7D5D69
split-complementary
#797D5D #5D697D #715D7D
monochromatic
#353729 #575A43 #797D5D #989D7B #B4B79E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##797D5D#FFFFFF#000000##000000
##797D5D1.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)
#827A5B
Deuteranopia (green-blind)
#827B5E
Tritanopia (blue-blind)
#7D7974
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #797d5d;
/* rgb */ color: rgb(121, 125, 93);
/* oklch */ color: oklch(57.8% 0.047 113.7);
Tailwind
colors: {
  custom: {
    50: '#a0a28b',
    500: '#797d5d',
    950: '#000000',
  },
}
SCSS
$custom: #797d5d;
$custom-light: #a0a28b;
$custom-dark: #000000;
JSON
{
  "hex": "#797d5d",
  "rgb": {
    "r": 121,
    "g": 125,
    "b": 93
  },
  "hsl": {
    "h": 67.5,
    "s": 14.679,
    "l": 42.745
  },
  "oklch": {
    "l": 0.57752,
    "c": 0.04695,
    "h": 113.7
  },
  "luminance": 0.19522
}

Semantic roles & 50–950 ramp

primary
#797D5D
secondary
#9391A5
accent
#70B779
background
#F9F9F8
surface
#F2F2F0
border
#CCCCCB
text
#0E0F0C
muted
#7E7E7D

Preview Lab

Preview with #797D5D

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

Preview Lab → · Contrast checker → · Palette generator →

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