#787456#787456

#787456 is a mid, muted yellow. Relative luminance 0.172; OKLCH L 55.4% C 0.044 H 101.3°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#787456
RGBrgb(120, 116, 86)
HSLhsl(53, 17%, 40%)
HSVhsv(53, 28%, 47%)
CMYKcmyk(0%, 3.3%, 28.3%, 52.9%)
CIE-LABlab(48.46, -3.66, 17.18)
CIE-LCHlch(48.46, 17.56, 102.02°)
OKLaboklab(55.44% -0.0087 0.0433)
OKLCHoklch(55.44% 0.044 101.3)
XYZxyz(15.6709, 17.1560, 11.2882)
Luminance0.1716 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787456 #565A78
analogous
#786356 #787456 #6B7856
triadic
#787456 #567874 #745678
tetradic
#787456 #567863 #565A78 #78566B
square
#787456 #567863 #565A78 #78566B
split-complementary
#787456 #566B78 #635678
monochromatic
#312F23 #54523C #787456 #9A9572 #B3B095

Accessibility & contrast

On white

4.74
#787456 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#787456 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #787456
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787456#FFFFFF#000000##FFFFFF
##7874561.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A7254
Deuteranopia (green-blind)
#7B7457
Tritanopia (blue-blind)
#7D706C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #787456;
/* rgb */ color: rgb(120, 116, 86);
/* oklch */ color: oklch(55.4% 0.044 101.3);
Tailwind
colors: {
  custom: {
    50: '#9f9c85',
    500: '#787456',
    950: '#000000',
  },
}
SCSS
$custom: #787456;
$custom-light: #9f9c85;
$custom-dark: #000000;
JSON
{
  "hex": "#787456",
  "rgb": {
    "r": 120,
    "g": 116,
    "b": 86
  },
  "hsl": {
    "h": 52.941,
    "s": 16.505,
    "l": 40.392
  },
  "oklch": {
    "l": 0.55437,
    "c": 0.04417,
    "h": 101.3
  },
  "luminance": 0.17156
}

Semantic roles & 50–950 ramp

primary
#787456
secondary
#898CA1
accent
#77B96F
background
#F9F9F8
surface
#F2F2EF
border
#CCCCCA
text
#0E0E0B
muted
#7E7E7C

Preview Lab

Preview with #787456

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

Preview Lab → · Contrast checker → · Palette generator →

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