#796116#796116

#796116 is a mid, moderate yellow. Relative luminance 0.127; OKLCH L 50.3% C 0.094 H 89.9°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#796116
RGBrgb(121, 97, 22)
HSLhsl(45, 69%, 28%)
HSVhsv(45, 82%, 47%)
CMYKcmyk(0%, 19.8%, 81.8%, 52.5%)
CIE-LABlab(42.27, 1.79, 43.19)
CIE-LCHlch(42.27, 43.22, 87.62°)
OKLaboklab(50.3% 0.0002 0.0939)
OKLCHoklch(50.3% 0.094 89.9)
XYZxyz(12.3054, 12.6731, 2.5569)
Luminance0.1267 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796116 #162E79
analogous
#793016 #796116 #5F7916
triadic
#796116 #167961 #611679
tetradic
#796116 #167930 #162E79 #79165F
square
#796116 #167930 #162E79 #79165F
split-complementary
#796116 #165F79 #301679
monochromatic
#1A1505 #45370D #796116 #AD8B1F #D9B030

Accessibility & contrast

On white

5.94
#796116 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#796116 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796116
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796116#FFFFFF#000000##FFFFFF
##7961161.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6006
Deuteranopia (green-blind)
#73671B
Tritanopia (blue-blind)
#845853
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #796116;
/* rgb */ color: rgb(121, 97, 22);
/* oklch */ color: oklch(50.3% 0.094 89.9);
Tailwind
colors: {
  custom: {
    50: '#a38d5a',
    500: '#796116',
    950: '#000000',
  },
}
SCSS
$custom: #796116;
$custom-light: #a38d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#796116",
  "rgb": {
    "r": 121,
    "g": 97,
    "b": 22
  },
  "hsl": {
    "h": 45.455,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.503,
    "c": 0.0939,
    "h": 89.9
  },
  "luminance": 0.12672
}

Semantic roles & 50–950 ramp

primary
#796116
secondary
#3D58AE
accent
#66EC3C
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #796116

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

Preview Lab → · Contrast checker → · Palette generator →

#796116 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva