#797219#797219

#797219 is a mid, moderate yellow. Relative luminance 0.162; OKLCH L 54.2% C 0.105 H 104.7°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#797219
RGBrgb(121, 114, 25)
HSLhsl(56, 66%, 29%)
HSVhsv(56, 79%, 47%)
CMYKcmyk(0%, 5.8%, 79.3%, 52.5%)
CIE-LABlab(47.20, -7.85, 46.61)
CIE-LCHlch(47.20, 47.27, 99.56°)
OKLaboklab(54.21% -0.0268 0.1019)
OKLCHoklch(54.21% 0.105 104.7)
XYZxyz(14.0786, 16.1703, 3.2991)
Luminance0.1617 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797219 #192079
analogous
#794219 #797219 #507919
triadic
#797219 #197972 #721979
tetradic
#797219 #197942 #192079 #791950
square
#797219 #197942 #192079 #791950
split-complementary
#797219 #195079 #421979
monochromatic
#191805 #46420F #797219 #ACA223 #D6CA37

Accessibility & contrast

On white

4.96
#797219 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#797219 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #797219
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797219#FFFFFF#000000##FFFFFF
##7972191.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E05
Deuteranopia (green-blind)
#7F7220
Tritanopia (blue-blind)
#836A61
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #797219;
/* rgb */ color: rgb(121, 114, 25);
/* oklch */ color: oklch(54.2% 0.105 104.7);
Tailwind
colors: {
  custom: {
    50: '#a39a5e',
    500: '#797219',
    950: '#000000',
  },
}
SCSS
$custom: #797219;
$custom-light: #a39a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#797219",
  "rgb": {
    "r": 121,
    "g": 114,
    "b": 25
  },
  "hsl": {
    "h": 55.625,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.54212,
    "c": 0.10534,
    "h": 104.7
  },
  "luminance": 0.1617
}

Semantic roles & 50–950 ramp

primary
#797219
secondary
#4048AE
accent
#4BE93F
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #797219

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

Preview Lab → · Contrast checker → · Palette generator →

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