#796F4F#796F4F

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

Color values

HEX#796F4F
RGBrgb(121, 111, 79)
HSLhsl(46, 21%, 39%)
HSVhsv(46, 35%, 47%)
CMYKcmyk(0%, 8.3%, 34.7%, 52.5%)
CIE-LABlab(46.97, -1.35, 19.27)
CIE-LCHlch(46.97, 19.31, 94.00°)
OKLaboklab(54.24% -0.0023 0.0481)
OKLCHoklch(54.24% 0.048 92.8)
XYZxyz(14.9811, 15.9988, 9.6945)
Luminance0.1600 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796F4F #4F5979
analogous
#795A4F #796F4F #6E794F
triadic
#796F4F #4F796F #6F4F79
tetradic
#796F4F #4F795A #4F5979 #794F6E
square
#796F4F #4F795A #4F5979 #794F6E
split-complementary
#796F4F #4F6E79 #5A4F79
monochromatic
#2F2B1F #544D37 #796F4F #9D9068 #B5AC8E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##796F4F#FFFFFF#000000##FFFFFF
##796F4F1.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)
#766E4D
Deuteranopia (green-blind)
#787150
Tritanopia (blue-blind)
#7F6A67
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #796f4f;
/* rgb */ color: rgb(121, 111, 79);
/* oklch */ color: oklch(54.2% 0.048 92.8);
Tailwind
colors: {
  custom: {
    50: '#a09880',
    500: '#796f4f',
    950: '#000000',
  },
}
SCSS
$custom: #796f4f;
$custom-light: #a09880;
$custom-dark: #000000;
JSON
{
  "hex": "#796f4f",
  "rgb": {
    "r": 121,
    "g": 111,
    "b": 79
  },
  "hsl": {
    "h": 45.714,
    "s": 21,
    "l": 39.216
  },
  "oklch": {
    "l": 0.54243,
    "c": 0.04819,
    "h": 92.8
  },
  "luminance": 0.15998
}

Semantic roles & 50–950 ramp

primary
#796F4F
secondary
#828AA2
accent
#7EBE6A
background
#F9F9F7
surface
#F2F2EE
border
#CCCCC9
text
#0F0D0A
muted
#7E7E7C

Preview Lab

Preview with #796F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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