#7C8A5B#7C8A5B

#7C8A5B is a mid, moderate yellow-green. Relative luminance 0.232; OKLCH L 61.0% C 0.069 H 121.9°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#7C8A5B
RGBrgb(124, 138, 91)
HSLhsl(78, 21%, 45%)
HSVhsv(78, 34%, 54%)
CMYKcmyk(10.1%, 0%, 34.1%, 45.9%)
CIE-LABlab(55.30, -13.48, 23.54)
CIE-LCHlch(55.30, 27.13, 119.80°)
OKLaboklab(60.99% -0.0365 0.0585)
OKLCHoklch(60.99% 0.069 121.9)
XYZxyz(19.2889, 23.2174, 13.3607)
Luminance0.2322 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8A5B #695B8A
analogous
#8A805B #7C8A5B #658A5B
triadic
#7C8A5B #5B7C8A #8A5B7C
tetradic
#7C8A5B #5B8A80 #695B8A #8A5B65
square
#7C8A5B #5B8A80 #695B8A #8A5B65
split-complementary
#7C8A5B #5B658A #805B8A
monochromatic
#3A402A #5B6543 #7C8A5B #9AA87B #B6C09F

Accessibility & contrast

On white

3.72
#7C8A5B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#7C8A5B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8A5B
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8A5B#FFFFFF#000000##000000
##7C8A5B1.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8558
Deuteranopia (green-blind)
#8E845D
Tritanopia (blue-blind)
#80857E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7c8a5b;
/* rgb */ color: rgb(124, 138, 91);
/* oklch */ color: oklch(61.0% 0.069 121.9);
Tailwind
colors: {
  custom: {
    50: '#a2ac8a',
    500: '#7c8a5b',
    950: '#000000',
  },
}
SCSS
$custom: #7c8a5b;
$custom-light: #a2ac8a;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8a5b",
  "rgb": {
    "r": 124,
    "g": 138,
    "b": 91
  },
  "hsl": {
    "h": 77.872,
    "s": 20.524,
    "l": 44.902
  },
  "oklch": {
    "l": 0.60985,
    "c": 0.06899,
    "h": 121.9
  },
  "luminance": 0.23217
}

Semantic roles & 50–950 ramp

primary
#7C8A5B
secondary
#9B93AE
accent
#6BBD83
background
#FAFAF8
surface
#F3F4F0
border
#CDCECB
text
#0F100B
muted
#7F7F7C

Preview Lab

Preview with #7C8A5B

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

Preview Lab → · Contrast checker → · Palette generator →

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