#797A56#797A56

#797A56 is a mid, muted yellow. Relative luminance 0.187; OKLCH L 56.9% C 0.052 H 109.3°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#797A56
RGBrgb(121, 122, 86)
HSLhsl(62, 17%, 41%)
HSVhsv(62, 30%, 48%)
CMYKcmyk(0.8%, 0%, 29.5%, 52.2%)
CIE-LABlab(50.28, -6.64, 19.65)
CIE-LCHlch(50.28, 20.74, 108.67°)
OKLaboklab(56.9% -0.0172 0.0492)
OKLCHoklch(56.9% 0.052 109.3)
XYZxyz(16.5244, 18.6561, 11.5328)
Luminance0.1866 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797A56 #57567A
analogous
#7A6956 #797A56 #677A56
triadic
#797A56 #56797A #7A5679
tetradic
#797A56 #567A69 #57567A #7A5667
square
#797A56 #567A69 #57567A #7A5667
split-complementary
#797A56 #56677A #69567A
monochromatic
#323223 #55563D #797A56 #9A9B72 #B4B596

Accessibility & contrast

On white

4.44
#797A56 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#797A56 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797A56
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797A56#FFFFFF#000000##000000
##797A561.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#807754
Deuteranopia (green-blind)
#807857
Tritanopia (blue-blind)
#7E7671
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #797a56;
/* rgb */ color: rgb(121, 122, 86);
/* oklch */ color: oklch(56.9% 0.052 109.3);
Tailwind
colors: {
  custom: {
    50: '#a0a086',
    500: '#797a56',
    950: '#000000',
  },
}
SCSS
$custom: #797a56;
$custom-light: #a0a086;
$custom-dark: #000000;
JSON
{
  "hex": "#797a56",
  "rgb": {
    "r": 121,
    "g": 122,
    "b": 86
  },
  "hsl": {
    "h": 61.667,
    "s": 17.308,
    "l": 40.784
  },
  "oklch": {
    "l": 0.56905,
    "c": 0.05215,
    "h": 109.3
  },
  "luminance": 0.18656
}

Semantic roles & 50–950 ramp

primary
#797A56
secondary
#8A89A3
accent
#6EBA70
background
#F9F9F8
surface
#F2F2EF
border
#CCCCCA
text
#0E0E0B
muted
#7E7E7C

Preview Lab

Preview with #797A56

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

Preview Lab → · Contrast checker → · Palette generator →

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