#797E49#797E49

#797E49 is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.6% C 0.075 H 113.1°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#797E49
RGBrgb(121, 126, 73)
HSLhsl(66, 27%, 39%)
HSVhsv(66, 42%, 49%)
CMYKcmyk(4%, 0%, 42.1%, 50.6%)
CIE-LABlab(51.23, -10.59, 28.19)
CIE-LCHlch(51.23, 30.11, 110.58°)
OKLaboklab(57.59% -0.0293 0.0685)
OKLCHoklch(57.59% 0.075 113.1)
XYZxyz(16.5488, 19.4679, 9.1879)
Luminance0.1947 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797E49 #4E497E
analogous
#7E6949 #797E49 #5F7E49
triadic
#797E49 #49797E #7E4979
tetradic
#797E49 #497E69 #4E497E #7E495F
square
#797E49 #497E69 #4E497E #7E495F
split-complementary
#797E49 #495F7E #69497E
monochromatic
#2F311C #545733 #797E49 #9DA361 #B5BA88

Accessibility & contrast

On white

4.29
#797E49 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#797E49 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797E49
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797E49#FFFFFF#000000##000000
##797E491.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#857945
Deuteranopia (green-blind)
#857B4B
Tritanopia (blue-blind)
#7F7871
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #797e49;
/* rgb */ color: rgb(121, 126, 73);
/* oklch */ color: oklch(57.6% 0.075 113.1);
Tailwind
colors: {
  custom: {
    50: '#a1a37c',
    500: '#797e49',
    950: '#000000',
  },
}
SCSS
$custom: #797e49;
$custom-light: #a1a37c;
$custom-dark: #000000;
JSON
{
  "hex": "#797e49",
  "rgb": {
    "r": 121,
    "g": 126,
    "b": 73
  },
  "hsl": {
    "h": 65.66,
    "s": 26.633,
    "l": 39.02
  },
  "oklch": {
    "l": 0.57586,
    "c": 0.07453,
    "h": 113.1
  },
  "luminance": 0.19468
}

Semantic roles & 50–950 ramp

primary
#797E49
secondary
#817DA6
accent
#65C36E
background
#FAFAF7
surface
#F3F3EE
border
#CDCDC9
text
#0F0F09
muted
#7F7F7B

Preview Lab

Preview with #797E49

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

Preview Lab → · Contrast checker → · Palette generator →

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