#796616#796616

#796616 is a mid, moderate yellow. Relative luminance 0.136; OKLCH L 51.4% C 0.097 H 94.8°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#796616
RGBrgb(121, 102, 22)
HSLhsl(48, 69%, 28%)
HSVhsv(48, 82%, 47%)
CMYKcmyk(0%, 15.7%, 81.8%, 52.5%)
CIE-LABlab(43.69, -1.13, 44.48)
CIE-LCHlch(43.69, 44.50, 91.45°)
OKLaboklab(51.43% -0.0081 0.0967)
OKLCHoklch(51.43% 0.097 94.8)
XYZxyz(12.7821, 13.6264, 2.7158)
Luminance0.1363 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796616 #162979
analogous
#793416 #796616 #5A7916
triadic
#796616 #167966 #661679
tetradic
#796616 #167934 #162979 #79165A
square
#796616 #167934 #162979 #79165A
split-complementary
#796616 #165A79 #341679
monochromatic
#1A1605 #453A0D #796616 #AD921F #D9B930

Accessibility & contrast

On white

5.64
#796616 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#796616 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796616
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796616#FFFFFF#000000##FFFFFF
##7966161.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726404
Deuteranopia (green-blind)
#766A1B
Tritanopia (blue-blind)
#835D57
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #796616;
/* rgb */ color: rgb(121, 102, 22);
/* oklch */ color: oklch(51.4% 0.097 94.8);
Tailwind
colors: {
  custom: {
    50: '#a3915b',
    500: '#796616',
    950: '#000000',
  },
}
SCSS
$custom: #796616;
$custom-light: #a3915b;
$custom-dark: #000000;
JSON
{
  "hex": "#796616",
  "rgb": {
    "r": 121,
    "g": 102,
    "b": 22
  },
  "hsl": {
    "h": 48.485,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51425,
    "c": 0.09703,
    "h": 94.8
  },
  "luminance": 0.13626
}

Semantic roles & 50–950 ramp

primary
#796616
secondary
#3D52AE
accent
#5EEC3C
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #796616

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

Preview Lab → · Contrast checker → · Palette generator →

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