#796B36#796B36

#796B36 is a mid, moderate yellow. Relative luminance 0.148; OKLCH L 52.9% C 0.074 H 94.9°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#796B36
RGBrgb(121, 107, 54)
HSLhsl(47, 38%, 34%)
HSVhsv(47, 55%, 47%)
CMYKcmyk(0%, 11.6%, 55.4%, 52.5%)
CIE-LABlab(45.42, -1.91, 31.40)
CIE-LCHlch(45.42, 31.46, 93.47°)
OKLaboklab(52.89% -0.0063 0.0742)
OKLCHoklch(52.89% 0.074 94.9)
XYZxyz(13.8092, 14.8473, 5.6277)
Luminance0.1485 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796B36 #364479
analogous
#794A36 #796B36 #667936
triadic
#796B36 #36796B #6B3679
tetradic
#796B36 #36794A #364479 #793666
square
#796B36 #36794A #364479 #793666
split-complementary
#796B36 #366679 #4A3679
monochromatic
#242010 #4F4623 #796B36 #A39049 #BDAC6C

Accessibility & contrast

On white

5.29
#796B36 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#796B36 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796B36
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796B36#FFFFFF#000000##FFFFFF
##796B361.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756931
Deuteranopia (green-blind)
#786D38
Tritanopia (blue-blind)
#82645F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #796b36;
/* rgb */ color: rgb(121, 107, 54);
/* oklch */ color: oklch(52.9% 0.074 94.9);
Tailwind
colors: {
  custom: {
    50: '#a1956e',
    500: '#796b36',
    950: '#000000',
  },
}
SCSS
$custom: #796b36;
$custom-light: #a1956e;
$custom-dark: #000000;
JSON
{
  "hex": "#796b36",
  "rgb": {
    "r": 121,
    "g": 107,
    "b": 54
  },
  "hsl": {
    "h": 47.463,
    "s": 38.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.5289,
    "c": 0.07446,
    "h": 94.9
  },
  "luminance": 0.14847
}

Semantic roles & 50–950 ramp

primary
#796B36
secondary
#6572A6
accent
#72CE5A
background
#FAF9F6
surface
#F4F1EC
border
#CECBC7
text
#0F0D07
muted
#7F7E7A

Preview Lab

Preview with #796B36

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

Preview Lab → · Contrast checker → · Palette generator →

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