#796919#796919

#796919 is a mid, moderate yellow. Relative luminance 0.142; OKLCH L 52.1% C 0.097 H 97.3°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#796919
RGBrgb(121, 105, 25)
HSLhsl(50, 66%, 29%)
HSVhsv(50, 79%, 47%)
CMYKcmyk(0%, 13.2%, 79.3%, 52.5%)
CIE-LABlab(44.57, -2.73, 44.18)
CIE-LCHlch(44.57, 44.27, 93.54°)
OKLaboklab(52.13% -0.0123 0.0967)
OKLCHoklch(52.13% 0.097 97.3)
XYZxyz(13.1129, 14.2390, 2.9772)
Luminance0.1424 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796919 #192979
analogous
#793919 #796919 #597919
triadic
#796919 #197969 #691979
tetradic
#796919 #197939 #192979 #791959
square
#796919 #197939 #192979 #791959
split-complementary
#796919 #195979 #391979
monochromatic
#191605 #463D0F #796919 #AC9523 #D6BB37

Accessibility & contrast

On white

5.46
#796919 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#796919 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796919
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796919#FFFFFF#000000##FFFFFF
##7969191.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746609
Deuteranopia (green-blind)
#796C1E
Tritanopia (blue-blind)
#83605A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #796919;
/* rgb */ color: rgb(121, 105, 25);
/* oklch */ color: oklch(52.1% 0.097 97.3);
Tailwind
colors: {
  custom: {
    50: '#a3935d',
    500: '#796919',
    950: '#000000',
  },
}
SCSS
$custom: #796919;
$custom-light: #a3935d;
$custom-dark: #000000;
JSON
{
  "hex": "#796919",
  "rgb": {
    "r": 121,
    "g": 105,
    "b": 25
  },
  "hsl": {
    "h": 50,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52129,
    "c": 0.09749,
    "h": 97.3
  },
  "luminance": 0.14238
}

Semantic roles & 50–950 ramp

primary
#796919
secondary
#4052AE
accent
#5BE93F
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #796919

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

Preview Lab → · Contrast checker → · Palette generator →

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