#787C54#787C54

#787C54 is a mid, muted yellow. Relative luminance 0.190; OKLCH L 57.2% C 0.058 H 112.9°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#787C54
RGBrgb(120, 124, 84)
HSLhsl(66, 19%, 41%)
HSVhsv(66, 32%, 49%)
CMYKcmyk(3.2%, 0%, 32.3%, 51.4%)
CIE-LABlab(50.74, -8.46, 21.39)
CIE-LCHlch(50.74, 23.01, 111.59°)
OKLaboklab(57.24% -0.0225 0.0533)
OKLCHoklch(57.24% 0.058 112.9)
XYZxyz(16.5536, 19.0487, 11.1905)
Luminance0.1905 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787C54 #58547C
analogous
#7C6C54 #787C54 #647C54
triadic
#787C54 #54787C #7C5478
tetradic
#787C54 #547C6C #58547C #7C5464
square
#787C54 #547C6C #58547C #7C5464
split-complementary
#787C54 #54647C #6C547C
monochromatic
#313323 #55583B #787C54 #999E6F #B3B694

Accessibility & contrast

On white

4.37
#787C54 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##787C54#FFFFFF#000000##000000
##787C541.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#827851
Deuteranopia (green-blind)
#827956
Tritanopia (blue-blind)
#7D7772
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #787c54;
/* rgb */ color: rgb(120, 124, 84);
/* oklch */ color: oklch(57.2% 0.058 112.9);
Tailwind
colors: {
  custom: {
    50: '#9fa184',
    500: '#787c54',
    950: '#000000',
  },
}
SCSS
$custom: #787c54;
$custom-light: #9fa184;
$custom-dark: #000000;
JSON
{
  "hex": "#787c54",
  "rgb": {
    "r": 120,
    "g": 124,
    "b": 84
  },
  "hsl": {
    "h": 66,
    "s": 19.231,
    "l": 40.784
  },
  "oklch": {
    "l": 0.57239,
    "c": 0.05785,
    "h": 112.9
  },
  "luminance": 0.19048
}

Semantic roles & 50–950 ramp

primary
#787C54
secondary
#8B88A4
accent
#6CBC74
background
#F9F9F8
surface
#F2F2EF
border
#CCCCCA
text
#0E0F0B
muted
#7E7E7C

Preview Lab

Preview with #787C54

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

Preview Lab → · Contrast checker → · Palette generator →

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