#797462#797462

#797462 is a mid, muted yellow. Relative luminance 0.174; OKLCH L 55.8% C 0.028 H 94.3°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#797462
RGBrgb(121, 116, 98)
HSLhsl(47, 11%, 43%)
HSVhsv(47, 19%, 47%)
CMYKcmyk(0%, 4.1%, 19%, 52.5%)
CIE-LABlab(48.81, -1.35, 10.65)
CIE-LCHlch(48.81, 10.74, 97.22°)
OKLaboklab(55.82% -0.002 0.0274)
OKLCHoklch(55.82% 0.028 94.3)
XYZxyz(16.3351, 17.4378, 14.0582)
Luminance0.1744 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797462 #626779
analogous
#796862 #797462 #727962
triadic
#797462 #627974 #746279
tetradic
#797462 #627968 #626779 #796272
square
#797462 #627968 #626779 #796272
split-complementary
#797462 #627279 #686279
monochromatic
#35332B #575447 #797462 #989380 #B4B0A2

Accessibility & contrast

On white

4.68
#797462 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#797462 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #797462
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797462#FFFFFF#000000##FFFFFF
##7974621.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#787361
Deuteranopia (green-blind)
#797563
Tritanopia (blue-blind)
#7D716F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #797462;
/* rgb */ color: rgb(121, 116, 98);
/* oklch */ color: oklch(55.8% 0.028 94.3);
Tailwind
colors: {
  custom: {
    50: '#a09c8e',
    500: '#797462',
    950: '#000000',
  },
}
SCSS
$custom: #797462;
$custom-light: #a09c8e;
$custom-dark: #000000;
JSON
{
  "hex": "#797462",
  "rgb": {
    "r": 121,
    "g": 116,
    "b": 98
  },
  "hsl": {
    "h": 46.957,
    "s": 10.502,
    "l": 42.941
  },
  "oklch": {
    "l": 0.55822,
    "c": 0.02752,
    "h": 94.3
  },
  "luminance": 0.17438
}

Semantic roles & 50–950 ramp

primary
#797462
secondary
#9497A3
accent
#82B374
background
#F9F9F8
surface
#F2F2F0
border
#CCCCCB
text
#0E0E0C
muted
#7E7E7D

Preview Lab

Preview with #797462

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

Preview Lab → · Contrast checker → · Palette generator →

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