#796F4C#796F4C

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

Color values

HEX#796F4C
RGBrgb(121, 111, 76)
HSLhsl(47, 23%, 39%)
HSVhsv(47, 37%, 47%)
CMYKcmyk(0%, 8.3%, 37.2%, 52.5%)
CIE-LABlab(46.92, -1.75, 20.93)
CIE-LCHlch(46.92, 21.00, 94.77°)
OKLaboklab(54.18% -0.0037 0.052)
OKLCHoklch(54.18% 0.052 94.1)
XYZxyz(14.8744, 15.9561, 9.1324)
Luminance0.1596 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796F4C #4C5679
analogous
#79584C #796F4C #6C794C
triadic
#796F4C #4C796F #6F4C79
tetradic
#796F4C #4C7958 #4C5679 #794C6C
square
#796F4C #4C7958 #4C5679 #794C6C
split-complementary
#796F4C #4C6C79 #584C79
monochromatic
#2E2A1D #534D34 #796F4C #9E9164 #B5AC8A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #796f4c;
/* rgb */ color: rgb(121, 111, 76);
/* oklch */ color: oklch(54.2% 0.052 94.1);
Tailwind
colors: {
  custom: {
    50: '#a0987e',
    500: '#796f4c',
    950: '#000000',
  },
}
SCSS
$custom: #796f4c;
$custom-light: #a0987e;
$custom-dark: #000000;
JSON
{
  "hex": "#796f4c",
  "rgb": {
    "r": 121,
    "g": 111,
    "b": 76
  },
  "hsl": {
    "h": 46.667,
    "s": 22.843,
    "l": 38.627
  },
  "oklch": {
    "l": 0.5418,
    "c": 0.05209,
    "h": 94.1
  },
  "luminance": 0.15956
}

Semantic roles & 50–950 ramp

primary
#796F4C
secondary
#7F87A2
accent
#7CBF68
background
#F9F9F7
surface
#F2F2EE
border
#CCCCC9
text
#0F0D0A
muted
#7E7E7C

Preview Lab

Preview with #796F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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