#797355#797355

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

Color values

HEX#797355
RGBrgb(121, 115, 85)
HSLhsl(50, 17%, 40%)
HSVhsv(50, 30%, 47%)
CMYKcmyk(0%, 5%, 29.8%, 52.5%)
CIE-LABlab(48.24, -2.81, 17.48)
CIE-LCHlch(48.24, 17.70, 99.12°)
OKLaboklab(55.28% -0.0063 0.044)
OKLCHoklch(55.28% 0.044 98.1)
XYZxyz(15.6557, 16.9826, 11.0458)
Luminance0.1698 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797355 #555B79
analogous
#796155 #797355 #6D7955
triadic
#797355 #557973 #735579
tetradic
#797355 #557961 #555B79 #79556D
square
#797355 #557961 #555B79 #79556D
split-complementary
#797355 #556D79 #615579
monochromatic
#312F22 #55513C #797355 #9B9470 #B4AF94

Accessibility & contrast

On white

4.78
#797355 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #797355
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797355#FFFFFF#000000##FFFFFF
##7973551.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#797153
Deuteranopia (green-blind)
#7B7456
Tritanopia (blue-blind)
#7F6F6B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #797355;
/* rgb */ color: rgb(121, 115, 85);
/* oklch */ color: oklch(55.3% 0.044 98.1);
Tailwind
colors: {
  custom: {
    50: '#a09b85',
    500: '#797355',
    950: '#000000',
  },
}
SCSS
$custom: #797355;
$custom-light: #a09b85;
$custom-dark: #000000;
JSON
{
  "hex": "#797355",
  "rgb": {
    "r": 121,
    "g": 115,
    "b": 85
  },
  "hsl": {
    "h": 50,
    "s": 17.476,
    "l": 40.392
  },
  "oklch": {
    "l": 0.5528,
    "c": 0.04446,
    "h": 98.1
  },
  "luminance": 0.16982
}

Semantic roles & 50–950 ramp

primary
#797355
secondary
#888CA2
accent
#7ABA6E
background
#F9F9F8
surface
#F2F2EF
border
#CCCCCA
text
#0F0E0B
muted
#7E7E7C

Preview Lab

Preview with #797355

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

Preview Lab → · Contrast checker → · Palette generator →

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