#7C8F41#7C8F41

#7C8F41 is a mid, moderate yellow-green. Relative luminance 0.243; OKLCH L 61.7% C 0.106 H 121.0°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#7C8F41
RGBrgb(124, 143, 65)
HSLhsl(75, 38%, 41%)
HSVhsv(75, 55%, 56%)
CMYKcmyk(13.3%, 0%, 54.5%, 43.9%)
CIE-LABlab(56.40, -19.25, 38.73)
CIE-LCHlch(56.40, 43.25, 116.44°)
OKLaboklab(61.75% -0.0547 0.0912)
OKLCHoklch(61.75% 0.106 121)
XYZxyz(19.0889, 24.3117, 8.6870)
Luminance0.2431 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8F41 #54418F
analogous
#8F7B41 #7C8F41 #558F41
triadic
#7C8F41 #417C8F #8F417C
tetradic
#7C8F41 #418F7B #54418F #8F4155
square
#7C8F41 #418F7B #54418F #8F4155
split-complementary
#7C8F41 #41558F #7B418F
monochromatic
#333B1B #58652E #7C8F41 #9EB459 #B6C784

Accessibility & contrast

On white

3.58
#7C8F41 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#7C8F41 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8F41
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8F41#FFFFFF#000000##000000
##7C8F411.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#97883A
Deuteranopia (green-blind)
#958746
Tritanopia (blue-blind)
#82887E
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7c8f41;
/* rgb */ color: rgb(124, 143, 65);
/* oklch */ color: oklch(61.7% 0.106 121.0);
Tailwind
colors: {
  custom: {
    50: '#a4af78',
    500: '#7c8f41',
    950: '#000000',
  },
}
SCSS
$custom: #7c8f41;
$custom-light: #a4af78;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8f41",
  "rgb": {
    "r": 124,
    "g": 143,
    "b": 65
  },
  "hsl": {
    "h": 74.615,
    "s": 37.5,
    "l": 40.784
  },
  "oklch": {
    "l": 0.61746,
    "c": 0.10634,
    "h": 121
  },
  "luminance": 0.24312
}

Semantic roles & 50–950 ramp

primary
#7C8F41
secondary
#887AB1
accent
#5ACD76
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F1009
muted
#7F7F7B

Preview Lab

Preview with #7C8F41

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

Preview Lab → · Contrast checker → · Palette generator →

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