#787D5A#787D5A

#787D5A is a mid, muted yellow. Relative luminance 0.194; OKLCH L 57.6% C 0.051 H 114.6°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#787D5A
RGBrgb(120, 125, 90)
HSLhsl(69, 16%, 42%)
HSVhsv(69, 28%, 49%)
CMYKcmyk(4%, 0%, 28%, 51%)
CIE-LABlab(51.15, -8.14, 18.51)
CIE-LCHlch(51.15, 20.22, 113.75°)
OKLaboklab(57.6% -0.0214 0.0466)
OKLCHoklch(57.6% 0.051 114.6)
XYZxyz(16.9247, 19.3986, 12.5236)
Luminance0.1940 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787D5A #5F5A7D
analogous
#7D715A #787D5A #677D5A
triadic
#787D5A #5A787D #7D5A78
tetradic
#787D5A #5A7D71 #5F5A7D #7D5A67
square
#787D5A #5A7D71 #5F5A7D #7D5A67
split-complementary
#787D5A #5A677D #715A7D
monochromatic
#343627 #565940 #787D5A #989D77 #B3B79B

Accessibility & contrast

On white

4.30
#787D5A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#787D5A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787D5A
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787D5A#FFFFFF#000000##000000
##787D5A1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#827958
Deuteranopia (green-blind)
#827A5B
Tritanopia (blue-blind)
#7C7974
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #787d5a;
/* rgb */ color: rgb(120, 125, 90);
/* oklch */ color: oklch(57.6% 0.051 114.6);
Tailwind
colors: {
  custom: {
    50: '#9fa289',
    500: '#787d5a',
    950: '#000000',
  },
}
SCSS
$custom: #787d5a;
$custom-light: #9fa289;
$custom-dark: #000000;
JSON
{
  "hex": "#787d5a",
  "rgb": {
    "r": 120,
    "g": 125,
    "b": 90
  },
  "hsl": {
    "h": 68.571,
    "s": 16.279,
    "l": 42.157
  },
  "oklch": {
    "l": 0.57599,
    "c": 0.05127,
    "h": 114.6
  },
  "luminance": 0.19398
}

Semantic roles & 50–950 ramp

primary
#787D5A
secondary
#918EA5
accent
#6FB979
background
#F9F9F8
surface
#F2F2F0
border
#CCCCCB
text
#0E0F0B
muted
#7E7E7C

Preview Lab

Preview with #787D5A

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

Preview Lab → · Contrast checker → · Palette generator →

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