#797D62#797D62

#797D62 is a mid, muted yellow. Relative luminance 0.196; OKLCH L 57.9% C 0.040 H 114.5°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#797D62
RGBrgb(121, 125, 98)
HSLhsl(69, 12%, 44%)
HSVhsv(69, 22%, 49%)
CMYKcmyk(3.2%, 0%, 21.6%, 51%)
CIE-LABlab(51.40, -6.48, 14.26)
CIE-LCHlch(51.40, 15.66, 114.43°)
OKLaboklab(57.87% -0.0166 0.0364)
OKLCHoklch(57.87% 0.04 114.5)
XYZxyz(17.4232, 19.6141, 14.4209)
Luminance0.1961 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797D62 #66627D
analogous
#7D7362 #797D62 #6B7D62
triadic
#797D62 #62797D #7D6279
tetradic
#797D62 #627D73 #66627D #7D626B
square
#797D62 #627D73 #66627D #7D626B
split-complementary
#797D62 #626B7D #73627D
monochromatic
#37382C #585B47 #797D62 #989C80 #B4B7A3

Accessibility & contrast

On white

4.27
#797D62 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#797D62 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797D62
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797D62#FFFFFF#000000##000000
##797D621.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#817A60
Deuteranopia (green-blind)
#817B63
Tritanopia (blue-blind)
#7C7A76
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #797d62;
/* rgb */ color: rgb(121, 125, 98);
/* oklch */ color: oklch(57.9% 0.040 114.5);
Tailwind
colors: {
  custom: {
    50: '#a0a28e',
    500: '#797d62',
    950: '#000000',
  },
}
SCSS
$custom: #797d62;
$custom-light: #a0a28e;
$custom-dark: #000000;
JSON
{
  "hex": "#797d62",
  "rgb": {
    "r": 121,
    "g": 125,
    "b": 98
  },
  "hsl": {
    "h": 68.889,
    "s": 12.108,
    "l": 43.725
  },
  "oklch": {
    "l": 0.5787,
    "c": 0.03997,
    "h": 114.5
  },
  "luminance": 0.19614
}

Semantic roles & 50–950 ramp

primary
#797D62
secondary
#9895A6
accent
#73B57D
background
#F9F9F8
surface
#F2F2F0
border
#CCCCCB
text
#0E0F0C
muted
#7E7E7D

Preview Lab

Preview with #797D62

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

Preview Lab → · Contrast checker → · Palette generator →

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