#796F35#796F35

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

Color values

HEX#796F35
RGBrgb(121, 111, 53)
HSLhsl(51, 39%, 34%)
HSVhsv(51, 56%, 47%)
CMYKcmyk(0%, 8.3%, 56.2%, 52.5%)
CIE-LABlab(46.57, -4.30, 33.29)
CIE-LCHlch(46.57, 33.56, 97.35°)
OKLaboklab(53.79% -0.0133 0.0782)
OKLCHoklch(53.79% 0.079 99.7)
XYZxyz(14.2127, 15.6914, 5.6476)
Luminance0.1569 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796F35 #353F79
analogous
#794D35 #796F35 #617935
triadic
#796F35 #35796F #6F3579
tetradic
#796F35 #35794D #353F79 #793561
square
#796F35 #35794D #353F79 #793561
split-complementary
#796F35 #356179 #4D3579
monochromatic
#242110 #4E4822 #796F35 #A49648 #BEB26A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##796F35#FFFFFF#000000##FFFFFF
##796F351.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)
#786C30
Deuteranopia (green-blind)
#7B7038
Tritanopia (blue-blind)
#826862
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #796f35;
/* rgb */ color: rgb(121, 111, 53);
/* oklch */ color: oklch(53.8% 0.079 99.7);
Tailwind
colors: {
  custom: {
    50: '#a1986e',
    500: '#796f35',
    950: '#000000',
  },
}
SCSS
$custom: #796f35;
$custom-light: #a1986e;
$custom-dark: #000000;
JSON
{
  "hex": "#796f35",
  "rgb": {
    "r": 121,
    "g": 111,
    "b": 53
  },
  "hsl": {
    "h": 51.176,
    "s": 39.08,
    "l": 34.118
  },
  "oklch": {
    "l": 0.5379,
    "c": 0.07932,
    "h": 99.7
  },
  "luminance": 0.15691
}

Semantic roles & 50–950 ramp

primary
#796F35
secondary
#636DA6
accent
#6ACF59
background
#FAF9F6
surface
#F4F2EC
border
#CECCC7
text
#0F0D07
muted
#7F7E7A

Preview Lab

Preview with #796F35

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

Preview Lab → · Contrast checker → · Palette generator →

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