#787A4C#787A4C

#787A4C is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.6% C 0.065 H 110.4°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#787A4C
RGBrgb(120, 122, 76)
HSLhsl(63, 23%, 39%)
HSVhsv(63, 38%, 48%)
CMYKcmyk(1.6%, 0%, 37.7%, 52.2%)
CIE-LABlab(50.02, -8.43, 24.96)
CIE-LCHlch(50.02, 26.35, 108.66°)
OKLaboklab(56.62% -0.0229 0.0613)
OKLCHoklch(56.62% 0.065 110.4)
XYZxyz(16.0099, 18.4342, 9.5508)
Luminance0.1843 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787A4C #4E4C7A
analogous
#7A654C #787A4C #617A4C
triadic
#787A4C #4C787A #7A4C78
tetradic
#787A4C #4C7A65 #4E4C7A #7A4C61
square
#787A4C #4C7A65 #4E4C7A #7A4C61
split-complementary
#787A4C #4C617A #654C7A
monochromatic
#2E2F1D #535435 #787A4C #9C9F64 #B4B68A

Accessibility & contrast

On white

4.48
#787A4C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#787A4C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787A4C
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787A4C#FFFFFF#000000##000000
##787A4C1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#817649
Deuteranopia (green-blind)
#81784E
Tritanopia (blue-blind)
#7E756E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #787a4c;
/* rgb */ color: rgb(120, 122, 76);
/* oklch */ color: oklch(56.6% 0.065 110.4);
Tailwind
colors: {
  custom: {
    50: '#a0a07e',
    500: '#787a4c',
    950: '#000000',
  },
}
SCSS
$custom: #787a4c;
$custom-light: #a0a07e;
$custom-dark: #000000;
JSON
{
  "hex": "#787a4c",
  "rgb": {
    "r": 120,
    "g": 122,
    "b": 76
  },
  "hsl": {
    "h": 62.609,
    "s": 23.232,
    "l": 38.824
  },
  "oklch": {
    "l": 0.56616,
    "c": 0.06544,
    "h": 110.4
  },
  "luminance": 0.18434
}

Semantic roles & 50–950 ramp

primary
#787A4C
secondary
#817FA3
accent
#68C06C
background
#F9F9F7
surface
#F2F2EE
border
#CCCCC9
text
#0F0E0A
muted
#7E7E7C

Preview Lab

Preview with #787A4C

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

Preview Lab → · Contrast checker → · Palette generator →

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