#797C59#797C59

#797C59 is a mid, muted yellow. Relative luminance 0.192; OKLCH L 57.4% C 0.051 H 112.0°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#797C59
RGBrgb(121, 124, 89)
HSLhsl(65, 16%, 42%)
HSVhsv(65, 28%, 49%)
CMYKcmyk(2.4%, 0%, 28.2%, 51.4%)
CIE-LABlab(50.92, -7.32, 18.79)
CIE-LCHlch(50.92, 20.17, 111.29°)
OKLaboklab(57.43% -0.0191 0.0472)
OKLCHoklch(57.43% 0.051 112)
XYZxyz(16.8960, 19.2017, 12.2655)
Luminance0.1920 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797C59 #5C597C
analogous
#7C6E59 #797C59 #687C59
triadic
#797C59 #59797C #7C5979
tetradic
#797C59 #597C6E #5C597C #7C5968
square
#797C59 #597C6E #5C597C #7C5968
split-complementary
#797C59 #59687C #6E597C
monochromatic
#333526 #56583F #797C59 #999C76 #B4B699

Accessibility & contrast

On white

4.34
#797C59 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#797C59 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797C59
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797C59#FFFFFF#000000##000000
##797C591.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#817957
Deuteranopia (green-blind)
#817A5A
Tritanopia (blue-blind)
#7D7873
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #797c59;
/* rgb */ color: rgb(121, 124, 89);
/* oklch */ color: oklch(57.4% 0.051 112.0);
Tailwind
colors: {
  custom: {
    50: '#a0a188',
    500: '#797c59',
    950: '#000000',
  },
}
SCSS
$custom: #797c59;
$custom-light: #a0a188;
$custom-dark: #000000;
JSON
{
  "hex": "#797c59",
  "rgb": {
    "r": 121,
    "g": 124,
    "b": 89
  },
  "hsl": {
    "h": 65.143,
    "s": 16.432,
    "l": 41.765
  },
  "oklch": {
    "l": 0.57432,
    "c": 0.05094,
    "h": 112
  },
  "luminance": 0.19202
}

Semantic roles & 50–950 ramp

primary
#797C59
secondary
#8F8DA4
accent
#6FB975
background
#F9F9F8
surface
#F2F2EF
border
#CCCCCA
text
#0E0F0B
muted
#7E7E7C

Preview Lab

Preview with #797C59

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

Preview Lab → · Contrast checker → · Palette generator →

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