#797A44#797A44

#797A44 is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.6% C 0.075 H 109.5°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#797A44
RGBrgb(121, 122, 68)
HSLhsl(61, 28%, 37%)
HSVhsv(61, 44%, 48%)
CMYKcmyk(0.8%, 0%, 44.3%, 52.2%)
CIE-LABlab(49.98, -8.96, 29.36)
CIE-LCHlch(49.98, 30.70, 106.98°)
OKLaboklab(56.57% -0.0251 0.0709)
OKLCHoklch(56.57% 0.075 109.5)
XYZxyz(15.8883, 18.4017, 8.1826)
Luminance0.1840 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797A44 #45447A
analogous
#7A6044 #797A44 #5E7A44
triadic
#797A44 #44797A #7A4479
tetradic
#797A44 #447A60 #45447A #7A445E
square
#797A44 #447A60 #45447A #7A445E
split-complementary
#797A44 #445E7A #60447A
monochromatic
#2B2B18 #52532E #797A44 #A0A15A #B7B880

Accessibility & contrast

On white

4.49
#797A44 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#797A44 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797A44
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797A44#FFFFFF#000000##000000
##797A441.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#827640
Deuteranopia (green-blind)
#827846
Tritanopia (blue-blind)
#80746D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #797a44;
/* rgb */ color: rgb(121, 122, 68);
/* oklch */ color: oklch(56.6% 0.075 109.5);
Tailwind
colors: {
  custom: {
    50: '#a1a079',
    500: '#797a44',
    950: '#000000',
  },
}
SCSS
$custom: #797a44;
$custom-light: #a1a079;
$custom-dark: #000000;
JSON
{
  "hex": "#797a44",
  "rgb": {
    "r": 121,
    "g": 122,
    "b": 68
  },
  "hsl": {
    "h": 61.111,
    "s": 28.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.56566,
    "c": 0.07516,
    "h": 109.5
  },
  "luminance": 0.18401
}

Semantic roles & 50–950 ramp

primary
#797A44
secondary
#7776A4
accent
#63C565
background
#FAF9F7
surface
#F3F2ED
border
#CDCCC8
text
#0F0E09
muted
#7F7E7B

Preview Lab

Preview with #797A44

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

Preview Lab → · Contrast checker → · Palette generator →

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