#787C50#787C50

#787C50 is a mid, moderate yellow. Relative luminance 0.190; OKLCH L 57.2% C 0.063 H 112.6°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#787C50
RGBrgb(120, 124, 80)
HSLhsl(65, 22%, 40%)
HSVhsv(65, 35%, 49%)
CMYKcmyk(3.2%, 0%, 35.5%, 51.4%)
CIE-LABlab(50.67, -9.02, 23.56)
CIE-LCHlch(50.67, 25.23, 110.94°)
OKLaboklab(57.16% -0.0243 0.0583)
OKLCHoklch(57.16% 0.063 112.6)
XYZxyz(16.4014, 18.9878, 10.3888)
Luminance0.1899 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787C50 #54507C
analogous
#7C6A50 #787C50 #627C50
triadic
#787C50 #50787C #7C5078
tetradic
#787C50 #507C6A #54507C #7C5062
square
#787C50 #507C6A #54507C #7C5062
split-complementary
#787C50 #50627C #6A507C
monochromatic
#303220 #545738 #787C50 #9A9F6A #B3B78F

Accessibility & contrast

On white

4.38
#787C50 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#787C50 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787C50
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787C50#FFFFFF#000000##000000
##787C501.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#82784D
Deuteranopia (green-blind)
#827952
Tritanopia (blue-blind)
#7D7771
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #787c50;
/* rgb */ color: rgb(120, 124, 80);
/* oklch */ color: oklch(57.2% 0.063 112.6);
Tailwind
colors: {
  custom: {
    50: '#9fa181',
    500: '#787c50',
    950: '#000000',
  },
}
SCSS
$custom: #787c50;
$custom-light: #9fa181;
$custom-dark: #000000;
JSON
{
  "hex": "#787c50",
  "rgb": {
    "r": 120,
    "g": 124,
    "b": 80
  },
  "hsl": {
    "h": 65.455,
    "s": 21.569,
    "l": 40
  },
  "oklch": {
    "l": 0.57159,
    "c": 0.0631,
    "h": 112.6
  },
  "luminance": 0.18988
}

Semantic roles & 50–950 ramp

primary
#787C50
secondary
#8784A4
accent
#6ABE71
background
#F9F9F7
surface
#F2F2EE
border
#CCCCC9
text
#0E0F0A
muted
#7E7E7C

Preview Lab

Preview with #787C50

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

Preview Lab → · Contrast checker → · Palette generator →

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