#7C8D3F#7C8D3F

#7C8D3F is a mid, moderate yellow-green. Relative luminance 0.237; OKLCH L 61.2% C 0.106 H 119.9°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#7C8D3F
RGBrgb(124, 141, 63)
HSLhsl(73, 38%, 40%)
HSVhsv(73, 55%, 55%)
CMYKcmyk(12.1%, 0%, 55.3%, 44.7%)
CIE-LABlab(55.78, -18.41, 39.00)
CIE-LCHlch(55.78, 43.13, 115.27°)
OKLaboklab(61.24% -0.0525 0.0916)
OKLCHoklch(61.24% 0.106 119.9)
XYZxyz(18.7344, 23.6938, 8.2881)
Luminance0.2369 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8D3F #503F8D
analogous
#8D773F #7C8D3F #558D3F
triadic
#7C8D3F #3F7C8D #8D3F7C
tetradic
#7C8D3F #3F8D77 #503F8D #8D3F55
square
#7C8D3F #3F8D77 #503F8D #8D3F55
split-complementary
#7C8D3F #3F558D #773F8D
monochromatic
#323819 #57632C #7C8D3F #9FB356 #B7C680

Accessibility & contrast

On white

3.66
#7C8D3F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#7C8D3F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8D3F
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8D3F#FFFFFF#000000##000000
##7C8D3F1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#958637
Deuteranopia (green-blind)
#938644
Tritanopia (blue-blind)
#82867C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7c8d3f;
/* rgb */ color: rgb(124, 141, 63);
/* oklch */ color: oklch(61.2% 0.106 119.9);
Tailwind
colors: {
  custom: {
    50: '#a4ae77',
    500: '#7c8d3f',
    950: '#000000',
  },
}
SCSS
$custom: #7c8d3f;
$custom-light: #a4ae77;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8d3f",
  "rgb": {
    "r": 124,
    "g": 141,
    "b": 63
  },
  "hsl": {
    "h": 73.077,
    "s": 38.235,
    "l": 40
  },
  "oklch": {
    "l": 0.61242,
    "c": 0.10558,
    "h": 119.9
  },
  "luminance": 0.23694
}

Semantic roles & 50–950 ramp

primary
#7C8D3F
secondary
#8477B1
accent
#5ACE73
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F1009
muted
#7F7F7B

Preview Lab

Preview with #7C8D3F

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

Preview Lab → · Contrast checker → · Palette generator →

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