#787D50#787D50

#787D50 is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.4% C 0.065 H 113.6°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#787D50
RGBrgb(120, 125, 80)
HSLhsl(67, 22%, 40%)
HSVhsv(67, 36%, 49%)
CMYKcmyk(4%, 0%, 36%, 51%)
CIE-LABlab(50.97, -9.57, 23.95)
CIE-LCHlch(50.97, 25.79, 111.79°)
OKLaboklab(57.39% -0.0258 0.0591)
OKLCHoklch(57.39% 0.065 113.6)
XYZxyz(16.5274, 19.2397, 10.4308)
Luminance0.1924 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787D50 #55507D
analogous
#7D6B50 #787D50 #617D50
triadic
#787D50 #50787D #7D5078
tetradic
#787D50 #507D6B #55507D #7D5061
square
#787D50 #507D6B #55507D #7D5061
split-complementary
#787D50 #50617D #6B507D
monochromatic
#303220 #545838 #787D50 #9AA06A #B3B890

Accessibility & contrast

On white

4.33
#787D50 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#787D50 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787D50
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787D50#FFFFFF#000000##000000
##787D501.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#83794D
Deuteranopia (green-blind)
#837A52
Tritanopia (blue-blind)
#7D7872
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #787d50;
/* rgb */ color: rgb(120, 125, 80);
/* oklch */ color: oklch(57.4% 0.065 113.6);
Tailwind
colors: {
  custom: {
    50: '#9fa281',
    500: '#787d50',
    950: '#000000',
  },
}
SCSS
$custom: #787d50;
$custom-light: #9fa281;
$custom-dark: #000000;
JSON
{
  "hex": "#787d50",
  "rgb": {
    "r": 120,
    "g": 125,
    "b": 80
  },
  "hsl": {
    "h": 66.667,
    "s": 21.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.57392,
    "c": 0.06454,
    "h": 113.6
  },
  "luminance": 0.19239
}

Semantic roles & 50–950 ramp

primary
#787D50
secondary
#8884A5
accent
#69BE73
background
#F9F9F7
surface
#F2F2EE
border
#CCCCC9
text
#0E0F0A
muted
#7E7E7C

Preview Lab

Preview with #787D50

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

Preview Lab → · Contrast checker → · Palette generator →

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