#797B61#797B61

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

Color values

HEX#797B61
RGBrgb(121, 123, 97)
HSLhsl(65, 12%, 43%)
HSVhsv(65, 21%, 48%)
CMYKcmyk(1.6%, 0%, 21.1%, 51.8%)
CIE-LABlab(50.80, -5.51, 14.01)
CIE-LCHlch(50.80, 15.05, 111.49°)
OKLaboklab(57.39% -0.0138 0.0357)
OKLCHoklch(57.39% 0.038 111.2)
XYZxyz(17.1256, 19.0941, 14.0903)
Luminance0.1909 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797B61 #63617B
analogous
#7B7061 #797B61 #6C7B61
triadic
#797B61 #61797B #7B6179
tetradic
#797B61 #617B70 #63617B #7B616C
square
#797B61 #617B70 #63617B #7B616C
split-complementary
#797B61 #616C7B #70617B
monochromatic
#36372B #575946 #797B61 #989A7F #B4B5A1

Accessibility & contrast

On white

4.36
#797B61 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##797B61#FFFFFF#000000##000000
##797B611.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F785F
Deuteranopia (green-blind)
#7F7962
Tritanopia (blue-blind)
#7D7874
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #797b61;
/* rgb */ color: rgb(121, 123, 97);
/* oklch */ color: oklch(57.4% 0.038 111.2);
Tailwind
colors: {
  custom: {
    50: '#a0a18e',
    500: '#797b61',
    950: '#000000',
  },
}
SCSS
$custom: #797b61;
$custom-light: #a0a18e;
$custom-dark: #000000;
JSON
{
  "hex": "#797b61",
  "rgb": {
    "r": 121,
    "g": 123,
    "b": 97
  },
  "hsl": {
    "h": 64.615,
    "s": 11.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.57387,
    "c": 0.03833,
    "h": 111.2
  },
  "luminance": 0.19094
}

Semantic roles & 50–950 ramp

primary
#797B61
secondary
#9594A4
accent
#73B578
background
#F9F9F8
surface
#F2F2F0
border
#CCCCCB
text
#0E0E0C
muted
#7E7E7D

Preview Lab

Preview with #797B61

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

Preview Lab → · Contrast checker → · Palette generator →

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