#787268#787268

#787268 is a mid, near-neutral grey. Relative luminance 0.170; OKLCH L 55.4% C 0.017 H 80.7°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#787268
RGBrgb(120, 114, 104)
HSLhsl(38, 7%, 44%)
HSVhsv(38, 13%, 47%)
CMYKcmyk(0%, 5%, 13.3%, 52.9%)
CIE-LABlab(48.29, 0.44, 6.37)
CIE-LCHlch(48.29, 6.39, 86.04°)
OKLaboklab(55.45% 0.0027 0.0166)
OKLCHoklch(55.45% 0.017 80.7)
XYZxyz(16.2615, 17.0274, 15.5240)
Luminance0.1703 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787268 #686E78
analogous
#786A68 #787268 #767868
triadic
#787268 #687872 #726878
tetradic
#787268 #68786A #686E78 #786876
square
#787268 #68786A #686E78 #786876
split-complementary
#787268 #687678 #6A6878
monochromatic
#36342F #57534C #787268 #979187 #B3AFA7

Accessibility & contrast

On white

4.77
#787268 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#787268 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #787268
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787268#FFFFFF#000000##FFFFFF
##7872681.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#757267
Deuteranopia (green-blind)
#767368
Tritanopia (blue-blind)
#7B706F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #787268;
/* rgb */ color: rgb(120, 114, 104);
/* oklch */ color: oklch(55.4% 0.017 80.7);
Tailwind
colors: {
  custom: {
    50: '#9f9a93',
    500: '#787268',
    950: '#000000',
  },
}
SCSS
$custom: #787268;
$custom-light: #9f9a93;
$custom-dark: #000000;
JSON
{
  "hex": "#787268",
  "rgb": {
    "r": 120,
    "g": 114,
    "b": 104
  },
  "hsl": {
    "h": 37.5,
    "s": 7.143,
    "l": 43.922
  },
  "oklch": {
    "l": 0.55445,
    "c": 0.01684,
    "h": 80.7
  },
  "luminance": 0.17027
}

Semantic roles & 50–950 ramp

primary
#787268
secondary
#999DA3
accent
#8DB078
background
#F9F9F9
surface
#F2F2F1
border
#CCCCCB
text
#0E0E0D
muted
#7E7E7E

Preview Lab

Preview with #787268

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

Preview Lab → · Contrast checker → · Palette generator →

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