#787159#787159

#787159 is a mid, muted yellow. Relative luminance 0.165; OKLCH L 54.8% C 0.037 H 93.7°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#787159
RGBrgb(120, 113, 89)
HSLhsl(46, 15%, 41%)
HSVhsv(46, 26%, 47%)
CMYKcmyk(0%, 5.8%, 25.8%, 52.9%)
CIE-LABlab(47.66, -1.48, 14.33)
CIE-LCHlch(47.66, 14.41, 95.89°)
OKLaboklab(54.83% -0.0024 0.0365)
OKLCHoklch(54.83% 0.037 93.7)
XYZxyz(15.4541, 16.5249, 11.8248)
Luminance0.1653 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787159 #596078
analogous
#786159 #787159 #6F7859
triadic
#787159 #597871 #715978
tetradic
#787159 #597861 #596078 #78596F
square
#787159 #597861 #596078 #78596F
split-complementary
#787159 #596F78 #615978
monochromatic
#322F25 #55503F #787159 #999175 #B3AD98

Accessibility & contrast

On white

4.88
#787159 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#787159 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #787159
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787159#FFFFFF#000000##FFFFFF
##7871591.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#767057
Deuteranopia (green-blind)
#78725A
Tritanopia (blue-blind)
#7D6D6A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #787159;
/* rgb */ color: rgb(120, 113, 89);
/* oklch */ color: oklch(54.8% 0.037 93.7);
Tailwind
colors: {
  custom: {
    50: '#9f9988',
    500: '#787159',
    950: '#000000',
  },
}
SCSS
$custom: #787159;
$custom-light: #9f9988;
$custom-dark: #000000;
JSON
{
  "hex": "#787159",
  "rgb": {
    "r": 120,
    "g": 113,
    "b": 89
  },
  "hsl": {
    "h": 46.452,
    "s": 14.833,
    "l": 40.98
  },
  "oklch": {
    "l": 0.54826,
    "c": 0.03654,
    "h": 93.7
  },
  "luminance": 0.16525
}

Semantic roles & 50–950 ramp

primary
#787159
secondary
#8C90A1
accent
#80B870
background
#F9F9F8
surface
#F2F2EF
border
#CCCCCA
text
#0E0E0B
muted
#7E7E7C

Preview Lab

Preview with #787159

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

Preview Lab → · Contrast checker → · Palette generator →

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