#797B58#797B58

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

Color values

HEX#797B58
RGBrgb(121, 123, 88)
HSLhsl(63, 17%, 41%)
HSVhsv(63, 28%, 48%)
CMYKcmyk(1.6%, 0%, 28.5%, 51.8%)
CIE-LABlab(50.61, -6.91, 18.95)
CIE-LCHlch(50.61, 20.17, 110.03°)
OKLaboklab(57.18% -0.0179 0.0476)
OKLCHoklch(57.18% 0.051 110.6)
XYZxyz(16.7296, 18.9356, 12.0043)
Luminance0.1893 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797B58 #5A587B
analogous
#7B6C58 #797B58 #687B58
triadic
#797B58 #58797B #7B5879
tetradic
#797B58 #587B6C #5A587B #7B5868
square
#797B58 #587B6C #5A587B #7B5868
split-complementary
#797B58 #58687B #6C587B
monochromatic
#333425 #56573E #797B58 #9A9C74 #B4B598

Accessibility & contrast

On white

4.39
#797B58 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##797B58#FFFFFF#000000##000000
##797B581.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#807856
Deuteranopia (green-blind)
#817959
Tritanopia (blue-blind)
#7E7772
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #797b58;
/* rgb */ color: rgb(121, 123, 88);
/* oklch */ color: oklch(57.2% 0.051 110.6);
Tailwind
colors: {
  custom: {
    50: '#a0a187',
    500: '#797b58',
    950: '#000000',
  },
}
SCSS
$custom: #797b58;
$custom-light: #a0a187;
$custom-dark: #000000;
JSON
{
  "hex": "#797b58",
  "rgb": {
    "r": 121,
    "g": 123,
    "b": 88
  },
  "hsl": {
    "h": 63.429,
    "s": 16.588,
    "l": 41.373
  },
  "oklch": {
    "l": 0.57179,
    "c": 0.05085,
    "h": 110.6
  },
  "luminance": 0.18935
}

Semantic roles & 50–950 ramp

primary
#797B58
secondary
#8D8BA3
accent
#6EB973
background
#F9F9F8
surface
#F2F2EF
border
#CCCCCA
text
#0E0E0B
muted
#7E7E7C

Preview Lab

Preview with #797B58

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

Preview Lab → · Contrast checker → · Palette generator →

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