#797357#797357

#797357 is a mid, muted yellow. Relative luminance 0.170; OKLCH L 55.3% C 0.042 H 97.4°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#797357
RGBrgb(121, 115, 87)
HSLhsl(49, 16%, 41%)
HSVhsv(49, 28%, 47%)
CMYKcmyk(0%, 5%, 28.1%, 52.5%)
CIE-LABlab(48.28, -2.51, 16.37)
CIE-LCHlch(48.28, 16.56, 98.72°)
OKLaboklab(55.33% -0.0054 0.0414)
OKLCHoklch(55.33% 0.042 97.4)
XYZxyz(15.7363, 17.0149, 11.4702)
Luminance0.1701 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797357 #575D79
analogous
#796257 #797357 #6E7957
triadic
#797357 #577973 #735779
tetradic
#797357 #577962 #575D79 #79576E
square
#797357 #577962 #575D79 #79576E
split-complementary
#797357 #576E79 #625779
monochromatic
#322F24 #55513D #797357 #9A9373 #B4AF97

Accessibility & contrast

On white

4.77
#797357 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#797357 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #797357
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797357#FFFFFF#000000##FFFFFF
##7973571.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#797155
Deuteranopia (green-blind)
#7A7458
Tritanopia (blue-blind)
#7E6F6B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #797357;
/* rgb */ color: rgb(121, 115, 87);
/* oklch */ color: oklch(55.3% 0.042 97.4);
Tailwind
colors: {
  custom: {
    50: '#a09b86',
    500: '#797357',
    950: '#000000',
  },
}
SCSS
$custom: #797357;
$custom-light: #a09b86;
$custom-dark: #000000;
JSON
{
  "hex": "#797357",
  "rgb": {
    "r": 121,
    "g": 115,
    "b": 87
  },
  "hsl": {
    "h": 49.412,
    "s": 16.346,
    "l": 40.784
  },
  "oklch": {
    "l": 0.55326,
    "c": 0.04173,
    "h": 97.4
  },
  "luminance": 0.17015
}

Semantic roles & 50–950 ramp

primary
#797357
secondary
#8A8EA2
accent
#7CB96F
background
#F9F9F8
surface
#F2F2EF
border
#CCCCCA
text
#0E0E0B
muted
#7E7E7C

Preview Lab

Preview with #797357

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

Preview Lab → · Contrast checker → · Palette generator →

#797357 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva