#788560#788560

#788560 is a mid, muted yellow-green. Relative luminance 0.216; OKLCH L 59.6% C 0.056 H 123.8°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#788560
RGBrgb(120, 133, 96)
HSLhsl(81, 16%, 45%)
HSVhsv(81, 28%, 52%)
CMYKcmyk(9.8%, 0%, 27.8%, 47.8%)
CIE-LABlab(53.61, -11.63, 18.42)
CIE-LCHlch(53.61, 21.79, 122.27°)
OKLaboklab(59.6% -0.0311 0.0465)
OKLCHoklch(59.6% 0.056 123.8)
XYZxyz(18.2443, 21.6126, 14.2746)
Luminance0.2161 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788560 #6D6085
analogous
#857F60 #788560 #668560
triadic
#788560 #607885 #856078
tetradic
#788560 #60857F #6D6085 #856066
square
#788560 #60857F #6D6085 #856066
split-complementary
#788560 #606685 #7F6085
monochromatic
#383E2D #586146 #788560 #96A37F #B4BDA3

Accessibility & contrast

On white

3.95
#788560 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#788560 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788560
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788560#FFFFFF#000000##000000
##7885601.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#89805E
Deuteranopia (green-blind)
#878062
Tritanopia (blue-blind)
#7B817B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #788560;
/* rgb */ color: rgb(120, 133, 96);
/* oklch */ color: oklch(59.6% 0.056 123.8);
Tailwind
colors: {
  custom: {
    50: '#9fa88d',
    500: '#788560',
    950: '#000000',
  },
}
SCSS
$custom: #788560;
$custom-light: #9fa88d;
$custom-dark: #000000;
JSON
{
  "hex": "#788560",
  "rgb": {
    "r": 120,
    "g": 133,
    "b": 96
  },
  "hsl": {
    "h": 81.081,
    "s": 16.157,
    "l": 44.902
  },
  "oklch": {
    "l": 0.59598,
    "c": 0.05594,
    "h": 123.8
  },
  "luminance": 0.21613
}

Semantic roles & 50–950 ramp

primary
#788560
secondary
#9D96AB
accent
#6FB989
background
#F9FAF8
surface
#F2F4F0
border
#CCCECB
text
#0E0F0C
muted
#7E7F7D

Preview Lab

Preview with #788560

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

Preview Lab → · Contrast checker → · Palette generator →

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