#787A5E#787A5E

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

Color values

HEX#787A5E
RGBrgb(120, 122, 94)
HSLhsl(64, 13%, 42%)
HSVhsv(64, 23%, 48%)
CMYKcmyk(1.6%, 0%, 23%, 52.2%)
CIE-LABlab(50.36, -5.84, 15.13)
CIE-LCHlch(50.36, 16.22, 111.11°)
OKLaboklab(57% -0.0148 0.0385)
OKLCHoklch(57% 0.041 111)
XYZxyz(16.7255, 18.7204, 13.3198)
Luminance0.1872 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787A5E #605E7A
analogous
#7A6E5E #787A5E #6A7A5E
triadic
#787A5E #5E787A #7A5E78
tetradic
#787A5E #5E7A6E #605E7A #7A5E6A
square
#787A5E #5E7A6E #605E7A #7A5E6A
split-complementary
#787A5E #5E6A7A #6E5E7A
monochromatic
#343529 #565743 #787A5E #989A7C #B3B49E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##787A5E#FFFFFF#000000##000000
##787A5E1.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)
#7F775C
Deuteranopia (green-blind)
#7F785F
Tritanopia (blue-blind)
#7C7772
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #787a5e;
/* rgb */ color: rgb(120, 122, 94);
/* oklch */ color: oklch(57.0% 0.041 111.0);
Tailwind
colors: {
  custom: {
    50: '#9fa08b',
    500: '#787a5e',
    950: '#000000',
  },
}
SCSS
$custom: #787a5e;
$custom-light: #9fa08b;
$custom-dark: #000000;
JSON
{
  "hex": "#787a5e",
  "rgb": {
    "r": 120,
    "g": 122,
    "b": 94
  },
  "hsl": {
    "h": 64.286,
    "s": 12.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.56998,
    "c": 0.0412,
    "h": 111
  },
  "luminance": 0.1872
}

Semantic roles & 50–950 ramp

primary
#787A5E
secondary
#9291A3
accent
#72B677
background
#F9F9F8
surface
#F2F2F0
border
#CCCCCB
text
#0E0E0C
muted
#7E7E7D

Preview Lab

Preview with #787A5E

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

Preview Lab → · Contrast checker → · Palette generator →

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