#787656#787656

#787656 is a mid, muted yellow. Relative luminance 0.176; OKLCH L 55.9% C 0.047 H 104.8°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#787656
RGBrgb(120, 118, 86)
HSLhsl(56, 17%, 40%)
HSVhsv(56, 28%, 47%)
CMYKcmyk(0%, 1.7%, 28.3%, 52.9%)
CIE-LABlab(49.03, -4.80, 17.96)
CIE-LCHlch(49.03, 18.59, 104.96°)
OKLaboklab(55.9% -0.0119 0.0452)
OKLCHoklch(55.9% 0.047 104.8)
XYZxyz(15.9039, 17.6221, 11.3659)
Luminance0.1762 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787656 #565878
analogous
#786556 #787656 #697856
triadic
#787656 #567876 #765678
tetradic
#787656 #567865 #565878 #785669
square
#787656 #567865 #565878 #785669
split-complementary
#787656 #566978 #655678
monochromatic
#313023 #54533C #787656 #9A9772 #B3B195

Accessibility & contrast

On white

4.64
#787656 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#787656 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #787656
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787656#FFFFFF#000000##FFFFFF
##7876561.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C7454
Deuteranopia (green-blind)
#7D7557
Tritanopia (blue-blind)
#7D726D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #787656;
/* rgb */ color: rgb(120, 118, 86);
/* oklch */ color: oklch(55.9% 0.047 104.8);
Tailwind
colors: {
  custom: {
    50: '#9f9d86',
    500: '#787656',
    950: '#000000',
  },
}
SCSS
$custom: #787656;
$custom-light: #9f9d86;
$custom-dark: #000000;
JSON
{
  "hex": "#787656",
  "rgb": {
    "r": 120,
    "g": 118,
    "b": 86
  },
  "hsl": {
    "h": 56.471,
    "s": 16.505,
    "l": 40.392
  },
  "oklch": {
    "l": 0.55895,
    "c": 0.04674,
    "h": 104.8
  },
  "luminance": 0.17622
}

Semantic roles & 50–950 ramp

primary
#787656
secondary
#898AA1
accent
#73B96F
background
#F9F9F8
surface
#F2F2EF
border
#CCCCCA
text
#0E0E0B
muted
#7E7E7C

Preview Lab

Preview with #787656

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

Preview Lab → · Contrast checker → · Palette generator →

#787656 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva