#796D32#796D32

#796D32 is a mid, moderate yellow. Relative luminance 0.152; OKLCH L 53.3% C 0.080 H 98.0°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#796D32
RGBrgb(121, 109, 50)
HSLhsl(50, 42%, 34%)
HSVhsv(50, 59%, 47%)
CMYKcmyk(0%, 9.9%, 58.7%, 52.5%)
CIE-LABlab(45.95, -3.42, 34.14)
CIE-LCHlch(45.95, 34.31, 95.71°)
OKLaboklab(53.29% -0.0112 0.0797)
OKLCHoklch(53.29% 0.08 98)
XYZxyz(13.9300, 15.2331, 5.2235)
Luminance0.1523 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796D32 #323E79
analogous
#794932 #796D32 #617932
triadic
#796D32 #32796D #6D3279
tetradic
#796D32 #327949 #323E79 #793261
square
#796D32 #327949 #323E79 #793261
split-complementary
#796D32 #326179 #493279
monochromatic
#221F0E #4E4620 #796D32 #A49444 #C0B066

Accessibility & contrast

On white

5.19
#796D32 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#796D32 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796D32
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796D32#FFFFFF#000000##FFFFFF
##796D321.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776A2C
Deuteranopia (green-blind)
#7A6F35
Tritanopia (blue-blind)
#826660
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #796d32;
/* rgb */ color: rgb(121, 109, 50);
/* oklch */ color: oklch(53.3% 0.080 98.0);
Tailwind
colors: {
  custom: {
    50: '#a2966c',
    500: '#796d32',
    950: '#000000',
  },
}
SCSS
$custom: #796d32;
$custom-light: #a2966c;
$custom-dark: #000000;
JSON
{
  "hex": "#796d32",
  "rgb": {
    "r": 121,
    "g": 109,
    "b": 50
  },
  "hsl": {
    "h": 49.859,
    "s": 41.52,
    "l": 33.529
  },
  "oklch": {
    "l": 0.53291,
    "c": 0.08047,
    "h": 98
  },
  "luminance": 0.15233
}

Semantic roles & 50–950 ramp

primary
#796D32
secondary
#5F6CA7
accent
#6BD156
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0D07
muted
#7F7E7A

Preview Lab

Preview with #796D32

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

Preview Lab → · Contrast checker → · Palette generator →

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