#796F4D#796F4D

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

Color values

HEX#796F4D
RGBrgb(121, 111, 77)
HSLhsl(46, 22%, 39%)
HSVhsv(46, 36%, 47%)
CMYKcmyk(0%, 8.3%, 36.4%, 52.5%)
CIE-LABlab(46.94, -1.62, 20.38)
CIE-LCHlch(46.94, 20.44, 94.54°)
OKLaboklab(54.2% -0.0032 0.0507)
OKLCHoklch(54.2% 0.051 93.7)
XYZxyz(14.9094, 15.9701, 9.3169)
Luminance0.1597 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796F4D #4D5779
analogous
#79594D #796F4D #6D794D
triadic
#796F4D #4D796F #6F4D79
tetradic
#796F4D #4D7959 #4D5779 #794D6D
square
#796F4D #4D7959 #4D5779 #794D6D
split-complementary
#796F4D #4D6D79 #594D79
monochromatic
#2E2A1D #544D35 #796F4D #9D9166 #B5AC8B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##796F4D#FFFFFF#000000##FFFFFF
##796F4D1.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)
#766D4B
Deuteranopia (green-blind)
#79714E
Tritanopia (blue-blind)
#806A66
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #796f4d;
/* rgb */ color: rgb(121, 111, 77);
/* oklch */ color: oklch(54.2% 0.051 93.7);
Tailwind
colors: {
  custom: {
    50: '#a0987f',
    500: '#796f4d',
    950: '#000000',
  },
}
SCSS
$custom: #796f4d;
$custom-light: #a0987f;
$custom-dark: #000000;
JSON
{
  "hex": "#796f4d",
  "rgb": {
    "r": 121,
    "g": 111,
    "b": 77
  },
  "hsl": {
    "h": 46.364,
    "s": 22.222,
    "l": 38.824
  },
  "oklch": {
    "l": 0.54201,
    "c": 0.05079,
    "h": 93.7
  },
  "luminance": 0.1597
}

Semantic roles & 50–950 ramp

primary
#796F4D
secondary
#8088A2
accent
#7DBF69
background
#F9F9F7
surface
#F2F2EE
border
#CCCCC9
text
#0F0D0A
muted
#7E7E7C

Preview Lab

Preview with #796F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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