#797458#797458

#797458 is a mid, muted yellow. Relative luminance 0.173; OKLCH L 55.6% C 0.042 H 99.1°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#797458
RGBrgb(121, 116, 88)
HSLhsl(51, 16%, 41%)
HSVhsv(51, 27%, 47%)
CMYKcmyk(0%, 4.1%, 27.3%, 52.5%)
CIE-LABlab(48.59, -2.94, 16.20)
CIE-LCHlch(48.59, 16.47, 100.27°)
OKLaboklab(55.58% -0.0066 0.041)
OKLCHoklch(55.58% 0.042 99.1)
XYZxyz(15.8921, 17.2606, 11.7251)
Luminance0.1726 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797458 #585D79
analogous
#796358 #797458 #6D7958
triadic
#797458 #587974 #745879
tetradic
#797458 #587963 #585D79 #79586D
square
#797458 #587963 #585D79 #79586D
split-complementary
#797458 #586D79 #635879
monochromatic
#323024 #56523E #797458 #9A9474 #B4B098

Accessibility & contrast

On white

4.72
#797458 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#797458 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #797458
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797458#FFFFFF#000000##FFFFFF
##7974581.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A7256
Deuteranopia (green-blind)
#7B7459
Tritanopia (blue-blind)
#7E706C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #797458;
/* rgb */ color: rgb(121, 116, 88);
/* oklch */ color: oklch(55.6% 0.042 99.1);
Tailwind
colors: {
  custom: {
    50: '#a09c87',
    500: '#797458',
    950: '#000000',
  },
}
SCSS
$custom: #797458;
$custom-light: #a09c87;
$custom-dark: #000000;
JSON
{
  "hex": "#797458",
  "rgb": {
    "r": 121,
    "g": 116,
    "b": 88
  },
  "hsl": {
    "h": 50.909,
    "s": 15.789,
    "l": 40.98
  },
  "oklch": {
    "l": 0.55576,
    "c": 0.04152,
    "h": 99.1
  },
  "luminance": 0.1726
}

Semantic roles & 50–950 ramp

primary
#797458
secondary
#8B8EA2
accent
#7AB96F
background
#F9F9F8
surface
#F2F2EF
border
#CCCCCA
text
#0E0E0B
muted
#7E7E7C

Preview Lab

Preview with #797458

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

Preview Lab → · Contrast checker → · Palette generator →

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