#797A54#797A54

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

Color values

HEX#797A54
RGBrgb(121, 122, 84)
HSLhsl(62, 18%, 40%)
HSVhsv(62, 31%, 48%)
CMYKcmyk(0.8%, 0%, 31.1%, 52.2%)
CIE-LABlab(50.24, -6.92, 20.75)
CIE-LCHlch(50.24, 21.87, 108.46°)
OKLaboklab(56.86% -0.0181 0.0518)
OKLCHoklch(56.86% 0.055 109.3)
XYZxyz(16.4450, 18.6244, 11.1143)
Luminance0.1862 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797A54 #55547A
analogous
#7A6854 #797A54 #667A54
triadic
#797A54 #54797A #7A5479
tetradic
#797A54 #547A68 #55547A #7A5466
square
#797A54 #547A68 #55547A #7A5466
split-complementary
#797A54 #54667A #68547A
monochromatic
#313222 #55563B #797A54 #9B9C6F #B4B593

Accessibility & contrast

On white

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

On black

4.72
#797A54 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797A54
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797A54#FFFFFF#000000##000000
##797A541.004.444.724.72
#FFFFFF4.441.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#807751
Deuteranopia (green-blind)
#807856
Tritanopia (blue-blind)
#7E7570
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #797a54;
/* rgb */ color: rgb(121, 122, 84);
/* oklch */ color: oklch(56.9% 0.055 109.3);
Tailwind
colors: {
  custom: {
    50: '#a0a084',
    500: '#797a54',
    950: '#000000',
  },
}
SCSS
$custom: #797a54;
$custom-light: #a0a084;
$custom-dark: #000000;
JSON
{
  "hex": "#797a54",
  "rgb": {
    "r": 121,
    "g": 122,
    "b": 84
  },
  "hsl": {
    "h": 61.579,
    "s": 18.447,
    "l": 40.392
  },
  "oklch": {
    "l": 0.56863,
    "c": 0.05485,
    "h": 109.3
  },
  "luminance": 0.18624
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #797A54

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

Preview Lab → · Contrast checker → · Palette generator →

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