#787461#787461

#787461 is a mid, muted yellow. Relative luminance 0.173; OKLCH L 55.7% C 0.029 H 97.4°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#787461
RGBrgb(120, 116, 97)
HSLhsl(50, 11%, 43%)
HSVhsv(50, 19%, 47%)
CMYKcmyk(0%, 3.3%, 19.2%, 52.9%)
CIE-LABlab(48.69, -1.93, 11.07)
CIE-LCHlch(48.69, 11.24, 99.87°)
OKLaboklab(55.7% -0.0037 0.0285)
OKLCHoklch(55.7% 0.029 97.4)
XYZxyz(16.1487, 17.3472, 13.8046)
Luminance0.1735 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787461 #616578
analogous
#786861 #787461 #717861
triadic
#787461 #617874 #746178
tetradic
#787461 #617868 #616578 #786171
square
#787461 #617868 #616578 #786171
split-complementary
#787461 #617178 #686178
monochromatic
#34332A #565346 #787461 #97937F #B3B0A1

Accessibility & contrast

On white

4.70
#787461 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#787461 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #787461
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787461#FFFFFF#000000##FFFFFF
##7874611.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#787360
Deuteranopia (green-blind)
#797462
Tritanopia (blue-blind)
#7C716F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #787461;
/* rgb */ color: rgb(120, 116, 97);
/* oklch */ color: oklch(55.7% 0.029 97.4);
Tailwind
colors: {
  custom: {
    50: '#9f9c8e',
    500: '#787461',
    950: '#000000',
  },
}
SCSS
$custom: #787461;
$custom-light: #9f9c8e;
$custom-dark: #000000;
JSON
{
  "hex": "#787461",
  "rgb": {
    "r": 120,
    "g": 116,
    "b": 97
  },
  "hsl": {
    "h": 49.565,
    "s": 10.599,
    "l": 42.549
  },
  "oklch": {
    "l": 0.55704,
    "c": 0.02871,
    "h": 97.4
  },
  "luminance": 0.17347
}

Semantic roles & 50–950 ramp

primary
#787461
secondary
#9396A2
accent
#7FB474
background
#F9F9F8
surface
#F2F2F0
border
#CCCCCB
text
#0E0E0C
muted
#7E7E7D

Preview Lab

Preview with #787461

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

Preview Lab → · Contrast checker → · Palette generator →

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