#796316#796316

#796316 is a mid, moderate yellow. Relative luminance 0.130; OKLCH L 50.7% C 0.095 H 91.9°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#796316
RGBrgb(121, 99, 22)
HSLhsl(47, 69%, 28%)
HSVhsv(47, 82%, 47%)
CMYKcmyk(0%, 18.2%, 81.8%, 52.5%)
CIE-LABlab(42.83, 0.62, 43.70)
CIE-LCHlch(42.83, 43.71, 89.19°)
OKLaboklab(50.75% -0.0031 0.095)
OKLCHoklch(50.75% 0.095 91.9)
XYZxyz(12.4925, 13.0473, 2.6193)
Luminance0.1305 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796316 #162C79
analogous
#793216 #796316 #5D7916
triadic
#796316 #167963 #631679
tetradic
#796316 #167932 #162C79 #79165D
square
#796316 #167932 #162C79 #79165D
split-complementary
#796316 #165D79 #321679
monochromatic
#1A1505 #45390D #796316 #AD8D1F #D9B430

Accessibility & contrast

On white

5.82
#796316 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#796316 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796316
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796316#FFFFFF#000000##FFFFFF
##7963161.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6106
Deuteranopia (green-blind)
#74681B
Tritanopia (blue-blind)
#845A54
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #796316;
/* rgb */ color: rgb(121, 99, 22);
/* oklch */ color: oklch(50.7% 0.095 91.9);
Tailwind
colors: {
  custom: {
    50: '#a38f5a',
    500: '#796316',
    950: '#000000',
  },
}
SCSS
$custom: #796316;
$custom-light: #a38f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#796316",
  "rgb": {
    "r": 121,
    "g": 99,
    "b": 22
  },
  "hsl": {
    "h": 46.667,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50748,
    "c": 0.09506,
    "h": 91.9
  },
  "luminance": 0.13047
}

Semantic roles & 50–950 ramp

primary
#796316
secondary
#3D56AE
accent
#63EC3C
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #796316

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

Preview Lab → · Contrast checker → · Palette generator →

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