#797519#797519

#797519 is a mid, moderate yellow. Relative luminance 0.169; OKLCH L 54.9% C 0.108 H 106.9°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#797519
RGBrgb(121, 117, 25)
HSLhsl(58, 66%, 29%)
HSVhsv(58, 79%, 47%)
CMYKcmyk(0%, 3.3%, 79.3%, 52.5%)
CIE-LABlab(48.08, -9.52, 47.42)
CIE-LCHlch(48.08, 48.37, 101.35°)
OKLaboklab(54.92% -0.0314 0.1036)
OKLCHoklch(54.92% 0.108 106.9)
XYZxyz(14.4225, 16.8582, 3.4138)
Luminance0.1686 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797519 #191D79
analogous
#794519 #797519 #4D7919
triadic
#797519 #197975 #751979
tetradic
#797519 #197945 #191D79 #79194D
square
#797519 #197945 #191D79 #79194D
split-complementary
#797519 #194D79 #451979
monochromatic
#191905 #46440F #797519 #ACA623 #D6CF37

Accessibility & contrast

On white

4.80
#797519 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#797519 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #797519
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797519#FFFFFF#000000##FFFFFF
##7975191.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807003
Deuteranopia (green-blind)
#817420
Tritanopia (blue-blind)
#826D64
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #797519;
/* rgb */ color: rgb(121, 117, 25);
/* oklch */ color: oklch(54.9% 0.108 106.9);
Tailwind
colors: {
  custom: {
    50: '#a39c5e',
    500: '#797519',
    950: '#000000',
  },
}
SCSS
$custom: #797519;
$custom-light: #a39c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#797519",
  "rgb": {
    "r": 121,
    "g": 117,
    "b": 25
  },
  "hsl": {
    "h": 57.5,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.54916,
    "c": 0.10828,
    "h": 106.9
  },
  "luminance": 0.16858
}

Semantic roles & 50–950 ramp

primary
#797519
secondary
#4045AE
accent
#46E93F
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #797519

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

Preview Lab → · Contrast checker → · Palette generator →

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