#7C8D4F#7C8D4F

#7C8D4F is a mid, moderate yellow-green. Relative luminance 0.239; OKLCH L 61.5% C 0.088 H 121.6°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#7C8D4F
RGBrgb(124, 141, 79)
HSLhsl(76, 28%, 43%)
HSVhsv(76, 44%, 55%)
CMYKcmyk(12.1%, 0%, 44%, 44.7%)
CIE-LABlab(55.99, -16.67, 30.98)
CIE-LCHlch(55.99, 35.18, 118.28°)
OKLaboklab(61.48% -0.0462 0.0752)
OKLCHoklch(61.48% 0.088 121.6)
XYZxyz(19.2484, 23.8994, 10.9946)
Luminance0.2390 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8D4F #604F8D
analogous
#8D7F4F #7C8D4F #5D8D4F
triadic
#7C8D4F #4F7C8D #8D4F7C
tetradic
#7C8D4F #4F8D7F #604F8D #8D4F5D
square
#7C8D4F #4F8D7F #604F8D #8D4F5D
split-complementary
#7C8D4F #4F5D8D #7F4F8D
monochromatic
#373F23 #5A6639 #7C8D4F #9BAD6C #B6C394

Accessibility & contrast

On white

3.63
#7C8D4F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#7C8D4F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8D4F
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8D4F#FFFFFF#000000##000000
##7C8D4F1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#94864A
Deuteranopia (green-blind)
#928652
Tritanopia (blue-blind)
#81877E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7c8d4f;
/* rgb */ color: rgb(124, 141, 79);
/* oklch */ color: oklch(61.5% 0.088 121.6);
Tailwind
colors: {
  custom: {
    50: '#a3ae81',
    500: '#7c8d4f',
    950: '#000000',
  },
}
SCSS
$custom: #7c8d4f;
$custom-light: #a3ae81;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8d4f",
  "rgb": {
    "r": 124,
    "g": 141,
    "b": 79
  },
  "hsl": {
    "h": 76.452,
    "s": 28.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.61475,
    "c": 0.08822,
    "h": 121.6
  },
  "luminance": 0.23899
}

Semantic roles & 50–950 ramp

primary
#7C8D4F
secondary
#9388AF
accent
#63C47E
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#0F100A
muted
#7F7F7C

Preview Lab

Preview with #7C8D4F

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

Preview Lab → · Contrast checker → · Palette generator →

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