#7C8A4A#7C8A4A

#7C8A4A is a mid, moderate yellow-green. Relative luminance 0.230; OKLCH L 60.7% C 0.090 H 119.3°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#7C8A4A
RGBrgb(124, 138, 74)
HSLhsl(73, 30%, 42%)
HSVhsv(73, 46%, 54%)
CMYKcmyk(10.1%, 0%, 46.4%, 45.9%)
CIE-LABlab(55.03, -15.67, 32.45)
CIE-LCHlch(55.03, 36.03, 115.78°)
OKLaboklab(60.68% -0.0438 0.0781)
OKLCHoklch(60.68% 0.09 119.3)
XYZxyz(18.6368, 22.9565, 9.9265)
Luminance0.2296 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8A4A #584A8A
analogous
#8A784A #7C8A4A #5C8A4A
triadic
#7C8A4A #4A7C8A #8A4A7C
tetradic
#7C8A4A #4A8A78 #584A8A #8A4A5C
square
#7C8A4A #4A8A78 #584A8A #8A4A5C
split-complementary
#7C8A4A #4A5C8A #784A8A
monochromatic
#343A1F #586235 #7C8A4A #9DAC65 #B6C28D

Accessibility & contrast

On white

3.76
#7C8A4A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#7C8A4A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8A4A
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8A4A#FFFFFF#000000##000000
##7C8A4A1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#918445
Deuteranopia (green-blind)
#90844D
Tritanopia (blue-blind)
#81847B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7c8a4a;
/* rgb */ color: rgb(124, 138, 74);
/* oklch */ color: oklch(60.7% 0.090 119.3);
Tailwind
colors: {
  custom: {
    50: '#a3ac7e',
    500: '#7c8a4a',
    950: '#000000',
  },
}
SCSS
$custom: #7c8a4a;
$custom-light: #a3ac7e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8a4a",
  "rgb": {
    "r": 124,
    "g": 138,
    "b": 74
  },
  "hsl": {
    "h": 73.125,
    "s": 30.189,
    "l": 41.569
  },
  "oklch": {
    "l": 0.60684,
    "c": 0.08957,
    "h": 119.3
  },
  "luminance": 0.22956
}

Semantic roles & 50–950 ramp

primary
#7C8A4A
secondary
#8C82AE
accent
#61C677
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#0F100A
muted
#7F7F7C

Preview Lab

Preview with #7C8A4A

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

Preview Lab → · Contrast checker → · Palette generator →

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