#7C8B41#7C8B41

#7C8B41 is a mid, moderate yellow-green. Relative luminance 0.231; OKLCH L 60.8% C 0.101 H 119.0°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#7C8B41
RGBrgb(124, 139, 65)
HSLhsl(72, 36%, 40%)
HSVhsv(72, 53%, 55%)
CMYKcmyk(10.8%, 0%, 53.2%, 45.5%)
CIE-LABlab(55.21, -17.17, 37.33)
CIE-LCHlch(55.21, 41.09, 114.70°)
OKLaboklab(60.79% -0.0488 0.0882)
OKLCHoklch(60.79% 0.101 119)
XYZxyz(18.4991, 23.1321, 8.4904)
Luminance0.2313 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8B41 #50418B
analogous
#8B7541 #7C8B41 #578B41
triadic
#7C8B41 #417C8B #8B417C
tetradic
#7C8B41 #418B75 #50418B #8B4157
square
#7C8B41 #418B75 #50418B #8B4157
split-complementary
#7C8B41 #41578B #75418B
monochromatic
#32381A #57612D #7C8B41 #9FB158 #B7C582

Accessibility & contrast

On white

3.73
#7C8B41 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#7C8B41 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8B41
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8B41#FFFFFF#000000##000000
##7C8B411.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#93843A
Deuteranopia (green-blind)
#918445
Tritanopia (blue-blind)
#82847A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7c8b41;
/* rgb */ color: rgb(124, 139, 65);
/* oklch */ color: oklch(60.8% 0.101 119.0);
Tailwind
colors: {
  custom: {
    50: '#a3ac78',
    500: '#7c8b41',
    950: '#000000',
  },
}
SCSS
$custom: #7c8b41;
$custom-light: #a3ac78;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8b41",
  "rgb": {
    "r": 124,
    "g": 139,
    "b": 65
  },
  "hsl": {
    "h": 72.162,
    "s": 36.275,
    "l": 40
  },
  "oklch": {
    "l": 0.60791,
    "c": 0.10078,
    "h": 119
  },
  "luminance": 0.23132
}

Semantic roles & 50–950 ramp

primary
#7C8B41
secondary
#8479AF
accent
#5CCC72
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F1009
muted
#7F7F7B

Preview Lab

Preview with #7C8B41

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

Preview Lab → · Contrast checker → · Palette generator →

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