#787356#787356

#787356 is a mid, muted yellow. Relative luminance 0.169; OKLCH L 55.2% C 0.043 H 99.4°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#787356
RGBrgb(120, 115, 86)
HSLhsl(51, 17%, 40%)
HSVhsv(51, 28%, 47%)
CMYKcmyk(0%, 4.2%, 28.3%, 52.9%)
CIE-LABlab(48.17, -3.08, 16.79)
CIE-LCHlch(48.17, 17.07, 100.41°)
OKLaboklab(55.21% -0.007 0.0424)
OKLCHoklch(55.21% 0.043 99.4)
XYZxyz(15.5562, 16.9267, 11.2500)
Luminance0.1693 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787356 #565B78
analogous
#786256 #787356 #6C7856
triadic
#787356 #567873 #735678
tetradic
#787356 #567862 #565B78 #78566C
square
#787356 #567862 #565B78 #78566C
split-complementary
#787356 #566C78 #625678
monochromatic
#312F23 #54513C #787356 #9A9472 #B3AF95

Accessibility & contrast

On white

4.79
#787356 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#787356 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #787356
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787356#FFFFFF#000000##FFFFFF
##7873561.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#797154
Deuteranopia (green-blind)
#7A7357
Tritanopia (blue-blind)
#7D6F6B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #787356;
/* rgb */ color: rgb(120, 115, 86);
/* oklch */ color: oklch(55.2% 0.043 99.4);
Tailwind
colors: {
  custom: {
    50: '#9f9b85',
    500: '#787356',
    950: '#000000',
  },
}
SCSS
$custom: #787356;
$custom-light: #9f9b85;
$custom-dark: #000000;
JSON
{
  "hex": "#787356",
  "rgb": {
    "r": 120,
    "g": 115,
    "b": 86
  },
  "hsl": {
    "h": 51.176,
    "s": 16.505,
    "l": 40.392
  },
  "oklch": {
    "l": 0.55209,
    "c": 0.04295,
    "h": 99.4
  },
  "luminance": 0.16926
}

Semantic roles & 50–950 ramp

primary
#787356
secondary
#898CA1
accent
#7AB96F
background
#F9F9F8
surface
#F2F2EF
border
#CCCCCA
text
#0E0E0B
muted
#7E7E7C

Preview Lab

Preview with #787356

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

Preview Lab → · Contrast checker → · Palette generator →

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