#7C8D4D#7C8D4D

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

Color values

HEX#7C8D4D
RGBrgb(124, 141, 77)
HSLhsl(76, 29%, 43%)
HSVhsv(76, 45%, 55%)
CMYKcmyk(12.1%, 0%, 45.4%, 44.7%)
CIE-LABlab(55.96, -16.91, 32.01)
CIE-LCHlch(55.96, 36.20, 117.84°)
OKLaboklab(61.44% -0.047 0.0774)
OKLCHoklch(61.44% 0.091 121.3)
XYZxyz(19.1766, 23.8707, 10.6170)
Luminance0.2387 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8D4D #5E4D8D
analogous
#8D7E4D #7C8D4D #5C8D4D
triadic
#7C8D4D #4D7C8D #8D4D7C
tetradic
#7C8D4D #4D8D7E #5E4D8D #8D4D5C
square
#7C8D4D #4D8D7E #5E4D8D #8D4D5C
split-complementary
#7C8D4D #4D5C8D #7E4D8D
monochromatic
#363E22 #596537 #7C8D4D #9BAD6A #B6C391

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C8D4D#FFFFFF#000000##000000
##7C8D4D1.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)
#948648
Deuteranopia (green-blind)
#928650
Tritanopia (blue-blind)
#81877E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7c8d4d;
/* rgb */ color: rgb(124, 141, 77);
/* oklch */ color: oklch(61.4% 0.091 121.3);
Tailwind
colors: {
  custom: {
    50: '#a3ae80',
    500: '#7c8d4d',
    950: '#000000',
  },
}
SCSS
$custom: #7c8d4d;
$custom-light: #a3ae80;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8d4d",
  "rgb": {
    "r": 124,
    "g": 141,
    "b": 77
  },
  "hsl": {
    "h": 75.938,
    "s": 29.358,
    "l": 42.745
  },
  "oklch": {
    "l": 0.61443,
    "c": 0.09053,
    "h": 121.3
  },
  "luminance": 0.23871
}

Semantic roles & 50–950 ramp

primary
#7C8D4D
secondary
#9186AF
accent
#62C67D
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#0F100A
muted
#7F7F7C

Preview Lab

Preview with #7C8D4D

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

Preview Lab → · Contrast checker → · Palette generator →

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