#797019#797019

#797019 is a mid, moderate yellow. Relative luminance 0.157; OKLCH L 53.7% C 0.103 H 103.2°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#797019
RGBrgb(121, 112, 25)
HSLhsl(54, 66%, 29%)
HSVhsv(54, 79%, 47%)
CMYKcmyk(0%, 7.4%, 79.3%, 52.5%)
CIE-LABlab(46.61, -6.73, 46.07)
CIE-LCHlch(46.61, 46.56, 98.31°)
OKLaboklab(53.75% -0.0236 0.1007)
OKLCHoklch(53.75% 0.103 103.2)
XYZxyz(13.8554, 15.7241, 3.2247)
Luminance0.1572 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797019 #192279
analogous
#794019 #797019 #527919
triadic
#797019 #197970 #701979
tetradic
#797019 #197940 #192279 #791952
square
#797019 #197940 #192279 #791952
split-complementary
#797019 #195279 #401979
monochromatic
#191705 #46410F #797019 #AC9F23 #D6C737

Accessibility & contrast

On white

5.07
#797019 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#797019 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #797019
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797019#FFFFFF#000000##FFFFFF
##7970191.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C06
Deuteranopia (green-blind)
#7E7020
Tritanopia (blue-blind)
#836860
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #797019;
/* rgb */ color: rgb(121, 112, 25);
/* oklch */ color: oklch(53.7% 0.103 103.2);
Tailwind
colors: {
  custom: {
    50: '#a3985e',
    500: '#797019',
    950: '#000000',
  },
}
SCSS
$custom: #797019;
$custom-light: #a3985e;
$custom-dark: #000000;
JSON
{
  "hex": "#797019",
  "rgb": {
    "r": 121,
    "g": 112,
    "b": 25
  },
  "hsl": {
    "h": 54.375,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.53745,
    "c": 0.10346,
    "h": 103.2
  },
  "luminance": 0.15723
}

Semantic roles & 50–950 ramp

primary
#797019
secondary
#404AAE
accent
#4FE93F
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #797019

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

Preview Lab → · Contrast checker → · Palette generator →

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