#797A55#797A55

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

Color values

HEX#797A55
RGBrgb(121, 122, 85)
HSLhsl(62, 18%, 41%)
HSVhsv(62, 30%, 48%)
CMYKcmyk(0.8%, 0%, 30.3%, 52.2%)
CIE-LABlab(50.26, -6.78, 20.20)
CIE-LCHlch(50.26, 21.31, 108.56°)
OKLaboklab(56.88% -0.0177 0.0505)
OKLCHoklch(56.88% 0.054 109.3)
XYZxyz(16.4844, 18.6401, 11.3221)
Luminance0.1864 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797A55 #56557A
analogous
#7A6855 #797A55 #667A55
triadic
#797A55 #55797A #7A5579
tetradic
#797A55 #557A68 #56557A #7A5566
square
#797A55 #557A68 #56557A #7A5566
split-complementary
#797A55 #55667A #68557A
monochromatic
#313223 #55563C #797A55 #9B9C70 #B4B595

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##797A55#FFFFFF#000000##000000
##797A551.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)
#807753
Deuteranopia (green-blind)
#807856
Tritanopia (blue-blind)
#7E7670
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #797a55;
/* rgb */ color: rgb(121, 122, 85);
/* oklch */ color: oklch(56.9% 0.053 109.3);
Tailwind
colors: {
  custom: {
    50: '#a0a085',
    500: '#797a55',
    950: '#000000',
  },
}
SCSS
$custom: #797a55;
$custom-light: #a0a085;
$custom-dark: #000000;
JSON
{
  "hex": "#797a55",
  "rgb": {
    "r": 121,
    "g": 122,
    "b": 85
  },
  "hsl": {
    "h": 61.622,
    "s": 17.874,
    "l": 40.588
  },
  "oklch": {
    "l": 0.56884,
    "c": 0.0535,
    "h": 109.3
  },
  "luminance": 0.1864
}

Semantic roles & 50–950 ramp

primary
#797A55
secondary
#8988A3
accent
#6DBB6F
background
#F9F9F8
surface
#F2F2EF
border
#CCCCCA
text
#0F0E0B
muted
#7E7E7C

Preview Lab

Preview with #797A55

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

Preview Lab → · Contrast checker → · Palette generator →

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