#796B41#796B41

#796B41 is a mid, moderate yellow. Relative luminance 0.150; OKLCH L 53.1% C 0.062 H 91.7°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#796B41
RGBrgb(121, 107, 65)
HSLhsl(45, 30%, 36%)
HSVhsv(45, 46%, 47%)
CMYKcmyk(0%, 11.6%, 46.3%, 52.5%)
CIE-LABlab(45.58, -0.77, 25.51)
CIE-LCHlch(45.58, 25.52, 91.74°)
OKLaboklab(53.07% -0.0018 0.062)
OKLCHoklch(53.07% 0.062 91.7)
XYZxyz(14.0974, 14.9626, 7.1455)
Luminance0.1496 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796B41 #414F79
analogous
#794F41 #796B41 #6B7941
triadic
#796B41 #41796B #6B4179
tetradic
#796B41 #41794F #414F79 #79416B
square
#796B41 #41794F #414F79 #79416B
split-complementary
#796B41 #416B79 #4F4179
monochromatic
#292516 #51482C #796B41 #A18E56 #B9A97C

Accessibility & contrast

On white

5.26
#796B41 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#796B41 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796B41
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796B41#FFFFFF#000000##FFFFFF
##796B411.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746A3E
Deuteranopia (green-blind)
#776E42
Tritanopia (blue-blind)
#816561
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #796b41;
/* rgb */ color: rgb(121, 107, 65);
/* oklch */ color: oklch(53.1% 0.062 91.7);
Tailwind
colors: {
  custom: {
    50: '#a19576',
    500: '#796b41',
    950: '#000000',
  },
}
SCSS
$custom: #796b41;
$custom-light: #a19576;
$custom-dark: #000000;
JSON
{
  "hex": "#796b41",
  "rgb": {
    "r": 121,
    "g": 107,
    "b": 65
  },
  "hsl": {
    "h": 45,
    "s": 30.108,
    "l": 36.471
  },
  "oklch": {
    "l": 0.53066,
    "c": 0.062,
    "h": 91.7
  },
  "luminance": 0.14962
}

Semantic roles & 50–950 ramp

primary
#796B41
secondary
#727FA3
accent
#7BC661
background
#FAF9F7
surface
#F3F1ED
border
#CDCBC8
text
#0F0D08
muted
#7F7E7B

Preview Lab

Preview with #796B41

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

Preview Lab → · Contrast checker → · Palette generator →

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