#7C8B4A#7C8B4A

#7C8B4A is a mid, moderate yellow-green. Relative luminance 0.232; OKLCH L 60.9% C 0.091 H 119.8°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#7C8B4A
RGBrgb(124, 139, 74)
HSLhsl(74, 31%, 42%)
HSVhsv(74, 47%, 55%)
CMYKcmyk(10.8%, 0%, 46.8%, 45.5%)
CIE-LABlab(55.32, -16.20, 32.81)
CIE-LCHlch(55.32, 36.60, 116.28°)
OKLaboklab(60.92% -0.0453 0.0789)
OKLCHoklch(60.92% 0.091 119.8)
XYZxyz(18.7809, 23.2448, 9.9745)
Luminance0.2324 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8B4A #594A8B
analogous
#8B7A4A #7C8B4A #5C8B4A
triadic
#7C8B4A #4A7C8B #8B4A7C
tetradic
#7C8B4A #4A8B7A #594A8B #8B4A5C
square
#7C8B4A #4A8B7A #594A8B #8B4A5C
split-complementary
#7C8B4A #4A5C8B #7A4A8B
monochromatic
#353B1F #586335 #7C8B4A #9CAD65 #B6C28D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C8B4A#FFFFFF#000000##000000
##7C8B4A1.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)
#928545
Deuteranopia (green-blind)
#90854D
Tritanopia (blue-blind)
#81857C
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7c8b4a;
/* rgb */ color: rgb(124, 139, 74);
/* oklch */ color: oklch(60.9% 0.091 119.8);
Tailwind
colors: {
  custom: {
    50: '#a3ac7e',
    500: '#7c8b4a',
    950: '#000000',
  },
}
SCSS
$custom: #7c8b4a;
$custom-light: #a3ac7e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8b4a",
  "rgb": {
    "r": 124,
    "g": 139,
    "b": 74
  },
  "hsl": {
    "h": 73.846,
    "s": 30.516,
    "l": 41.765
  },
  "oklch": {
    "l": 0.60921,
    "c": 0.09101,
    "h": 119.8
  },
  "luminance": 0.23245
}

Semantic roles & 50–950 ramp

primary
#7C8B4A
secondary
#8D82AE
accent
#61C779
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#0F100A
muted
#7F7F7C

Preview Lab

Preview with #7C8B4A

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

Preview Lab → · Contrast checker → · Palette generator →

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