#787C49#787C49

#787C49 is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 57.0% C 0.072 H 112.3°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#787C49
RGBrgb(120, 124, 73)
HSLhsl(65, 26%, 39%)
HSVhsv(65, 41%, 49%)
CMYKcmyk(3.2%, 0%, 41.1%, 51.4%)
CIE-LABlab(50.56, -9.92, 27.32)
CIE-LCHlch(50.56, 29.07, 109.95°)
OKLaboklab(57.03% -0.0273 0.0666)
OKLCHoklch(57.03% 0.072 112.3)
XYZxyz(16.1561, 18.8897, 9.0970)
Luminance0.1889 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787C49 #4D497C
analogous
#7C6649 #787C49 #5E7C49
triadic
#787C49 #49787C #7C4978
tetradic
#787C49 #497C66 #4D497C #7C495E
square
#787C49 #497C66 #4D497C #7C495E
split-complementary
#787C49 #495E7C #66497C
monochromatic
#2D2F1C #535532 #787C49 #9DA261 #B5B887

Accessibility & contrast

On white

4.40
#787C49 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#787C49 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787C49
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787C49#FFFFFF#000000##000000
##787C491.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#837845
Deuteranopia (green-blind)
#83794B
Tritanopia (blue-blind)
#7E766F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #787c49;
/* rgb */ color: rgb(120, 124, 73);
/* oklch */ color: oklch(57.0% 0.072 112.3);
Tailwind
colors: {
  custom: {
    50: '#a0a17c',
    500: '#787c49',
    950: '#000000',
  },
}
SCSS
$custom: #787c49;
$custom-light: #a0a17c;
$custom-dark: #000000;
JSON
{
  "hex": "#787c49",
  "rgb": {
    "r": 120,
    "g": 124,
    "b": 73
  },
  "hsl": {
    "h": 64.706,
    "s": 25.888,
    "l": 38.627
  },
  "oklch": {
    "l": 0.5703,
    "c": 0.07196,
    "h": 112.3
  },
  "luminance": 0.18889
}

Semantic roles & 50–950 ramp

primary
#787C49
secondary
#807CA4
accent
#66C26D
background
#F9F9F7
surface
#F2F2EE
border
#CCCCC9
text
#0F0F09
muted
#7E7E7B

Preview Lab

Preview with #787C49

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

Preview Lab → · Contrast checker → · Palette generator →

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