#7C8A4C#7C8A4C

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

Color values

HEX#7C8A4C
RGBrgb(124, 138, 76)
HSLhsl(74, 29%, 42%)
HSVhsv(74, 45%, 54%)
CMYKcmyk(10.1%, 0%, 44.9%, 45.9%)
CIE-LABlab(55.06, -15.44, 31.42)
CIE-LCHlch(55.06, 35.01, 116.17°)
OKLaboklab(60.72% -0.043 0.076)
OKLCHoklch(60.72% 0.087 119.5)
XYZxyz(18.7052, 22.9839, 10.2870)
Luminance0.2298 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8A4C #5A4C8A
analogous
#8A794C #7C8A4C #5D8A4C
triadic
#7C8A4C #4C7C8A #8A4C7C
tetradic
#7C8A4C #4C8A79 #5A4C8A #8A4C5D
square
#7C8A4C #4C8A79 #5A4C8A #8A4C5D
split-complementary
#7C8A4C #4C5D8A #794C8A
monochromatic
#353B21 #596336 #7C8A4C #9CAC68 #B6C18F

Accessibility & contrast

On white

3.75
#7C8A4C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#7C8A4C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8A4C
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8A4C#FFFFFF#000000##000000
##7C8A4C1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#918447
Deuteranopia (green-blind)
#8F844F
Tritanopia (blue-blind)
#81847B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7c8a4c;
/* rgb */ color: rgb(124, 138, 76);
/* oklch */ color: oklch(60.7% 0.087 119.5);
Tailwind
colors: {
  custom: {
    50: '#a3ac7f',
    500: '#7c8a4c',
    950: '#000000',
  },
}
SCSS
$custom: #7c8a4c;
$custom-light: #a3ac7f;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8a4c",
  "rgb": {
    "r": 124,
    "g": 138,
    "b": 76
  },
  "hsl": {
    "h": 73.548,
    "s": 28.972,
    "l": 41.961
  },
  "oklch": {
    "l": 0.60716,
    "c": 0.08727,
    "h": 119.5
  },
  "luminance": 0.22984
}

Semantic roles & 50–950 ramp

primary
#7C8A4C
secondary
#8E84AE
accent
#63C579
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#0F100A
muted
#7F7F7C

Preview Lab

Preview with #7C8A4C

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

Preview Lab → · Contrast checker → · Palette generator →

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