#796F3A#796F3A

#796F3A is a mid, moderate yellow. Relative luminance 0.157; OKLCH L 53.9% C 0.074 H 98.9°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#796F3A
RGBrgb(121, 111, 58)
HSLhsl(50, 35%, 35%)
HSVhsv(50, 52%, 47%)
CMYKcmyk(0%, 8.3%, 52.1%, 52.5%)
CIE-LABlab(46.63, -3.82, 30.69)
CIE-LCHlch(46.63, 30.93, 97.10°)
OKLaboklab(53.86% -0.0114 0.073)
OKLCHoklch(53.86% 0.074 98.9)
XYZxyz(14.3338, 15.7398, 6.2852)
Luminance0.1574 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796F3A #3A4479
analogous
#794F3A #796F3A #64793A
triadic
#796F3A #3A796F #6F3A79
tetradic
#796F3A #3A794F #3A4479 #793A64
square
#796F3A #3A794F #3A4479 #793A64
split-complementary
#796F3A #3A6479 #4F3A79
monochromatic
#262312 #504926 #796F3A #A2954E #BBB072

Accessibility & contrast

On white

5.06
#796F3A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#796F3A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796F3A
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796F3A#FFFFFF#000000##FFFFFF
##796F3A1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786C35
Deuteranopia (green-blind)
#7B703C
Tritanopia (blue-blind)
#816863
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #796f3a;
/* rgb */ color: rgb(121, 111, 58);
/* oklch */ color: oklch(53.9% 0.074 98.9);
Tailwind
colors: {
  custom: {
    50: '#a19871',
    500: '#796f3a',
    950: '#000000',
  },
}
SCSS
$custom: #796f3a;
$custom-light: #a19871;
$custom-dark: #000000;
JSON
{
  "hex": "#796f3a",
  "rgb": {
    "r": 121,
    "g": 111,
    "b": 58
  },
  "hsl": {
    "h": 50.476,
    "s": 35.196,
    "l": 35.098
  },
  "oklch": {
    "l": 0.53862,
    "c": 0.0739,
    "h": 98.9
  },
  "luminance": 0.15739
}

Semantic roles & 50–950 ramp

primary
#796F3A
secondary
#6A73A5
accent
#6ECB5D
background
#FAF9F6
surface
#F4F2EC
border
#CECCC7
text
#0F0D08
muted
#7F7E7B

Preview Lab

Preview with #796F3A

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

Preview Lab → · Contrast checker → · Palette generator →

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