#7C8A74#7C8A74

#7C8A74 is a mid, muted yellow-green. Relative luminance 0.237; OKLCH L 61.6% C 0.036 H 134.1°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#7C8A74
RGBrgb(124, 138, 116)
HSLhsl(98, 9%, 50%)
HSVhsv(98, 16%, 54%)
CMYKcmyk(10.1%, 0%, 15.9%, 45.9%)
CIE-LABlab(55.81, -9.41, 10.09)
CIE-LCHlch(55.81, 13.80, 133.01°)
OKLaboklab(61.56% -0.0253 0.0261)
OKLCHoklch(61.56% 0.036 134.1)
XYZxyz(20.5525, 23.7228, 20.0158)
Luminance0.2372 (WCAG relative)
Temperatureneutral
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8A74 #82748A
analogous
#878A74 #7C8A74 #748A77
triadic
#7C8A74 #747C8A #8A747C
tetradic
#7C8A74 #74878A #82748A #8A7774
square
#7C8A74 #74878A #82748A #8A7774
split-complementary
#7C8A74 #77748A #8A7487
monochromatic
#40473C #5E6958 #7C8A74 #9BA695 #BBC2B6

Accessibility & contrast

On white

3.66
#7C8A74 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#7C8A74 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8A74
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8A74#FFFFFF#000000##000000
##7C8A741.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C8673
Deuteranopia (green-blind)
#8A8575
Tritanopia (blue-blind)
#7C8884
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7c8a74;
/* rgb */ color: rgb(124, 138, 116);
/* oklch */ color: oklch(61.6% 0.036 134.1);
Tailwind
colors: {
  custom: {
    50: '#a2ac9c',
    500: '#7c8a74',
    950: '#000000',
  },
}
SCSS
$custom: #7c8a74;
$custom-light: #a2ac9c;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8a74",
  "rgb": {
    "r": 124,
    "g": 138,
    "b": 116
  },
  "hsl": {
    "h": 98.182,
    "s": 8.661,
    "l": 49.804
  },
  "oklch": {
    "l": 0.61563,
    "c": 0.03629,
    "h": 134.1
  },
  "luminance": 0.23723
}

Semantic roles & 50–950 ramp

primary
#7C8A74
secondary
#AEA8B2
accent
#76B29C
background
#F9FAF9
surface
#F2F4F2
border
#CCCECC
text
#0F100E
muted
#7E7F7E

Preview Lab

Preview with #7C8A74

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

Preview Lab → · Contrast checker → · Palette generator →

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