#797A49#797A49

#797A49 is a mid, moderate yellow. Relative luminance 0.185; OKLCH L 56.7% C 0.069 H 109.4°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#797A49
RGBrgb(121, 122, 73)
HSLhsl(61, 25%, 38%)
HSVhsv(61, 40%, 48%)
CMYKcmyk(0.8%, 0%, 40.2%, 52.2%)
CIE-LABlab(50.06, -8.37, 26.70)
CIE-LCHlch(50.06, 27.98, 107.41°)
OKLaboklab(56.65% -0.023 0.0652)
OKLCHoklch(56.65% 0.069 109.4)
XYZxyz(16.0475, 18.4654, 9.0208)
Luminance0.1847 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797A49 #4A497A
analogous
#7A6249 #797A49 #607A49
triadic
#797A49 #49797A #7A4979
tetradic
#797A49 #497A62 #4A497A #7A4960
square
#797A49 #497A62 #4A497A #7A4960
split-complementary
#797A49 #49607A #62497A
monochromatic
#2D2D1B #535432 #797A49 #9FA060 #B6B787

Accessibility & contrast

On white

4.47
#797A49 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#797A49 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797A49
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797A49#FFFFFF#000000##000000
##797A491.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#817645
Deuteranopia (green-blind)
#82784B
Tritanopia (blue-blind)
#7F746E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #797a49;
/* rgb */ color: rgb(121, 122, 73);
/* oklch */ color: oklch(56.7% 0.069 109.4);
Tailwind
colors: {
  custom: {
    50: '#a0a07c',
    500: '#797a49',
    950: '#000000',
  },
}
SCSS
$custom: #797a49;
$custom-light: #a0a07c;
$custom-dark: #000000;
JSON
{
  "hex": "#797a49",
  "rgb": {
    "r": 121,
    "g": 122,
    "b": 73
  },
  "hsl": {
    "h": 61.224,
    "s": 25.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.56651,
    "c": 0.06908,
    "h": 109.4
  },
  "luminance": 0.18465
}

Semantic roles & 50–950 ramp

primary
#797A49
secondary
#7D7CA3
accent
#66C268
background
#F9F9F7
surface
#F2F2EE
border
#CCCCC9
text
#0F0E09
muted
#7E7E7B

Preview Lab

Preview with #797A49

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

Preview Lab → · Contrast checker → · Palette generator →

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