#796219#796219

#796219 is a mid, moderate yellow. Relative luminance 0.129; OKLCH L 50.5% C 0.093 H 90.5°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#796219
RGBrgb(121, 98, 25)
HSLhsl(46, 66%, 29%)
HSVhsv(46, 79%, 47%)
CMYKcmyk(0%, 19%, 79.3%, 52.5%)
CIE-LABlab(42.57, 1.34, 42.31)
CIE-LCHlch(42.57, 42.33, 88.19°)
OKLaboklab(50.54% -0.0007 0.0927)
OKLCHoklch(50.54% 0.093 90.5)
XYZxyz(12.4290, 12.8713, 2.7493)
Luminance0.1287 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796219 #193079
analogous
#793219 #796219 #607919
triadic
#796219 #197962 #621979
tetradic
#796219 #197932 #193079 #791960
square
#796219 #197932 #193079 #791960
split-complementary
#796219 #196079 #321979
monochromatic
#191505 #46390F #796219 #AC8B23 #D6B037

Accessibility & contrast

On white

5.88
#796219 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#796219 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796219
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796219#FFFFFF#000000##FFFFFF
##7962191.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E610C
Deuteranopia (green-blind)
#74671D
Tritanopia (blue-blind)
#845954
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #796219;
/* rgb */ color: rgb(121, 98, 25);
/* oklch */ color: oklch(50.5% 0.093 90.5);
Tailwind
colors: {
  custom: {
    50: '#a38e5c',
    500: '#796219',
    950: '#000000',
  },
}
SCSS
$custom: #796219;
$custom-light: #a38e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#796219",
  "rgb": {
    "r": 121,
    "g": 98,
    "b": 25
  },
  "hsl": {
    "h": 45.625,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50544,
    "c": 0.0927,
    "h": 90.5
  },
  "luminance": 0.1287
}

Semantic roles & 50–950 ramp

primary
#796219
secondary
#405AAE
accent
#68E93F
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #796219

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

Preview Lab → · Contrast checker → · Palette generator →

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