#797319#797319

#797319 is a mid, moderate yellow. Relative luminance 0.164; OKLCH L 54.4% C 0.106 H 105.5°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#797319
RGBrgb(121, 115, 25)
HSLhsl(56, 66%, 29%)
HSVhsv(56, 79%, 47%)
CMYKcmyk(0%, 5%, 79.3%, 52.5%)
CIE-LABlab(47.49, -8.41, 46.88)
CIE-LCHlch(47.49, 47.63, 100.17°)
OKLaboklab(54.45% -0.0283 0.1025)
OKLCHoklch(54.45% 0.106 105.5)
XYZxyz(14.1920, 16.3972, 3.3369)
Luminance0.1640 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797319 #191F79
analogous
#794319 #797319 #4F7919
triadic
#797319 #197973 #731979
tetradic
#797319 #197943 #191F79 #79194F
square
#797319 #197943 #191F79 #79194F
split-complementary
#797319 #194F79 #431979
monochromatic
#191805 #46430F #797319 #ACA323 #D6CC37

Accessibility & contrast

On white

4.91
#797319 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#797319 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #797319
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797319#FFFFFF#000000##FFFFFF
##7973191.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F04
Deuteranopia (green-blind)
#807220
Tritanopia (blue-blind)
#836B62
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #797319;
/* rgb */ color: rgb(121, 115, 25);
/* oklch */ color: oklch(54.4% 0.106 105.5);
Tailwind
colors: {
  custom: {
    50: '#a39b5e',
    500: '#797319',
    950: '#000000',
  },
}
SCSS
$custom: #797319;
$custom-light: #a39b5e;
$custom-dark: #000000;
JSON
{
  "hex": "#797319",
  "rgb": {
    "r": 121,
    "g": 115,
    "b": 25
  },
  "hsl": {
    "h": 56.25,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.54446,
    "c": 0.10631,
    "h": 105.5
  },
  "luminance": 0.16397
}

Semantic roles & 50–950 ramp

primary
#797319
secondary
#4047AE
accent
#4AE93F
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #797319

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

Preview Lab → · Contrast checker → · Palette generator →

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