#7C8D41#7C8D41

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

Color values

HEX#7C8D41
RGBrgb(124, 141, 65)
HSLhsl(73, 37%, 40%)
HSVhsv(73, 54%, 55%)
CMYKcmyk(12.1%, 0%, 53.9%, 44.7%)
CIE-LABlab(55.80, -18.22, 38.03)
CIE-LCHlch(55.80, 42.17, 115.59°)
OKLaboklab(61.27% -0.0518 0.0897)
OKLCHoklch(61.27% 0.104 120)
XYZxyz(18.7914, 23.7166, 8.5878)
Luminance0.2372 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8D41 #52418D
analogous
#8D7841 #7C8D41 #568D41
triadic
#7C8D41 #417C8D #8D417C
tetradic
#7C8D41 #418D78 #52418D #8D4156
square
#7C8D41 #418D78 #52418D #8D4156
split-complementary
#7C8D41 #41568D #78418D
monochromatic
#32391A #57632E #7C8D41 #9EB259 #B7C683

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C8D41#FFFFFF#000000##000000
##7C8D411.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)
#95863A
Deuteranopia (green-blind)
#938645
Tritanopia (blue-blind)
#82867C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7c8d41;
/* rgb */ color: rgb(124, 141, 65);
/* oklch */ color: oklch(61.3% 0.104 120.0);
Tailwind
colors: {
  custom: {
    50: '#a3ae78',
    500: '#7c8d41',
    950: '#000000',
  },
}
SCSS
$custom: #7c8d41;
$custom-light: #a3ae78;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8d41",
  "rgb": {
    "r": 124,
    "g": 141,
    "b": 65
  },
  "hsl": {
    "h": 73.421,
    "s": 36.893,
    "l": 40.392
  },
  "oklch": {
    "l": 0.61268,
    "c": 0.10356,
    "h": 120
  },
  "luminance": 0.23716
}

Semantic roles & 50–950 ramp

primary
#7C8D41
secondary
#8679B0
accent
#5BCD74
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F1009
muted
#7F7F7B

Preview Lab

Preview with #7C8D41

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

Preview Lab → · Contrast checker → · Palette generator →

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