#797D64#797D64

#797D64 is a mid, muted yellow. Relative luminance 0.197; OKLCH L 57.9% C 0.037 H 115.0°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#797D64
RGBrgb(121, 125, 100)
HSLhsl(70, 11%, 44%)
HSVhsv(70, 20%, 49%)
CMYKcmyk(3.2%, 0%, 20%, 51%)
CIE-LABlab(51.44, -6.15, 13.16)
CIE-LCHlch(51.44, 14.52, 115.04°)
OKLaboklab(57.92% -0.0157 0.0337)
OKLCHoklch(57.92% 0.037 115)
XYZxyz(17.5188, 19.6524, 14.9245)
Luminance0.1965 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797D64 #68647D
analogous
#7D7564 #797D64 #6D7D64
triadic
#797D64 #64797D #7D6479
tetradic
#797D64 #647D75 #68647D #7D646D
square
#797D64 #647D75 #68647D #7D646D
split-complementary
#797D64 #646D7D #75647D
monochromatic
#37392E #585B49 #797D64 #989C83 #B4B7A5

Accessibility & contrast

On white

4.26
#797D64 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#797D64 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797D64
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797D64#FFFFFF#000000##000000
##797D641.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#817A63
Deuteranopia (green-blind)
#807B65
Tritanopia (blue-blind)
#7C7A76
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #797d64;
/* rgb */ color: rgb(121, 125, 100);
/* oklch */ color: oklch(57.9% 0.037 115.0);
Tailwind
colors: {
  custom: {
    50: '#a0a290',
    500: '#797d64',
    950: '#000000',
  },
}
SCSS
$custom: #797d64;
$custom-light: #a0a290;
$custom-dark: #000000;
JSON
{
  "hex": "#797d64",
  "rgb": {
    "r": 121,
    "g": 125,
    "b": 100
  },
  "hsl": {
    "h": 69.6,
    "s": 11.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.57919,
    "c": 0.03715,
    "h": 115
  },
  "luminance": 0.19652
}

Semantic roles & 50–950 ramp

primary
#797D64
secondary
#9997A6
accent
#74B47E
background
#F9F9F8
surface
#F2F2F0
border
#CCCCCB
text
#0E0F0C
muted
#7E7E7D

Preview Lab

Preview with #797D64

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

Preview Lab → · Contrast checker → · Palette generator →

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