#796F45#796F45

#796F45 is a mid, moderate yellow. Relative luminance 0.159; OKLCH L 54.0% C 0.061 H 96.4°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#796F45
RGBrgb(121, 111, 69)
HSLhsl(48, 27%, 37%)
HSVhsv(48, 43%, 47%)
CMYKcmyk(0%, 8.3%, 43%, 52.5%)
CIE-LABlab(46.80, -2.62, 24.78)
CIE-LCHlch(46.80, 24.92, 96.04°)
OKLaboklab(54.05% -0.0068 0.0606)
OKLCHoklch(54.05% 0.061 96.4)
XYZxyz(14.6441, 15.8640, 7.9197)
Luminance0.1586 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796F45 #454F79
analogous
#795545 #796F45 #697945
triadic
#796F45 #45796F #6F4579
tetradic
#796F45 #457955 #454F79 #794569
square
#796F45 #457955 #454F79 #794569
split-complementary
#796F45 #456979 #554579
monochromatic
#2B2719 #524B2F #796F45 #A0935B #B7AD81

Accessibility & contrast

On white

5.03
#796F45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#796F45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796F45
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796F45#FFFFFF#000000##FFFFFF
##796F451.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776D42
Deuteranopia (green-blind)
#7A7047
Tritanopia (blue-blind)
#806965
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #796f45;
/* rgb */ color: rgb(121, 111, 69);
/* oklch */ color: oklch(54.0% 0.061 96.4);
Tailwind
colors: {
  custom: {
    50: '#a19879',
    500: '#796f45',
    950: '#000000',
  },
}
SCSS
$custom: #796f45;
$custom-light: #a19879;
$custom-dark: #000000;
JSON
{
  "hex": "#796f45",
  "rgb": {
    "r": 121,
    "g": 111,
    "b": 69
  },
  "hsl": {
    "h": 48.462,
    "s": 27.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.54045,
    "c": 0.06093,
    "h": 96.4
  },
  "luminance": 0.15863
}

Semantic roles & 50–950 ramp

primary
#796F45
secondary
#777FA3
accent
#76C464
background
#FAF9F7
surface
#F3F2ED
border
#CDCCC8
text
#0F0D09
muted
#7F7E7B

Preview Lab

Preview with #796F45

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

Preview Lab → · Contrast checker → · Palette generator →

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