#787B60#787B60

#787B60 is a mid, muted yellow. Relative luminance 0.190; OKLCH L 57.3% C 0.040 H 112.8°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#787B60
RGBrgb(120, 123, 96)
HSLhsl(67, 12%, 43%)
HSVhsv(67, 22%, 48%)
CMYKcmyk(2.4%, 0%, 22%, 51.8%)
CIE-LABlab(50.69, -6.08, 14.43)
CIE-LCHlch(50.69, 15.66, 112.86°)
OKLaboklab(57.28% -0.0155 0.0368)
OKLCHoklch(57.28% 0.04 112.8)
XYZxyz(16.9399, 19.0036, 13.8397)
Luminance0.1900 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787B60 #63607B
analogous
#7B7060 #787B60 #6A7B60
triadic
#787B60 #60787B #7B6078
tetradic
#787B60 #607B70 #63607B #7B606A
square
#787B60 #607B70 #63607B #7B606A
split-complementary
#787B60 #606A7B #70607B
monochromatic
#35362A #565945 #787B60 #979A7E #B3B5A0

Accessibility & contrast

On white

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

On black

4.80
#787B60 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787B60
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787B60#FFFFFF#000000##000000
##787B601.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F785E
Deuteranopia (green-blind)
#7F7961
Tritanopia (blue-blind)
#7B7874
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #787b60;
/* rgb */ color: rgb(120, 123, 96);
/* oklch */ color: oklch(57.3% 0.040 112.8);
Tailwind
colors: {
  custom: {
    50: '#9fa18d',
    500: '#787b60',
    950: '#000000',
  },
}
SCSS
$custom: #787b60;
$custom-light: #9fa18d;
$custom-dark: #000000;
JSON
{
  "hex": "#787b60",
  "rgb": {
    "r": 120,
    "g": 123,
    "b": 96
  },
  "hsl": {
    "h": 66.667,
    "s": 12.329,
    "l": 42.941
  },
  "oklch": {
    "l": 0.57275,
    "c": 0.03989,
    "h": 112.8
  },
  "luminance": 0.19004
}

Semantic roles & 50–950 ramp

primary
#787B60
secondary
#9593A4
accent
#73B57A
background
#F9F9F8
surface
#F2F2F0
border
#CCCCCB
text
#0E0E0C
muted
#7E7E7D

Preview Lab

Preview with #787B60

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

Preview Lab → · Contrast checker → · Palette generator →

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