#787A66#787A66

#787A66 is a mid, muted yellow. Relative luminance 0.189; OKLCH L 57.2% C 0.030 H 112.0°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#787A66
RGBrgb(120, 122, 102)
HSLhsl(66, 9%, 44%)
HSVhsv(66, 16%, 48%)
CMYKcmyk(1.6%, 0%, 16.4%, 52.2%)
CIE-LABlab(50.54, -4.51, 10.72)
CIE-LCHlch(50.54, 11.63, 112.83°)
OKLaboklab(57.2% -0.0111 0.0276)
OKLCHoklch(57.2% 0.03 112)
XYZxyz(17.1033, 18.8716, 15.3094)
Luminance0.1887 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787A66 #68667A
analogous
#7A7266 #787A66 #6E7A66
triadic
#787A66 #66787A #7A6678
tetradic
#787A66 #667A72 #68667A #7A666E
square
#787A66 #667A72 #68667A #7A666E
split-complementary
#787A66 #666E7A #72667A
monochromatic
#36372E #57594A #787A66 #979985 #B3B5A6

Accessibility & contrast

On white

4.40
#787A66 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#787A66 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787A66
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787A66#FFFFFF#000000##000000
##787A661.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D7865
Deuteranopia (green-blind)
#7D7967
Tritanopia (blue-blind)
#7B7774
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #787a66;
/* rgb */ color: rgb(120, 122, 102);
/* oklch */ color: oklch(57.2% 0.030 112.0);
Tailwind
colors: {
  custom: {
    50: '#9fa091',
    500: '#787a66',
    950: '#000000',
  },
}
SCSS
$custom: #787a66;
$custom-light: #9fa091;
$custom-dark: #000000;
JSON
{
  "hex": "#787a66",
  "rgb": {
    "r": 120,
    "g": 122,
    "b": 102
  },
  "hsl": {
    "h": 66,
    "s": 8.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.57197,
    "c": 0.02978,
    "h": 112
  },
  "luminance": 0.18871
}

Semantic roles & 50–950 ramp

primary
#787A66
secondary
#9998A4
accent
#76B27C
background
#F9F9F8
surface
#F2F2F0
border
#CCCCCB
text
#0E0E0C
muted
#7E7E7D

Preview Lab

Preview with #787A66

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

Preview Lab → · Contrast checker → · Palette generator →

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