#7C8D4A#7C8D4A

#7C8D4A is a mid, moderate yellow-green. Relative luminance 0.238; OKLCH L 61.4% C 0.094 H 120.9°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#7C8D4A
RGBrgb(124, 141, 74)
HSLhsl(75, 31%, 42%)
HSVhsv(75, 48%, 55%)
CMYKcmyk(12.1%, 0%, 47.5%, 44.7%)
CIE-LABlab(55.92, -17.26, 33.54)
CIE-LCHlch(55.92, 37.72, 117.22°)
OKLaboklab(61.4% -0.0483 0.0806)
OKLCHoklch(61.4% 0.094 120.9)
XYZxyz(19.0732, 23.8293, 10.0719)
Luminance0.2383 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8D4A #5B4A8D
analogous
#8D7D4A #7C8D4A #5B8D4A
triadic
#7C8D4A #4A7C8D #8D4A7C
tetradic
#7C8D4A #4A8D7D #5B4A8D #8D4A5B
square
#7C8D4A #4A8D7D #5B4A8D #8D4A5B
split-complementary
#7C8D4A #4A5B8D #7D4A8D
monochromatic
#353D20 #596535 #7C8D4A #9CAF66 #B6C48E

Accessibility & contrast

On white

3.64
#7C8D4A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#7C8D4A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8D4A
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8D4A#FFFFFF#000000##000000
##7C8D4A1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#948644
Deuteranopia (green-blind)
#92864E
Tritanopia (blue-blind)
#81877D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7c8d4a;
/* rgb */ color: rgb(124, 141, 74);
/* oklch */ color: oklch(61.4% 0.094 120.9);
Tailwind
colors: {
  custom: {
    50: '#a3ae7e',
    500: '#7c8d4a',
    950: '#000000',
  },
}
SCSS
$custom: #7c8d4a;
$custom-light: #a3ae7e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8d4a",
  "rgb": {
    "r": 124,
    "g": 141,
    "b": 74
  },
  "hsl": {
    "h": 75.224,
    "s": 31.163,
    "l": 42.157
  },
  "oklch": {
    "l": 0.61396,
    "c": 0.09392,
    "h": 120.9
  },
  "luminance": 0.23829
}

Semantic roles & 50–950 ramp

primary
#7C8D4A
secondary
#8E83B0
accent
#60C77B
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#0F100A
muted
#7F7F7C

Preview Lab

Preview with #7C8D4A

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

Preview Lab → · Contrast checker → · Palette generator →

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