#797C49#797C49

#797C49 is a mid, moderate yellow. Relative luminance 0.190; OKLCH L 57.1% C 0.072 H 111.4°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#797C49
RGBrgb(121, 124, 73)
HSLhsl(64, 26%, 39%)
HSVhsv(64, 41%, 49%)
CMYKcmyk(2.4%, 0%, 41.1%, 51.4%)
CIE-LABlab(50.64, -9.48, 27.45)
CIE-LCHlch(50.64, 29.04, 109.06°)
OKLaboklab(57.12% -0.0261 0.0668)
OKLCHoklch(57.12% 0.072 111.4)
XYZxyz(16.2956, 18.9616, 9.1035)
Luminance0.1896 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797C49 #4C497C
analogous
#7C6549 #797C49 #5F7C49
triadic
#797C49 #49797C #7C4979
tetradic
#797C49 #497C65 #4C497C #7C495F
square
#797C49 #497C65 #4C497C #7C495F
split-complementary
#797C49 #495F7C #65497C
monochromatic
#2E2F1C #535532 #797C49 #9EA261 #B5B887

Accessibility & contrast

On white

4.38
#797C49 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#797C49 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797C49
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797C49#FFFFFF#000000##000000
##797C491.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#837845
Deuteranopia (green-blind)
#83794B
Tritanopia (blue-blind)
#7F7670
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #797c49;
/* rgb */ color: rgb(121, 124, 73);
/* oklch */ color: oklch(57.1% 0.072 111.4);
Tailwind
colors: {
  custom: {
    50: '#a0a17c',
    500: '#797c49',
    950: '#000000',
  },
}
SCSS
$custom: #797c49;
$custom-light: #a0a17c;
$custom-dark: #000000;
JSON
{
  "hex": "#797c49",
  "rgb": {
    "r": 121,
    "g": 124,
    "b": 73
  },
  "hsl": {
    "h": 63.529,
    "s": 25.888,
    "l": 38.627
  },
  "oklch": {
    "l": 0.57118,
    "c": 0.07177,
    "h": 111.4
  },
  "luminance": 0.18961
}

Semantic roles & 50–950 ramp

primary
#797C49
secondary
#7F7CA4
accent
#66C26B
background
#F9F9F7
surface
#F2F2EE
border
#CCCCC9
text
#0F0F09
muted
#7E7E7B

Preview Lab

Preview with #797C49

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

Preview Lab → · Contrast checker → · Palette generator →

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