#787459#787459

#787459 is a mid, muted yellow. Relative luminance 0.172; OKLCH L 55.5% C 0.040 H 100.5°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#787459
RGBrgb(120, 116, 89)
HSLhsl(52, 15%, 41%)
HSVhsv(52, 26%, 47%)
CMYKcmyk(0%, 3.3%, 25.8%, 52.9%)
CIE-LABlab(48.52, -3.21, 15.51)
CIE-LCHlch(48.52, 15.84, 101.67°)
OKLaboklab(55.51% -0.0073 0.0393)
OKLCHoklch(55.51% 0.04 100.5)
XYZxyz(15.7943, 17.2054, 11.9382)
Luminance0.1721 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787459 #595D78
analogous
#786459 #787459 #6C7859
triadic
#787459 #597874 #745978
tetradic
#787459 #597864 #595D78 #78596C
square
#787459 #597864 #595D78 #78596C
split-complementary
#787459 #596C78 #645978
monochromatic
#323025 #55523F #787459 #999475 #B3B098

Accessibility & contrast

On white

4.73
#787459 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#787459 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #787459
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787459#FFFFFF#000000##FFFFFF
##7874591.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#797257
Deuteranopia (green-blind)
#7B745A
Tritanopia (blue-blind)
#7D706D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #787459;
/* rgb */ color: rgb(120, 116, 89);
/* oklch */ color: oklch(55.5% 0.040 100.5);
Tailwind
colors: {
  custom: {
    50: '#9f9c88',
    500: '#787459',
    950: '#000000',
  },
}
SCSS
$custom: #787459;
$custom-light: #9f9c88;
$custom-dark: #000000;
JSON
{
  "hex": "#787459",
  "rgb": {
    "r": 120,
    "g": 116,
    "b": 89
  },
  "hsl": {
    "h": 52.258,
    "s": 14.833,
    "l": 40.98
  },
  "oklch": {
    "l": 0.55506,
    "c": 0.04002,
    "h": 100.5
  },
  "luminance": 0.17205
}

Semantic roles & 50–950 ramp

primary
#787459
secondary
#8C8EA1
accent
#79B870
background
#F9F9F8
surface
#F2F2EF
border
#CCCCCA
text
#0E0E0B
muted
#7E7E7C

Preview Lab

Preview with #787459

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

Preview Lab → · Contrast checker → · Palette generator →

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