#797B59#797B59

#797B59 is a mid, muted yellow. Relative luminance 0.190; OKLCH L 57.2% C 0.049 H 110.7°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#797B59
RGBrgb(121, 123, 89)
HSLhsl(64, 16%, 42%)
HSVhsv(64, 28%, 48%)
CMYKcmyk(1.6%, 0%, 27.6%, 51.8%)
CIE-LABlab(50.63, -6.76, 18.40)
CIE-LCHlch(50.63, 19.60, 110.17°)
OKLaboklab(57.2% -0.0175 0.0463)
OKLCHoklch(57.2% 0.049 110.7)
XYZxyz(16.7713, 18.9523, 12.2239)
Luminance0.1895 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797B59 #5B597B
analogous
#7B6C59 #797B59 #687B59
triadic
#797B59 #59797B #7B5979
tetradic
#797B59 #597B6C #5B597B #7B5968
square
#797B59 #597B6C #5B597B #7B5968
split-complementary
#797B59 #59687B #6C597B
monochromatic
#333426 #56573F #797B59 #999C76 #B4B599

Accessibility & contrast

On white

4.38
#797B59 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#797B59 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797B59
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797B59#FFFFFF#000000##000000
##797B591.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#807857
Deuteranopia (green-blind)
#81795A
Tritanopia (blue-blind)
#7E7772
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #797b59;
/* rgb */ color: rgb(121, 123, 89);
/* oklch */ color: oklch(57.2% 0.049 110.7);
Tailwind
colors: {
  custom: {
    50: '#a0a188',
    500: '#797b59',
    950: '#000000',
  },
}
SCSS
$custom: #797b59;
$custom-light: #a0a188;
$custom-dark: #000000;
JSON
{
  "hex": "#797b59",
  "rgb": {
    "r": 121,
    "g": 123,
    "b": 89
  },
  "hsl": {
    "h": 63.529,
    "s": 16.038,
    "l": 41.569
  },
  "oklch": {
    "l": 0.57201,
    "c": 0.04949,
    "h": 110.7
  },
  "luminance": 0.18952
}

Semantic roles & 50–950 ramp

primary
#797B59
secondary
#8E8CA3
accent
#6FB973
background
#F9F9F8
surface
#F2F2EF
border
#CCCCCA
text
#0E0E0B
muted
#7E7E7C

Preview Lab

Preview with #797B59

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

Preview Lab → · Contrast checker → · Palette generator →

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