#796319#796319

#796319 is a mid, moderate yellow. Relative luminance 0.131; OKLCH L 50.8% C 0.093 H 91.5°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#796319
RGBrgb(121, 99, 25)
HSLhsl(46, 66%, 29%)
HSVhsv(46, 79%, 47%)
CMYKcmyk(0%, 18.2%, 79.3%, 52.5%)
CIE-LABlab(42.85, 0.75, 42.57)
CIE-LCHlch(42.85, 42.58, 88.99°)
OKLaboklab(50.77% -0.0024 0.0933)
OKLCHoklch(50.77% 0.093 91.5)
XYZxyz(12.5232, 13.0596, 2.7807)
Luminance0.1306 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796319 #192F79
analogous
#793319 #796319 #5F7919
triadic
#796319 #197963 #631979
tetradic
#796319 #197933 #192F79 #79195F
square
#796319 #197933 #192F79 #79195F
split-complementary
#796319 #195F79 #331979
monochromatic
#191505 #46390F #796319 #AC8C23 #D6B137

Accessibility & contrast

On white

5.81
#796319 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #796319
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796319#FFFFFF#000000##FFFFFF
##7963191.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F620B
Deuteranopia (green-blind)
#74681D
Tritanopia (blue-blind)
#835A55
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #796319;
/* rgb */ color: rgb(121, 99, 25);
/* oklch */ color: oklch(50.8% 0.093 91.5);
Tailwind
colors: {
  custom: {
    50: '#a38f5c',
    500: '#796319',
    950: '#000000',
  },
}
SCSS
$custom: #796319;
$custom-light: #a38f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#796319",
  "rgb": {
    "r": 121,
    "g": 99,
    "b": 25
  },
  "hsl": {
    "h": 46.25,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50768,
    "c": 0.0933,
    "h": 91.5
  },
  "luminance": 0.13059
}

Semantic roles & 50–950 ramp

primary
#796319
secondary
#4059AE
accent
#66E93F
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #796319

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

Preview Lab → · Contrast checker → · Palette generator →

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