#7C8A70#7C8A70

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

Color values

HEX#7C8A70
RGBrgb(124, 138, 112)
HSLhsl(92, 10%, 49%)
HSVhsv(92, 19%, 54%)
CMYKcmyk(10.1%, 0%, 18.8%, 45.9%)
CIE-LABlab(55.72, -10.13, 12.25)
CIE-LCHlch(55.72, 15.89, 129.59°)
OKLaboklab(61.46% -0.027 0.0315)
OKLCHoklch(61.46% 0.042 130.7)
XYZxyz(20.3248, 23.6317, 18.8167)
Luminance0.2363 (WCAG relative)
Temperatureneutral
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8A70 #7E708A
analogous
#898A70 #7C8A70 #708A71
triadic
#7C8A70 #707C8A #8A707C
tetradic
#7C8A70 #70898A #7E708A #8A7170
square
#7C8A70 #70898A #7E708A #8A7170
split-complementary
#7C8A70 #71708A #8A7089
monochromatic
#3F4639 #5E6855 #7C8A70 #9BA691 #BAC1B3

Accessibility & contrast

On white

3.67
#7C8A70 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C8A70#FFFFFF#000000##000000
##7C8A701.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D866F
Deuteranopia (green-blind)
#8A8571
Tritanopia (blue-blind)
#7D8883
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7c8a70;
/* rgb */ color: rgb(124, 138, 112);
/* oklch */ color: oklch(61.5% 0.042 130.7);
Tailwind
colors: {
  custom: {
    50: '#a2ac99',
    500: '#7c8a70',
    950: '#000000',
  },
}
SCSS
$custom: #7c8a70;
$custom-light: #a2ac99;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8a70",
  "rgb": {
    "r": 124,
    "g": 138,
    "b": 112
  },
  "hsl": {
    "h": 92.308,
    "s": 10.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.6146,
    "c": 0.0415,
    "h": 130.7
  },
  "luminance": 0.23632
}

Semantic roles & 50–950 ramp

primary
#7C8A70
secondary
#ABA5B1
accent
#74B396
background
#F9FAF9
surface
#F2F4F2
border
#CCCECC
text
#0F100D
muted
#7E7F7E

Preview Lab

Preview with #7C8A70

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

Preview Lab → · Contrast checker → · Palette generator →

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