#797D49#797D49

#797D49 is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.4% C 0.073 H 112.3°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#797D49
RGBrgb(121, 125, 73)
HSLhsl(65, 26%, 39%)
HSVhsv(65, 42%, 49%)
CMYKcmyk(3.2%, 0%, 41.6%, 51%)
CIE-LABlab(50.94, -10.04, 27.82)
CIE-LCHlch(50.94, 29.57, 109.84°)
OKLaboklab(57.35% -0.0277 0.0677)
OKLCHoklch(57.35% 0.073 112.3)
XYZxyz(16.4215, 19.2135, 9.1455)
Luminance0.1921 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797D49 #4D497D
analogous
#7D6749 #797D49 #5F7D49
triadic
#797D49 #49797D #7D4979
tetradic
#797D49 #497D67 #4D497D #7D495F
square
#797D49 #497D67 #4D497D #7D495F
split-complementary
#797D49 #495F7D #67497D
monochromatic
#2E301C #545632 #797D49 #9DA361 #B5B987

Accessibility & contrast

On white

4.34
#797D49 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#797D49 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797D49
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797D49#FFFFFF#000000##000000
##797D491.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#847945
Deuteranopia (green-blind)
#847A4B
Tritanopia (blue-blind)
#7F7770
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #797d49;
/* rgb */ color: rgb(121, 125, 73);
/* oklch */ color: oklch(57.4% 0.073 112.3);
Tailwind
colors: {
  custom: {
    50: '#a0a27c',
    500: '#797d49',
    950: '#000000',
  },
}
SCSS
$custom: #797d49;
$custom-light: #a0a27c;
$custom-dark: #000000;
JSON
{
  "hex": "#797d49",
  "rgb": {
    "r": 121,
    "g": 125,
    "b": 73
  },
  "hsl": {
    "h": 64.615,
    "s": 26.263,
    "l": 38.824
  },
  "oklch": {
    "l": 0.57352,
    "c": 0.07315,
    "h": 112.3
  },
  "luminance": 0.19213
}

Semantic roles & 50–950 ramp

primary
#797D49
secondary
#807DA5
accent
#65C36C
background
#FAF9F7
surface
#F3F2EE
border
#CDCCC9
text
#0F0F09
muted
#7F7E7B

Preview Lab

Preview with #797D49

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

Preview Lab → · Contrast checker → · Palette generator →

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