#787A4A#787A4A

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

Color values

HEX#787A4A
RGBrgb(120, 122, 74)
HSLhsl(63, 24%, 38%)
HSVhsv(63, 39%, 48%)
CMYKcmyk(1.6%, 0%, 39.3%, 52.2%)
CIE-LABlab(49.99, -8.68, 26.04)
CIE-LCHlch(49.99, 27.45, 108.44°)
OKLaboklab(56.58% -0.0237 0.0637)
OKLCHoklch(56.58% 0.068 110.4)
XYZxyz(15.9415, 18.4068, 9.1903)
Luminance0.1841 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787A4A #4C4A7A
analogous
#7A644A #787A4A #607A4A
triadic
#787A4A #4A787A #7A4A78
tetradic
#787A4A #4A7A64 #4C4A7A #7A4A60
square
#787A4A #4A7A64 #4C4A7A #7A4A60
split-complementary
#787A4A #4A607A #644A7A
monochromatic
#2D2E1C #535433 #787A4A #9DA062 #B5B788

Accessibility & contrast

On white

4.49
#787A4A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##787A4A#FFFFFF#000000##000000
##787A4A1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #787a4a;
/* rgb */ color: rgb(120, 122, 74);
/* oklch */ color: oklch(56.6% 0.068 110.4);
Tailwind
colors: {
  custom: {
    50: '#a0a07d',
    500: '#787a4a',
    950: '#000000',
  },
}
SCSS
$custom: #787a4a;
$custom-light: #a0a07d;
$custom-dark: #000000;
JSON
{
  "hex": "#787a4a",
  "rgb": {
    "r": 120,
    "g": 122,
    "b": 74
  },
  "hsl": {
    "h": 62.5,
    "s": 24.49,
    "l": 38.431
  },
  "oklch": {
    "l": 0.5658,
    "c": 0.06797,
    "h": 110.4
  },
  "luminance": 0.18407
}

Semantic roles & 50–950 ramp

primary
#787A4A
secondary
#7E7DA3
accent
#67C16B
background
#F9F9F7
surface
#F2F2EE
border
#CCCCC9
text
#0F0E09
muted
#7E7E7B

Preview Lab

Preview with #787A4A

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

Preview Lab → · Contrast checker → · Palette generator →

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