#797358#797358

#797358 is a mid, muted yellow. Relative luminance 0.170; OKLCH L 55.3% C 0.040 H 97.0°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#797358
RGBrgb(121, 115, 88)
HSLhsl(49, 16%, 41%)
HSVhsv(49, 27%, 47%)
CMYKcmyk(0%, 5%, 27.3%, 52.5%)
CIE-LABlab(48.30, -2.36, 15.81)
CIE-LCHlch(48.30, 15.99, 98.50°)
OKLaboklab(55.35% -0.0049 0.0401)
OKLCHoklch(55.35% 0.04 97)
XYZxyz(15.7774, 17.0313, 11.6869)
Luminance0.1703 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797358 #585E79
analogous
#796258 #797358 #6E7958
triadic
#797358 #587973 #735879
tetradic
#797358 #587962 #585E79 #79586E
square
#797358 #587962 #585E79 #79586E
split-complementary
#797358 #586E79 #625879
monochromatic
#323024 #56513E #797358 #9A9374 #B4AF98

Accessibility & contrast

On white

4.77
#797358 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#797358 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #797358
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797358#FFFFFF#000000##FFFFFF
##7973581.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#797156
Deuteranopia (green-blind)
#7A7459
Tritanopia (blue-blind)
#7E6F6C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #797358;
/* rgb */ color: rgb(121, 115, 88);
/* oklch */ color: oklch(55.3% 0.040 97.0);
Tailwind
colors: {
  custom: {
    50: '#a09b87',
    500: '#797358',
    950: '#000000',
  },
}
SCSS
$custom: #797358;
$custom-light: #a09b87;
$custom-dark: #000000;
JSON
{
  "hex": "#797358",
  "rgb": {
    "r": 121,
    "g": 115,
    "b": 88
  },
  "hsl": {
    "h": 49.091,
    "s": 15.789,
    "l": 40.98
  },
  "oklch": {
    "l": 0.55349,
    "c": 0.04035,
    "h": 97
  },
  "luminance": 0.17031
}

Semantic roles & 50–950 ramp

primary
#797358
secondary
#8B8FA2
accent
#7DB96F
background
#F9F9F8
surface
#F2F2EF
border
#CCCCCA
text
#0E0E0B
muted
#7E7E7C

Preview Lab

Preview with #797358

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

Preview Lab → · Contrast checker → · Palette generator →

#797358 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva