#796F4E#796F4E

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

Color values

HEX#796F4E
RGBrgb(121, 111, 78)
HSLhsl(46, 22%, 39%)
HSVhsv(46, 36%, 47%)
CMYKcmyk(0%, 8.3%, 35.5%, 52.5%)
CIE-LABlab(46.95, -1.48, 19.82)
CIE-LCHlch(46.95, 19.88, 94.28°)
OKLaboklab(54.22% -0.0028 0.0494)
OKLCHoklch(54.22% 0.05 93.2)
XYZxyz(14.9450, 15.9843, 9.5043)
Luminance0.1598 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796F4E #4E5879
analogous
#795A4E #796F4E #6E794E
triadic
#796F4E #4E796F #6F4E79
tetradic
#796F4E #4E795A #4E5879 #794E6E
square
#796F4E #4E795A #4E5879 #794E6E
split-complementary
#796F4E #4E6E79 #5A4E79
monochromatic
#2F2B1E #544D36 #796F4E #9D9167 #B5AC8C

Accessibility & contrast

On white

5.00
#796F4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#796F4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796F4E
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796F4E#FFFFFF#000000##FFFFFF
##796F4E1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #796f4e;
/* rgb */ color: rgb(121, 111, 78);
/* oklch */ color: oklch(54.2% 0.050 93.2);
Tailwind
colors: {
  custom: {
    50: '#a09880',
    500: '#796f4e',
    950: '#000000',
  },
}
SCSS
$custom: #796f4e;
$custom-light: #a09880;
$custom-dark: #000000;
JSON
{
  "hex": "#796f4e",
  "rgb": {
    "r": 121,
    "g": 111,
    "b": 78
  },
  "hsl": {
    "h": 46.047,
    "s": 21.608,
    "l": 39.02
  },
  "oklch": {
    "l": 0.54222,
    "c": 0.0495,
    "h": 93.2
  },
  "luminance": 0.15984
}

Semantic roles & 50–950 ramp

primary
#796F4E
secondary
#8189A2
accent
#7DBE6A
background
#F9F9F7
surface
#F2F2EE
border
#CCCCC9
text
#0F0D0A
muted
#7E7E7C

Preview Lab

Preview with #796F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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