#7C8A78#7C8A78

#7C8A78 is a mid, muted grey. Relative luminance 0.238; OKLCH L 61.7% C 0.031 H 138.7°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#7C8A78
RGBrgb(124, 138, 120)
HSLhsl(107, 7%, 51%)
HSVhsv(107, 13%, 54%)
CMYKcmyk(10.1%, 0%, 13%, 45.9%)
CIE-LABlab(55.91, -8.67, 7.93)
CIE-LCHlch(55.91, 11.75, 137.56°)
OKLaboklab(61.67% -0.0234 0.0206)
OKLCHoklch(61.67% 0.031 138.7)
XYZxyz(20.7902, 23.8179, 21.2677)
Luminance0.2382 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8A78 #86788A
analogous
#858A78 #7C8A78 #788A7D
triadic
#7C8A78 #787C8A #8A787C
tetradic
#7C8A78 #78858A #86788A #8A7D78
square
#7C8A78 #78858A #86788A #8A7D78
split-complementary
#7C8A78 #7D788A #8A7885
monochromatic
#41493F #5E695B #7C8A78 #9CA699 #BCC3BA

Accessibility & contrast

On white

3.64
#7C8A78 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#7C8A78 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8A78
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8A78#FFFFFF#000000##000000
##7C8A781.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B8777
Deuteranopia (green-blind)
#898579
Tritanopia (blue-blind)
#7C8985
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7c8a78;
/* rgb */ color: rgb(124, 138, 120);
/* oklch */ color: oklch(61.7% 0.031 138.7);
Tailwind
colors: {
  custom: {
    50: '#a2ac9f',
    500: '#7c8a78',
    950: '#000000',
  },
}
SCSS
$custom: #7c8a78;
$custom-light: #a2ac9f;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8a78",
  "rgb": {
    "r": 124,
    "g": 138,
    "b": 120
  },
  "hsl": {
    "h": 106.667,
    "s": 7.143,
    "l": 50.588
  },
  "oklch": {
    "l": 0.61671,
    "c": 0.0312,
    "h": 138.7
  },
  "luminance": 0.23818
}

Semantic roles & 50–950 ramp

primary
#7C8A78
secondary
#B1ABB3
accent
#78B0A4
background
#F9FAF9
surface
#F2F4F2
border
#CCCECC
text
#0F100E
muted
#7E7F7E

Preview Lab

Preview with #7C8A78

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

Preview Lab → · Contrast checker → · Palette generator →

#7C8A78 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva