#796F36#796F36

#796F36 is a mid, moderate yellow. Relative luminance 0.157; OKLCH L 53.8% C 0.078 H 99.5°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#796F36
RGBrgb(121, 111, 54)
HSLhsl(51, 38%, 34%)
HSVhsv(51, 55%, 47%)
CMYKcmyk(0%, 8.3%, 55.4%, 52.5%)
CIE-LABlab(46.58, -4.21, 32.77)
CIE-LCHlch(46.58, 33.04, 97.31°)
OKLaboklab(53.8% -0.013 0.0772)
OKLCHoklch(53.8% 0.078 99.5)
XYZxyz(14.2359, 15.7007, 5.7700)
Luminance0.1570 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796F36 #364079
analogous
#794E36 #796F36 #627936
triadic
#796F36 #36796F #6F3679
tetradic
#796F36 #36794E #364079 #793662
square
#796F36 #36794E #364079 #793662
split-complementary
#796F36 #366279 #4E3679
monochromatic
#242110 #4F4823 #796F36 #A39649 #BDB16C

Accessibility & contrast

On white

5.07
#796F36 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#796F36 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796F36
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796F36#FFFFFF#000000##FFFFFF
##796F361.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786C31
Deuteranopia (green-blind)
#7B7039
Tritanopia (blue-blind)
#816862
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #796f36;
/* rgb */ color: rgb(121, 111, 54);
/* oklch */ color: oklch(53.8% 0.078 99.5);
Tailwind
colors: {
  custom: {
    50: '#a1986f',
    500: '#796f36',
    950: '#000000',
  },
}
SCSS
$custom: #796f36;
$custom-light: #a1986f;
$custom-dark: #000000;
JSON
{
  "hex": "#796f36",
  "rgb": {
    "r": 121,
    "g": 111,
    "b": 54
  },
  "hsl": {
    "h": 51.045,
    "s": 38.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.53804,
    "c": 0.07826,
    "h": 99.5
  },
  "luminance": 0.157
}

Semantic roles & 50–950 ramp

primary
#796F36
secondary
#656FA6
accent
#6BCE5A
background
#FAF9F6
surface
#F4F2EC
border
#CECCC7
text
#0F0D07
muted
#7F7E7A

Preview Lab

Preview with #796F36

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

Preview Lab → · Contrast checker → · Palette generator →

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