#787A4B#787A4B

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

Color values

HEX#787A4B
RGBrgb(120, 122, 75)
HSLhsl(63, 24%, 39%)
HSVhsv(63, 39%, 48%)
CMYKcmyk(1.6%, 0%, 38.5%, 52.2%)
CIE-LABlab(50.00, -8.56, 25.50)
CIE-LCHlch(50.00, 26.90, 108.55°)
OKLaboklab(56.6% -0.0233 0.0625)
OKLCHoklch(56.6% 0.067 110.4)
XYZxyz(15.9754, 18.4204, 9.3692)
Luminance0.1842 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787A4B #4D4B7A
analogous
#7A644B #787A4B #607A4B
triadic
#787A4B #4B787A #7A4B78
tetradic
#787A4B #4B7A64 #4D4B7A #7A4B60
square
#787A4B #4B7A64 #4D4B7A #7A4B60
split-complementary
#787A4B #4B607A #644B7A
monochromatic
#2D2E1C #535434 #787A4B #9D9F63 #B5B689

Accessibility & contrast

On white

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

On black

4.68
#787A4B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787A4B
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787A4B#FFFFFF#000000##000000
##787A4B1.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #787a4b;
/* rgb */ color: rgb(120, 122, 75);
/* oklch */ color: oklch(56.6% 0.067 110.4);
Tailwind
colors: {
  custom: {
    50: '#a0a07e',
    500: '#787a4b',
    950: '#000000',
  },
}
SCSS
$custom: #787a4b;
$custom-light: #a0a07e;
$custom-dark: #000000;
JSON
{
  "hex": "#787a4b",
  "rgb": {
    "r": 120,
    "g": 122,
    "b": 75
  },
  "hsl": {
    "h": 62.553,
    "s": 23.858,
    "l": 38.627
  },
  "oklch": {
    "l": 0.56598,
    "c": 0.06671,
    "h": 110.4
  },
  "luminance": 0.1842
}

Semantic roles & 50–950 ramp

primary
#787A4B
secondary
#7F7EA3
accent
#67C06B
background
#F9F9F7
surface
#F2F2EE
border
#CCCCC9
text
#0F0E0A
muted
#7E7E7C

Preview Lab

Preview with #787A4B

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

Preview Lab → · Contrast checker → · Palette generator →

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