#787C55#787C55

#787C55 is a mid, muted yellow. Relative luminance 0.191; OKLCH L 57.3% C 0.057 H 113.0°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#787C55
RGBrgb(120, 124, 85)
HSLhsl(66, 19%, 41%)
HSVhsv(66, 31%, 49%)
CMYKcmyk(3.2%, 0%, 31.5%, 51.4%)
CIE-LABlab(50.76, -8.32, 20.85)
CIE-LCHlch(50.76, 22.45, 111.76°)
OKLaboklab(57.26% -0.022 0.052)
OKLCHoklch(57.26% 0.057 113)
XYZxyz(16.5931, 19.0644, 11.3982)
Luminance0.1906 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787C55 #59557C
analogous
#7C6C55 #787C55 #647C55
triadic
#787C55 #55787C #7C5578
tetradic
#787C55 #557C6C #59557C #7C5564
square
#787C55 #557C6C #59557C #7C5564
split-complementary
#787C55 #55647C #6C557C
monochromatic
#323323 #55583C #787C55 #999D71 #B3B695

Accessibility & contrast

On white

4.36
#787C55 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#787C55 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787C55
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787C55#FFFFFF#000000##000000
##787C551.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#827852
Deuteranopia (green-blind)
#827957
Tritanopia (blue-blind)
#7D7872
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #787c55;
/* rgb */ color: rgb(120, 124, 85);
/* oklch */ color: oklch(57.3% 0.057 113.0);
Tailwind
colors: {
  custom: {
    50: '#9fa185',
    500: '#787c55',
    950: '#000000',
  },
}
SCSS
$custom: #787c55;
$custom-light: #9fa185;
$custom-dark: #000000;
JSON
{
  "hex": "#787c55",
  "rgb": {
    "r": 120,
    "g": 124,
    "b": 85
  },
  "hsl": {
    "h": 66.154,
    "s": 18.66,
    "l": 40.98
  },
  "oklch": {
    "l": 0.57259,
    "c": 0.05651,
    "h": 113
  },
  "luminance": 0.19064
}

Semantic roles & 50–950 ramp

primary
#787C55
secondary
#8C89A4
accent
#6CBB75
background
#F9F9F8
surface
#F2F2EF
border
#CCCCCA
text
#0E0F0B
muted
#7E7E7C

Preview Lab

Preview with #787C55

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

Preview Lab → · Contrast checker → · Palette generator →

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