#796516#796516

#796516 is a mid, moderate yellow. Relative luminance 0.134; OKLCH L 51.2% C 0.096 H 93.8°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#796516
RGBrgb(121, 101, 22)
HSLhsl(48, 69%, 28%)
HSVhsv(48, 82%, 47%)
CMYKcmyk(0%, 16.5%, 81.8%, 52.5%)
CIE-LABlab(43.41, -0.55, 44.22)
CIE-LCHlch(43.41, 44.23, 90.71°)
OKLaboklab(51.2% -0.0064 0.0961)
OKLCHoklch(51.2% 0.096 93.8)
XYZxyz(12.6844, 13.4310, 2.6832)
Luminance0.1343 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796516 #162A79
analogous
#793316 #796516 #5B7916
triadic
#796516 #167965 #651679
tetradic
#796516 #167933 #162A79 #79165B
square
#796516 #167933 #162A79 #79165B
split-complementary
#796516 #165B79 #331679
monochromatic
#1A1605 #453A0D #796516 #AD901F #D9B730

Accessibility & contrast

On white

5.70
#796516 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#796516 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796516
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796516#FFFFFF#000000##FFFFFF
##7965161.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716305
Deuteranopia (green-blind)
#76691B
Tritanopia (blue-blind)
#835C56
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #796516;
/* rgb */ color: rgb(121, 101, 22);
/* oklch */ color: oklch(51.2% 0.096 93.8);
Tailwind
colors: {
  custom: {
    50: '#a3905b',
    500: '#796516',
    950: '#000000',
  },
}
SCSS
$custom: #796516;
$custom-light: #a3905b;
$custom-dark: #000000;
JSON
{
  "hex": "#796516",
  "rgb": {
    "r": 121,
    "g": 101,
    "b": 22
  },
  "hsl": {
    "h": 47.879,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51199,
    "c": 0.09635,
    "h": 93.8
  },
  "luminance": 0.1343
}

Semantic roles & 50–950 ramp

primary
#796516
secondary
#3D53AE
accent
#5FEC3C
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #796516

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

Preview Lab → · Contrast checker → · Palette generator →

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