#796D49#796D49

#796D49 is a mid, muted yellow. Relative luminance 0.155; OKLCH L 53.7% C 0.054 H 91.8°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#796D49
RGBrgb(121, 109, 73)
HSLhsl(45, 25%, 38%)
HSVhsv(45, 40%, 47%)
CMYKcmyk(0%, 9.9%, 39.7%, 52.5%)
CIE-LABlab(46.29, -0.98, 21.84)
CIE-LCHlch(46.29, 21.86, 92.56°)
OKLaboklab(53.67% -0.0017 0.054)
OKLCHoklch(53.67% 0.054 91.8)
XYZxyz(14.5567, 15.4838, 8.5239)
Luminance0.1548 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796D49 #495579
analogous
#795549 #796D49 #6D7949
triadic
#796D49 #49796D #6D4979
tetradic
#796D49 #497955 #495579 #79496D
square
#796D49 #497955 #495579 #79496D
split-complementary
#796D49 #496D79 #554979
monochromatic
#2D281B #534B32 #796D49 #9F8F60 #B6AA86

Accessibility & contrast

On white

5.13
#796D49 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#796D49 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796D49
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796D49#FFFFFF#000000##FFFFFF
##796D491.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756C46
Deuteranopia (green-blind)
#786F4A
Tritanopia (blue-blind)
#806864
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #796d49;
/* rgb */ color: rgb(121, 109, 73);
/* oklch */ color: oklch(53.7% 0.054 91.8);
Tailwind
colors: {
  custom: {
    50: '#a0967c',
    500: '#796d49',
    950: '#000000',
  },
}
SCSS
$custom: #796d49;
$custom-light: #a0967c;
$custom-dark: #000000;
JSON
{
  "hex": "#796d49",
  "rgb": {
    "r": 121,
    "g": 109,
    "b": 73
  },
  "hsl": {
    "h": 45,
    "s": 24.742,
    "l": 38.039
  },
  "oklch": {
    "l": 0.53668,
    "c": 0.05399,
    "h": 91.8
  },
  "luminance": 0.15483
}

Semantic roles & 50–950 ramp

primary
#796D49
secondary
#7B85A2
accent
#7DC167
background
#F9F9F7
surface
#F2F2EE
border
#CCCCC9
text
#0F0D09
muted
#7E7E7B

Preview Lab

Preview with #796D49

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

Preview Lab → · Contrast checker → · Palette generator →

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