#797B62#797B62

#797B62 is a mid, muted yellow. Relative luminance 0.191; OKLCH L 57.4% C 0.037 H 111.3°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#797B62
RGBrgb(121, 123, 98)
HSLhsl(65, 11%, 43%)
HSVhsv(65, 20%, 48%)
CMYKcmyk(1.6%, 0%, 20.3%, 51.8%)
CIE-LABlab(50.82, -5.35, 13.46)
CIE-LCHlch(50.82, 14.48, 111.68°)
OKLaboklab(57.41% -0.0134 0.0344)
OKLCHoklch(57.41% 0.037 111.3)
XYZxyz(17.1726, 19.1128, 14.3374)
Luminance0.1911 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797B62 #64627B
analogous
#7B7062 #797B62 #6C7B62
triadic
#797B62 #62797B #7B6279
tetradic
#797B62 #627B70 #64627B #7B626C
square
#797B62 #627B70 #64627B #7B626C
split-complementary
#797B62 #626C7B #70627B
monochromatic
#36372C #575947 #797B62 #989A80 #B4B5A2

Accessibility & contrast

On white

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

On black

4.82
#797B62 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797B62
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797B62#FFFFFF#000000##000000
##797B621.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F7960
Deuteranopia (green-blind)
#7F7963
Tritanopia (blue-blind)
#7C7874
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #797b62;
/* rgb */ color: rgb(121, 123, 98);
/* oklch */ color: oklch(57.4% 0.037 111.3);
Tailwind
colors: {
  custom: {
    50: '#a0a18e',
    500: '#797b62',
    950: '#000000',
  },
}
SCSS
$custom: #797b62;
$custom-light: #a0a18e;
$custom-dark: #000000;
JSON
{
  "hex": "#797b62",
  "rgb": {
    "r": 121,
    "g": 123,
    "b": 98
  },
  "hsl": {
    "h": 64.8,
    "s": 11.312,
    "l": 43.333
  },
  "oklch": {
    "l": 0.57411,
    "c": 0.03691,
    "h": 111.3
  },
  "luminance": 0.19113
}

Semantic roles & 50–950 ramp

primary
#797B62
secondary
#9695A4
accent
#74B479
background
#F9F9F8
surface
#F2F2F0
border
#CCCCCB
text
#0E0E0C
muted
#7E7E7D

Preview Lab

Preview with #797B62

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

Preview Lab → · Contrast checker → · Palette generator →

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