#787B66#787B66

#787B66 is a mid, muted yellow. Relative luminance 0.191; OKLCH L 57.4% C 0.031 H 114.0°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#787B66
RGBrgb(120, 123, 102)
HSLhsl(69, 9%, 44%)
HSVhsv(69, 17%, 48%)
CMYKcmyk(2.4%, 0%, 17.1%, 51.8%)
CIE-LABlab(50.83, -5.08, 11.12)
CIE-LCHlch(50.83, 12.23, 114.55°)
OKLaboklab(57.43% -0.0127 0.0286)
OKLCHoklch(57.43% 0.031 114)
XYZxyz(17.2267, 19.1184, 15.3505)
Luminance0.1912 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787B66 #69667B
analogous
#7B7466 #787B66 #6E7B66
triadic
#787B66 #66787B #7B6678
tetradic
#787B66 #667B74 #69667B #7B666E
square
#787B66 #667B74 #69667B #7B666E
split-complementary
#787B66 #666E7B #74667B
monochromatic
#37382F #575A4A #787B66 #979A85 #B3B5A6

Accessibility & contrast

On white

4.35
#787B66 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#787B66 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787B66
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787B66#FFFFFF#000000##000000
##787B661.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E7965
Deuteranopia (green-blind)
#7E7967
Tritanopia (blue-blind)
#7B7875
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #787b66;
/* rgb */ color: rgb(120, 123, 102);
/* oklch */ color: oklch(57.4% 0.031 114.0);
Tailwind
colors: {
  custom: {
    50: '#9fa191',
    500: '#787b66',
    950: '#000000',
  },
}
SCSS
$custom: #787b66;
$custom-light: #9fa191;
$custom-dark: #000000;
JSON
{
  "hex": "#787b66",
  "rgb": {
    "r": 120,
    "g": 123,
    "b": 102
  },
  "hsl": {
    "h": 68.571,
    "s": 9.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.57426,
    "c": 0.03134,
    "h": 114
  },
  "luminance": 0.19118
}

Semantic roles & 50–950 ramp

primary
#787B66
secondary
#9A98A5
accent
#75B27E
background
#F9F9F8
surface
#F2F2F0
border
#CCCCCB
text
#0E0E0C
muted
#7E7E7D

Preview Lab

Preview with #787B66

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

Preview Lab → · Contrast checker → · Palette generator →

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