#7C8A6E#7C8A6E

#7C8A6E is a mid, muted yellow-green. Relative luminance 0.236; OKLCH L 61.4% C 0.044 H 129.3°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#7C8A6E
RGBrgb(124, 138, 110)
HSLhsl(90, 11%, 49%)
HSVhsv(90, 20%, 54%)
CMYKcmyk(10.1%, 0%, 20.3%, 45.9%)
CIE-LABlab(55.67, -10.48, 13.33)
CIE-LCHlch(55.67, 16.95, 128.17°)
OKLaboklab(61.41% -0.0279 0.0342)
OKLCHoklch(61.41% 0.044 129.3)
XYZxyz(20.2147, 23.5877, 18.2367)
Luminance0.2359 (WCAG relative)
Temperatureneutral
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8A6E #7C6E8A
analogous
#8A8A6E #7C8A6E #6E8A6E
triadic
#7C8A6E #6E7C8A #8A6E7C
tetradic
#7C8A6E #6E8A8A #7C6E8A #8A6E6E
square
#7C8A6E #6E8A8A #7C6E8A #8A6E6E
split-complementary
#7C8A6E #6E6E8A #8A6E8A
monochromatic
#3F4638 #5D6853 #7C8A6E #9BA68F #B9C1B1

Accessibility & contrast

On white

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

On black

5.72
#7C8A6E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8A6E
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8A6E#FFFFFF#000000##000000
##7C8A6E1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c8a6e;
/* rgb */ color: rgb(124, 138, 110);
/* oklch */ color: oklch(61.4% 0.044 129.3);
Tailwind
colors: {
  custom: {
    50: '#a2ac97',
    500: '#7c8a6e',
    950: '#000000',
  },
}
SCSS
$custom: #7c8a6e;
$custom-light: #a2ac97;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8a6e",
  "rgb": {
    "r": 124,
    "g": 138,
    "b": 110
  },
  "hsl": {
    "h": 90,
    "s": 11.29,
    "l": 48.627
  },
  "oklch": {
    "l": 0.6141,
    "c": 0.04414,
    "h": 129.3
  },
  "luminance": 0.23588
}

Semantic roles & 50–950 ramp

primary
#7C8A6E
secondary
#AAA3B1
accent
#74B494
background
#F9FAF9
surface
#F2F4F2
border
#CCCECC
text
#0F100D
muted
#7E7F7E

Preview Lab

Preview with #7C8A6E

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

Preview Lab → · Contrast checker → · Palette generator →

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