#7C8A5D#7C8A5D

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

Color values

HEX#7C8A5D
RGBrgb(124, 138, 93)
HSLhsl(79, 19%, 45%)
HSVhsv(79, 33%, 54%)
CMYKcmyk(10.1%, 0%, 32.6%, 45.9%)
CIE-LABlab(55.33, -13.19, 22.47)
CIE-LCHlch(55.33, 26.06, 120.41°)
OKLaboklab(61.03% -0.0356 0.0561)
OKLCHoklch(61.03% 0.066 122.4)
XYZxyz(19.3763, 23.2523, 13.8212)
Luminance0.2325 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8A5D #6B5D8A
analogous
#8A825D #7C8A5D #658A5D
triadic
#7C8A5D #5D7C8A #8A5D7C
tetradic
#7C8A5D #5D8A82 #6B5D8A #8A5D65
square
#7C8A5D #5D8A82 #6B5D8A #8A5D65
split-complementary
#7C8A5D #5D658A #825D8A
monochromatic
#3A412C #5B6544 #7C8A5D #9AA77D #B6C0A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C8A5D#FFFFFF#000000##000000
##7C8A5D1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F855A
Deuteranopia (green-blind)
#8D845F
Tritanopia (blue-blind)
#7F867E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7c8a5d;
/* rgb */ color: rgb(124, 138, 93);
/* oklch */ color: oklch(61.0% 0.066 122.4);
Tailwind
colors: {
  custom: {
    50: '#a2ac8b',
    500: '#7c8a5d',
    950: '#000000',
  },
}
SCSS
$custom: #7c8a5d;
$custom-light: #a2ac8b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8a5d",
  "rgb": {
    "r": 124,
    "g": 138,
    "b": 93
  },
  "hsl": {
    "h": 78.667,
    "s": 19.481,
    "l": 45.294
  },
  "oklch": {
    "l": 0.61026,
    "c": 0.06643,
    "h": 122.4
  },
  "luminance": 0.23252
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C8A5D

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

Preview Lab → · Contrast checker → · Palette generator →

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