#7C8A71#7C8A71

#7C8A71 is a mid, muted yellow-green. Relative luminance 0.237; OKLCH L 61.5% C 0.040 H 131.4°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#7C8A71
RGBrgb(124, 138, 113)
HSLhsl(94, 10%, 49%)
HSVhsv(94, 18%, 54%)
CMYKcmyk(10.1%, 0%, 18.1%, 45.9%)
CIE-LABlab(55.74, -9.95, 11.71)
CIE-LCHlch(55.74, 15.37, 130.36°)
OKLaboklab(61.49% -0.0266 0.0301)
OKLCHoklch(61.49% 0.04 131.4)
XYZxyz(20.3808, 23.6541, 19.1116)
Luminance0.2365 (WCAG relative)
Temperatureneutral
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8A71 #7F718A
analogous
#898A71 #7C8A71 #718A73
triadic
#7C8A71 #717C8A #8A717C
tetradic
#7C8A71 #71898A #7F718A #8A7371
square
#7C8A71 #71898A #7F718A #8A7371
split-complementary
#7C8A71 #73718A #8A7189
monochromatic
#40473A #5E6855 #7C8A71 #9BA692 #BAC2B4

Accessibility & contrast

On white

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

On black

5.73
#7C8A71 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8A71
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8A71#FFFFFF#000000##000000
##7C8A711.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D8670
Deuteranopia (green-blind)
#8A8572
Tritanopia (blue-blind)
#7D8883
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7c8a71;
/* rgb */ color: rgb(124, 138, 113);
/* oklch */ color: oklch(61.5% 0.040 131.4);
Tailwind
colors: {
  custom: {
    50: '#a2ac99',
    500: '#7c8a71',
    950: '#000000',
  },
}
SCSS
$custom: #7c8a71;
$custom-light: #a2ac99;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8a71",
  "rgb": {
    "r": 124,
    "g": 138,
    "b": 113
  },
  "hsl": {
    "h": 93.6,
    "s": 9.96,
    "l": 49.216
  },
  "oklch": {
    "l": 0.61485,
    "c": 0.04019,
    "h": 131.4
  },
  "luminance": 0.23654
}

Semantic roles & 50–950 ramp

primary
#7C8A71
secondary
#ACA6B1
accent
#75B398
background
#F9FAF9
surface
#F2F4F2
border
#CCCECC
text
#0F100E
muted
#7E7F7E

Preview Lab

Preview with #7C8A71

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

Preview Lab → · Contrast checker → · Palette generator →

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