#797159#797159

#797159 is a mid, muted yellow. Relative luminance 0.166; OKLCH L 54.9% C 0.037 H 91.8°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#797159
RGBrgb(121, 113, 89)
HSLhsl(45, 15%, 41%)
HSVhsv(45, 26%, 47%)
CMYKcmyk(0%, 6.6%, 26.4%, 52.5%)
CIE-LABlab(47.75, -1.06, 14.47)
CIE-LCHlch(47.75, 14.51, 94.18°)
OKLaboklab(54.92% -0.0012 0.0368)
OKLCHoklch(54.92% 0.037 91.8)
XYZxyz(15.5935, 16.5968, 11.8313)
Luminance0.1660 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797159 #596179
analogous
#796159 #797159 #717959
triadic
#797159 #597971 #715979
tetradic
#797159 #597961 #596179 #795971
square
#797159 #597961 #596179 #795971
split-complementary
#797159 #597179 #615979
monochromatic
#322F25 #56503F #797159 #9A9175 #B4AD99

Accessibility & contrast

On white

4.86
#797159 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#797159 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #797159
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797159#FFFFFF#000000##FFFFFF
##7971591.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#767057
Deuteranopia (green-blind)
#79725A
Tritanopia (blue-blind)
#7E6D6A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #797159;
/* rgb */ color: rgb(121, 113, 89);
/* oklch */ color: oklch(54.9% 0.037 91.8);
Tailwind
colors: {
  custom: {
    50: '#a09988',
    500: '#797159',
    950: '#000000',
  },
}
SCSS
$custom: #797159;
$custom-light: #a09988;
$custom-dark: #000000;
JSON
{
  "hex": "#797159",
  "rgb": {
    "r": 121,
    "g": 113,
    "b": 89
  },
  "hsl": {
    "h": 45,
    "s": 15.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.54921,
    "c": 0.03683,
    "h": 91.8
  },
  "luminance": 0.16596
}

Semantic roles & 50–950 ramp

primary
#797159
secondary
#8C91A2
accent
#82B870
background
#F9F9F8
surface
#F2F2EF
border
#CCCCCA
text
#0E0E0B
muted
#7E7E7C

Preview Lab

Preview with #797159

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

Preview Lab → · Contrast checker → · Palette generator →

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