#797D61#797D61

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

Color values

HEX#797D61
RGBrgb(121, 125, 97)
HSLhsl(69, 13%, 44%)
HSVhsv(69, 22%, 49%)
CMYKcmyk(3.2%, 0%, 22.4%, 51%)
CIE-LABlab(51.38, -6.64, 14.81)
CIE-LCHlch(51.38, 16.23, 114.16°)
OKLaboklab(57.85% -0.017 0.0377)
OKLCHoklch(57.85% 0.041 114.3)
XYZxyz(17.3763, 19.5954, 14.1738)
Luminance0.1960 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797D61 #65617D
analogous
#7D7361 #797D61 #6B7D61
triadic
#797D61 #61797D #7D6179
tetradic
#797D61 #617D73 #65617D #7D616B
square
#797D61 #617D73 #65617D #7D616B
split-complementary
#797D61 #616B7D #73617D
monochromatic
#36382C #585B46 #797D61 #989C7F #B4B7A2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##797D61#FFFFFF#000000##000000
##797D611.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)
#817A5F
Deuteranopia (green-blind)
#817B62
Tritanopia (blue-blind)
#7C7A75
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #797d61;
/* rgb */ color: rgb(121, 125, 97);
/* oklch */ color: oklch(57.8% 0.041 114.3);
Tailwind
colors: {
  custom: {
    50: '#a0a28e',
    500: '#797d61',
    950: '#000000',
  },
}
SCSS
$custom: #797d61;
$custom-light: #a0a28e;
$custom-dark: #000000;
JSON
{
  "hex": "#797d61",
  "rgb": {
    "r": 121,
    "g": 125,
    "b": 97
  },
  "hsl": {
    "h": 68.571,
    "s": 12.613,
    "l": 43.529
  },
  "oklch": {
    "l": 0.57846,
    "c": 0.04138,
    "h": 114.3
  },
  "luminance": 0.19595
}

Semantic roles & 50–950 ramp

primary
#797D61
secondary
#9794A6
accent
#72B57C
background
#F9F9F8
surface
#F2F2F0
border
#CCCCCB
text
#0E0F0C
muted
#7E7E7D

Preview Lab

Preview with #797D61

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

Preview Lab → · Contrast checker → · Palette generator →

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