#7C8A6C#7C8A6C

#7C8A6C is a mid, muted yellow-green. Relative luminance 0.235; OKLCH L 61.4% C 0.047 H 128.1°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#7C8A6C
RGBrgb(124, 138, 108)
HSLhsl(88, 12%, 48%)
HSVhsv(88, 22%, 54%)
CMYKcmyk(10.1%, 0%, 21.7%, 45.9%)
CIE-LABlab(55.63, -10.82, 14.41)
CIE-LCHlch(55.63, 18.02, 126.91°)
OKLaboklab(61.36% -0.0288 0.0368)
OKLCHoklch(61.36% 0.047 128.1)
XYZxyz(20.1070, 23.5446, 17.6697)
Luminance0.2354 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8A6C #7A6C8A
analogous
#8A896C #7C8A6C #6D8A6C
triadic
#7C8A6C #6C7C8A #8A6C7C
tetradic
#7C8A6C #6C8A89 #7A6C8A #8A6C6D
square
#7C8A6C #6C8A89 #7A6C8A #8A6C6D
split-complementary
#7C8A6C #6C6D8A #896C8A
monochromatic
#3E4536 #5D6851 #7C8A6C #9AA68D #B9C1B0

Accessibility & contrast

On white

3.68
#7C8A6C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#7C8A6C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8A6C
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8A6C#FFFFFF#000000##000000
##7C8A6C1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D866A
Deuteranopia (green-blind)
#8B856D
Tritanopia (blue-blind)
#7D8782
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7c8a6c;
/* rgb */ color: rgb(124, 138, 108);
/* oklch */ color: oklch(61.4% 0.047 128.1);
Tailwind
colors: {
  custom: {
    50: '#a2ac96',
    500: '#7c8a6c',
    950: '#000000',
  },
}
SCSS
$custom: #7c8a6c;
$custom-light: #a2ac96;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8a6c",
  "rgb": {
    "r": 124,
    "g": 138,
    "b": 108
  },
  "hsl": {
    "h": 88,
    "s": 12.195,
    "l": 48.235
  },
  "oklch": {
    "l": 0.61361,
    "c": 0.04678,
    "h": 128.1
  },
  "luminance": 0.23545
}

Semantic roles & 50–950 ramp

primary
#7C8A6C
secondary
#A8A2B0
accent
#73B592
background
#F9FAF9
surface
#F2F4F2
border
#CCCECC
text
#0F100D
muted
#7E7F7E

Preview Lab

Preview with #7C8A6C

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

Preview Lab → · Contrast checker → · Palette generator →

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