#796F4A#796F4A

#796F4A is a mid, muted yellow. Relative luminance 0.159; OKLCH L 54.1% C 0.055 H 94.8°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#796F4A
RGBrgb(121, 111, 74)
HSLhsl(47, 24%, 38%)
HSVhsv(47, 39%, 47%)
CMYKcmyk(0%, 8.3%, 38.8%, 52.5%)
CIE-LABlab(46.88, -2.01, 22.04)
CIE-LCHlch(46.88, 22.13, 95.20°)
OKLaboklab(54.14% -0.0046 0.0545)
OKLCHoklch(54.14% 0.055 94.8)
XYZxyz(14.8059, 15.9287, 8.7719)
Luminance0.1593 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796F4A #4A5479
analogous
#79574A #796F4A #6B794A
triadic
#796F4A #4A796F #6F4A79
tetradic
#796F4A #4A7957 #4A5479 #794A6B
square
#796F4A #4A7957 #4A5479 #794A6B
split-complementary
#796F4A #4A6B79 #574A79
monochromatic
#2D291C #534C33 #796F4A #9F9262 #B6AC87

Accessibility & contrast

On white

5.02
#796F4A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #796F4A
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796F4A#FFFFFF#000000##FFFFFF
##796F4A1.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #796f4a;
/* rgb */ color: rgb(121, 111, 74);
/* oklch */ color: oklch(54.1% 0.055 94.8);
Tailwind
colors: {
  custom: {
    50: '#a0987d',
    500: '#796f4a',
    950: '#000000',
  },
}
SCSS
$custom: #796f4a;
$custom-light: #a0987d;
$custom-dark: #000000;
JSON
{
  "hex": "#796f4a",
  "rgb": {
    "r": 121,
    "g": 111,
    "b": 74
  },
  "hsl": {
    "h": 47.234,
    "s": 24.103,
    "l": 38.235
  },
  "oklch": {
    "l": 0.5414,
    "c": 0.05465,
    "h": 94.8
  },
  "luminance": 0.15928
}

Semantic roles & 50–950 ramp

primary
#796F4A
secondary
#7D85A2
accent
#7AC167
background
#F9F9F7
surface
#F2F2EE
border
#CCCCC9
text
#0F0D09
muted
#7E7E7B

Preview Lab

Preview with #796F4A

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

Preview Lab → · Contrast checker → · Palette generator →

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