#797D44#797D44

#797D44 is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.3% C 0.079 H 112.1°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#797D44
RGBrgb(121, 125, 68)
HSLhsl(64, 30%, 38%)
HSVhsv(64, 46%, 49%)
CMYKcmyk(3.2%, 0%, 45.6%, 51%)
CIE-LABlab(50.86, -10.62, 30.45)
CIE-LCHlch(50.86, 32.25, 109.23°)
OKLaboklab(57.27% -0.0298 0.0733)
OKLCHoklch(57.27% 0.079 112.1)
XYZxyz(16.2624, 19.1498, 8.3073)
Luminance0.1915 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797D44 #48447D
analogous
#7D6544 #797D44 #5C7D44
triadic
#797D44 #44797D #7D4479
tetradic
#797D44 #447D65 #48447D #7D445C
square
#797D44 #447D65 #48447D #7D445C
split-complementary
#797D44 #445C7D #65447D
monochromatic
#2C2E19 #53552E #797D44 #9FA55A #B6BA81

Accessibility & contrast

On white

4.35
#797D44 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#797D44 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797D44
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797D44#FFFFFF#000000##000000
##797D441.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#85783F
Deuteranopia (green-blind)
#857A47
Tritanopia (blue-blind)
#7F776F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #797d44;
/* rgb */ color: rgb(121, 125, 68);
/* oklch */ color: oklch(57.3% 0.079 112.1);
Tailwind
colors: {
  custom: {
    50: '#a1a279',
    500: '#797d44',
    950: '#000000',
  },
}
SCSS
$custom: #797d44;
$custom-light: #a1a279;
$custom-dark: #000000;
JSON
{
  "hex": "#797d44",
  "rgb": {
    "r": 121,
    "g": 125,
    "b": 68
  },
  "hsl": {
    "h": 64.211,
    "s": 29.534,
    "l": 37.843
  },
  "oklch": {
    "l": 0.57269,
    "c": 0.07913,
    "h": 112.1
  },
  "luminance": 0.1915
}

Semantic roles & 50–950 ramp

primary
#797D44
secondary
#7A77A6
accent
#62C669
background
#FAF9F7
surface
#F3F2ED
border
#CDCCC8
text
#0F0F09
muted
#7F7E7B

Preview Lab

Preview with #797D44

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

Preview Lab → · Contrast checker → · Palette generator →

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