#797B44#797B44

#797B44 is a mid, moderate yellow. Relative luminance 0.186; OKLCH L 56.8% C 0.076 H 110.4°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#797B44
RGBrgb(121, 123, 68)
HSLhsl(62, 29%, 37%)
HSVhsv(62, 45%, 48%)
CMYKcmyk(1.6%, 0%, 44.7%, 51.8%)
CIE-LABlab(50.27, -9.52, 29.72)
CIE-LCHlch(50.27, 31.21, 107.75°)
OKLaboklab(56.8% -0.0267 0.0717)
OKLCHoklch(56.8% 0.076 110.4)
XYZxyz(16.0117, 18.6485, 8.2238)
Luminance0.1865 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797B44 #46447B
analogous
#7B6244 #797B44 #5D7B44
triadic
#797B44 #44797B #7B4479
tetradic
#797B44 #447B62 #46447B #7B445D
square
#797B44 #447B62 #46447B #7B445D
split-complementary
#797B44 #445D7B #62447B
monochromatic
#2B2C18 #52542E #797B44 #A0A25A #B7B980

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##797B44#FFFFFF#000000##000000
##797B441.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)
#837740
Deuteranopia (green-blind)
#837847
Tritanopia (blue-blind)
#80756E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #797b44;
/* rgb */ color: rgb(121, 123, 68);
/* oklch */ color: oklch(56.8% 0.076 110.4);
Tailwind
colors: {
  custom: {
    50: '#a1a179',
    500: '#797b44',
    950: '#000000',
  },
}
SCSS
$custom: #797b44;
$custom-light: #a1a179;
$custom-dark: #000000;
JSON
{
  "hex": "#797b44",
  "rgb": {
    "r": 121,
    "g": 123,
    "b": 68
  },
  "hsl": {
    "h": 62.182,
    "s": 28.796,
    "l": 37.451
  },
  "oklch": {
    "l": 0.568,
    "c": 0.07647,
    "h": 110.4
  },
  "luminance": 0.18648
}

Semantic roles & 50–950 ramp

primary
#797B44
secondary
#7877A4
accent
#63C566
background
#FAF9F7
surface
#F3F2ED
border
#CDCCC8
text
#0F0E09
muted
#7F7E7B

Preview Lab

Preview with #797B44

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

Preview Lab → · Contrast checker → · Palette generator →

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