#7C8A41#7C8A41

#7C8A41 is a mid, moderate yellow-green. Relative luminance 0.228; OKLCH L 60.6% C 0.099 H 118.5°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#7C8A41
RGBrgb(124, 138, 65)
HSLhsl(72, 36%, 40%)
HSVhsv(72, 53%, 54%)
CMYKcmyk(10.1%, 0%, 52.9%, 45.9%)
CIE-LABlab(54.91, -16.64, 36.98)
CIE-LCHlch(54.91, 40.55, 114.23°)
OKLaboklab(60.55% -0.0474 0.0874)
OKLCHoklch(60.55% 0.099 118.5)
XYZxyz(18.3550, 22.8438, 8.4423)
Luminance0.2284 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8A41 #4F418A
analogous
#8A7441 #7C8A41 #578A41
triadic
#7C8A41 #417C8A #8A417C
tetradic
#7C8A41 #418A74 #4F418A #8A4157
square
#7C8A41 #418A74 #4F418A #8A4157
split-complementary
#7C8A41 #41578A #74418A
monochromatic
#31371A #57602D #7C8A41 #9FB058 #B7C482

Accessibility & contrast

On white

3.77
#7C8A41 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#7C8A41 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8A41
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8A41#FFFFFF#000000##000000
##7C8A411.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#92833A
Deuteranopia (green-blind)
#908445
Tritanopia (blue-blind)
#828379
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7c8a41;
/* rgb */ color: rgb(124, 138, 65);
/* oklch */ color: oklch(60.6% 0.099 118.5);
Tailwind
colors: {
  custom: {
    50: '#a3ac78',
    500: '#7c8a41',
    950: '#000000',
  },
}
SCSS
$custom: #7c8a41;
$custom-light: #a3ac78;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8a41",
  "rgb": {
    "r": 124,
    "g": 138,
    "b": 65
  },
  "hsl": {
    "h": 71.507,
    "s": 35.961,
    "l": 39.804
  },
  "oklch": {
    "l": 0.60553,
    "c": 0.09939,
    "h": 118.5
  },
  "luminance": 0.22844
}

Semantic roles & 50–950 ramp

primary
#7C8A41
secondary
#8378AE
accent
#5CCC71
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F1009
muted
#7F7F7B

Preview Lab

Preview with #7C8A41

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

Preview Lab → · Contrast checker → · Palette generator →

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