#787A5D#787A5D

#787A5D is a mid, muted yellow. Relative luminance 0.187; OKLCH L 57.0% C 0.043 H 110.9°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#787A5D
RGBrgb(120, 122, 93)
HSLhsl(64, 13%, 42%)
HSVhsv(64, 24%, 48%)
CMYKcmyk(1.6%, 0%, 23.8%, 52.2%)
CIE-LABlab(50.34, -6.00, 15.68)
CIE-LCHlch(50.34, 16.79, 110.93°)
OKLaboklab(56.97% -0.0152 0.0398)
OKLCHoklch(56.97% 0.043 110.9)
XYZxyz(16.6810, 18.7026, 13.0850)
Luminance0.1870 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787A5D #5F5D7A
analogous
#7A6E5D #787A5D #6A7A5D
triadic
#787A5D #5D787A #7A5D78
tetradic
#787A5D #5D7A6E #5F5D7A #7A5D6A
square
#787A5D #5D7A6E #5F5D7A #7A5D6A
split-complementary
#787A5D #5D6A7A #6E5D7A
monochromatic
#343528 #565743 #787A5D #989A7A #B3B49D

Accessibility & contrast

On white

4.43
#787A5D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#787A5D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787A5D
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787A5D#FFFFFF#000000##000000
##787A5D1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F775B
Deuteranopia (green-blind)
#7F785E
Tritanopia (blue-blind)
#7C7672
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #787a5d;
/* rgb */ color: rgb(120, 122, 93);
/* oklch */ color: oklch(57.0% 0.043 110.9);
Tailwind
colors: {
  custom: {
    50: '#9fa08b',
    500: '#787a5d',
    950: '#000000',
  },
}
SCSS
$custom: #787a5d;
$custom-light: #9fa08b;
$custom-dark: #000000;
JSON
{
  "hex": "#787a5d",
  "rgb": {
    "r": 120,
    "g": 122,
    "b": 93
  },
  "hsl": {
    "h": 64.138,
    "s": 13.488,
    "l": 42.157
  },
  "oklch": {
    "l": 0.56974,
    "c": 0.04261,
    "h": 110.9
  },
  "luminance": 0.18702
}

Semantic roles & 50–950 ramp

primary
#787A5D
secondary
#9190A3
accent
#71B676
background
#F9F9F8
surface
#F2F2F0
border
#CCCCCB
text
#0E0E0C
muted
#7E7E7D

Preview Lab

Preview with #787A5D

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

Preview Lab → · Contrast checker → · Palette generator →

#787A5D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva