#797919#797919

#797919 is a mid, moderate yellow. Relative luminance 0.178; OKLCH L 55.9% C 0.112 H 109.5°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#797919
RGBrgb(121, 121, 25)
HSLhsl(60, 66%, 29%)
HSVhsv(60, 79%, 47%)
CMYKcmyk(0%, 0%, 79.3%, 52.5%)
CIE-LABlab(49.27, -11.72, 48.50)
CIE-LCHlch(49.27, 49.90, 103.59°)
OKLaboklab(55.86% -0.0376 0.1059)
OKLCHoklch(55.86% 0.112 109.5)
XYZxyz(14.8986, 17.8103, 3.5724)
Luminance0.1781 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797919 #191979
analogous
#794919 #797919 #497919
triadic
#797919 #197979 #791979
tetradic
#797919 #197949 #191979 #791949
square
#797919 #197949 #191979 #791949
split-complementary
#797919 #194979 #491979
monochromatic
#191905 #46460F #797919 #ACAC23 #D6D637

Accessibility & contrast

On white

4.60
#797919 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#797919 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #797919
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797919#FFFFFF#000000##FFFFFF
##7979191.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837401
Deuteranopia (green-blind)
#847621
Tritanopia (blue-blind)
#827167
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #797919;
/* rgb */ color: rgb(121, 121, 25);
/* oklch */ color: oklch(55.9% 0.112 109.5);
Tailwind
colors: {
  custom: {
    50: '#a39f5f',
    500: '#797919',
    950: '#000000',
  },
}
SCSS
$custom: #797919;
$custom-light: #a39f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#797919",
  "rgb": {
    "r": 121,
    "g": 121,
    "b": 25
  },
  "hsl": {
    "h": 60,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.55861,
    "c": 0.11239,
    "h": 109.5
  },
  "luminance": 0.1781
}

Semantic roles & 50–950 ramp

primary
#797919
secondary
#4040AE
accent
#3FE93F
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #797919

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

Preview Lab → · Contrast checker → · Palette generator →

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