#796B3C#796B3C

#796B3C is a mid, moderate yellow. Relative luminance 0.149; OKLCH L 53.0% C 0.068 H 93.3°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#796B3C
RGBrgb(121, 107, 60)
HSLhsl(46, 34%, 35%)
HSVhsv(46, 50%, 47%)
CMYKcmyk(0%, 11.6%, 50.4%, 52.5%)
CIE-LABlab(45.51, -1.32, 28.22)
CIE-LCHlch(45.51, 28.25, 92.67°)
OKLaboklab(52.98% -0.0039 0.0677)
OKLCHoklch(52.98% 0.068 93.3)
XYZxyz(13.9589, 14.9072, 6.4162)
Luminance0.1491 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796B3C #3C4A79
analogous
#794C3C #796B3C #68793C
triadic
#796B3C #3C796B #6B3C79
tetradic
#796B3C #3C794C #3C4A79 #793C68
square
#796B3C #3C794C #3C4A79 #793C68
split-complementary
#796B3C #3C6879 #4C3C79
monochromatic
#272313 #504728 #796B3C #A28F50 #BBAB75

Accessibility & contrast

On white

5.27
#796B3C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#796B3C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796B3C
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796B3C#FFFFFF#000000##FFFFFF
##796B3C1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746938
Deuteranopia (green-blind)
#786E3E
Tritanopia (blue-blind)
#816460
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #796b3c;
/* rgb */ color: rgb(121, 107, 60);
/* oklch */ color: oklch(53.0% 0.068 93.3);
Tailwind
colors: {
  custom: {
    50: '#a19573',
    500: '#796b3c',
    950: '#000000',
  },
}
SCSS
$custom: #796b3c;
$custom-light: #a19573;
$custom-dark: #000000;
JSON
{
  "hex": "#796b3c",
  "rgb": {
    "r": 121,
    "g": 107,
    "b": 60
  },
  "hsl": {
    "h": 46.23,
    "s": 33.702,
    "l": 35.49
  },
  "oklch": {
    "l": 0.52981,
    "c": 0.06782,
    "h": 93.3
  },
  "luminance": 0.14907
}

Semantic roles & 50–950 ramp

primary
#796B3C
secondary
#6C79A4
accent
#77CA5E
background
#FAF9F7
surface
#F4F1ED
border
#CECBC8
text
#0F0D08
muted
#7F7E7B

Preview Lab

Preview with #796B3C

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

Preview Lab → · Contrast checker → · Palette generator →

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