#797A19#797A19

#797A19 is a mid, moderate yellow. Relative luminance 0.181; OKLCH L 56.1% C 0.113 H 110.2°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#797A19
RGBrgb(121, 122, 25)
HSLhsl(61, 66%, 29%)
HSVhsv(61, 80%, 48%)
CMYKcmyk(0.8%, 0%, 79.5%, 52.2%)
CIE-LABlab(49.56, -12.27, 48.77)
CIE-LCHlch(49.56, 50.29, 104.12°)
OKLaboklab(56.1% -0.0391 0.1065)
OKLCHoklch(56.1% 0.113 110.2)
XYZxyz(15.0207, 18.0546, 3.6132)
Luminance0.1805 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797A19 #1A197A
analogous
#7A4B19 #797A19 #497A19
triadic
#797A19 #19797A #7A1979
tetradic
#797A19 #197A4B #1A197A #7A1949
square
#797A19 #197A4B #1A197A #7A1949
split-complementary
#797A19 #19497A #4B197A
monochromatic
#191905 #47470F #797A19 #ABAD23 #D4D637

Accessibility & contrast

On white

4.55
#797A19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#797A19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797A19
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797A19#FFFFFF#000000##000000
##797A191.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#857721
Tritanopia (blue-blind)
#827268
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #797a19;
/* rgb */ color: rgb(121, 122, 25);
/* oklch */ color: oklch(56.1% 0.113 110.2);
Tailwind
colors: {
  custom: {
    50: '#a3a05f',
    500: '#797a19',
    950: '#000000',
  },
}
SCSS
$custom: #797a19;
$custom-light: #a3a05f;
$custom-dark: #000000;
JSON
{
  "hex": "#797a19",
  "rgb": {
    "r": 121,
    "g": 122,
    "b": 25
  },
  "hsl": {
    "h": 60.619,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.56099,
    "c": 0.11344,
    "h": 110.2
  },
  "luminance": 0.18054
}

Semantic roles & 50–950 ramp

primary
#797A19
secondary
#4140AF
accent
#3FE941
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #797A19

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

Preview Lab → · Contrast checker → · Palette generator →

#797A19 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva