#7C8A5E#7C8A5E

#7C8A5E is a mid, moderate yellow-green. Relative luminance 0.233; OKLCH L 61.0% C 0.065 H 122.7°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#7C8A5E
RGBrgb(124, 138, 94)
HSLhsl(79, 19%, 45%)
HSVhsv(79, 32%, 54%)
CMYKcmyk(10.1%, 0%, 31.9%, 45.9%)
CIE-LABlab(55.35, -13.04, 21.94)
CIE-LCHlch(55.35, 25.52, 120.74°)
OKLaboklab(61.05% -0.0352 0.0548)
OKLCHoklch(61.05% 0.065 122.7)
XYZxyz(19.4209, 23.2702, 14.0560)
Luminance0.2327 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8A5E #6C5E8A
analogous
#8A825E #7C8A5E #668A5E
triadic
#7C8A5E #5E7C8A #8A5E7C
tetradic
#7C8A5E #5E8A82 #6C5E8A #8A5E66
square
#7C8A5E #5E8A82 #6C5E8A #8A5E66
split-complementary
#7C8A5E #5E668A #825E8A
monochromatic
#3B412C #5B6645 #7C8A5E #9AA77E #B7C0A2

Accessibility & contrast

On white

3.71
#7C8A5E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#7C8A5E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8A5E
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8A5E#FFFFFF#000000##000000
##7C8A5E1.003.715.655.65
#FFFFFF3.711.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F855B
Deuteranopia (green-blind)
#8D8560
Tritanopia (blue-blind)
#7F867F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7c8a5e;
/* rgb */ color: rgb(124, 138, 94);
/* oklch */ color: oklch(61.0% 0.065 122.7);
Tailwind
colors: {
  custom: {
    50: '#a2ac8c',
    500: '#7c8a5e',
    950: '#000000',
  },
}
SCSS
$custom: #7c8a5e;
$custom-light: #a2ac8c;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8a5e",
  "rgb": {
    "r": 124,
    "g": 138,
    "b": 94
  },
  "hsl": {
    "h": 79.091,
    "s": 18.966,
    "l": 45.49
  },
  "oklch": {
    "l": 0.61046,
    "c": 0.06515,
    "h": 122.7
  },
  "luminance": 0.2327
}

Semantic roles & 50–950 ramp

primary
#7C8A5E
secondary
#9D96AE
accent
#6CBC85
background
#FAFAF8
surface
#F3F4F0
border
#CDCECB
text
#0F100C
muted
#7F7F7D

Preview Lab

Preview with #7C8A5E

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

Preview Lab → · Contrast checker → · Palette generator →

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