#796F4B#796F4B

#796F4B is a mid, muted yellow. Relative luminance 0.159; OKLCH L 54.2% C 0.053 H 94.4°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#796F4B
RGBrgb(121, 111, 75)
HSLhsl(47, 23%, 38%)
HSVhsv(47, 38%, 47%)
CMYKcmyk(0%, 8.3%, 38%, 52.5%)
CIE-LABlab(46.90, -1.88, 21.48)
CIE-LCHlch(46.90, 21.57, 95.00°)
OKLaboklab(54.16% -0.0041 0.0532)
OKLCHoklch(54.16% 0.053 94.4)
XYZxyz(14.8399, 15.9423, 8.9507)
Luminance0.1594 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796F4B #4B5579
analogous
#79584B #796F4B #6C794B
triadic
#796F4B #4B796F #6F4B79
tetradic
#796F4B #4B7958 #4B5579 #794B6C
square
#796F4B #4B7958 #4B5579 #794B6C
split-complementary
#796F4B #4B6C79 #584B79
monochromatic
#2D2A1C #534C34 #796F4B #9E9163 #B6AC89

Accessibility & contrast

On white

5.01
#796F4B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#796F4B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796F4B
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796F4B#FFFFFF#000000##FFFFFF
##796F4B1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766D48
Deuteranopia (green-blind)
#79714C
Tritanopia (blue-blind)
#806A66
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #796f4b;
/* rgb */ color: rgb(121, 111, 75);
/* oklch */ color: oklch(54.2% 0.053 94.4);
Tailwind
colors: {
  custom: {
    50: '#a0987d',
    500: '#796f4b',
    950: '#000000',
  },
}
SCSS
$custom: #796f4b;
$custom-light: #a0987d;
$custom-dark: #000000;
JSON
{
  "hex": "#796f4b",
  "rgb": {
    "r": 121,
    "g": 111,
    "b": 75
  },
  "hsl": {
    "h": 46.957,
    "s": 23.469,
    "l": 38.431
  },
  "oklch": {
    "l": 0.5416,
    "c": 0.05337,
    "h": 94.4
  },
  "luminance": 0.15942
}

Semantic roles & 50–950 ramp

primary
#796F4B
secondary
#7E86A2
accent
#7BC068
background
#F9F9F7
surface
#F2F2EE
border
#CCCCC9
text
#0F0D09
muted
#7E7E7B

Preview Lab

Preview with #796F4B

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

Preview Lab → · Contrast checker → · Palette generator →

#796F4B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva