#7C8D46#7C8D46

#7C8D46 is a mid, moderate yellow-green. Relative luminance 0.238; OKLCH L 61.3% C 0.098 H 120.5°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#7C8D46
RGBrgb(124, 141, 70)
HSLhsl(74, 34%, 41%)
HSVhsv(74, 50%, 55%)
CMYKcmyk(12.1%, 0%, 50.4%, 44.7%)
CIE-LABlab(55.86, -17.70, 35.56)
CIE-LCHlch(55.86, 39.72, 116.46°)
OKLaboklab(61.34% -0.0499 0.0847)
OKLCHoklch(61.34% 0.098 120.5)
XYZxyz(18.9427, 23.7771, 9.3847)
Luminance0.2378 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8D46 #57468D
analogous
#8D7B46 #7C8D46 #598D46
triadic
#7C8D46 #467C8D #8D467C
tetradic
#7C8D46 #468D7B #57468D #8D4659
square
#7C8D46 #468D7B #57468D #8D4659
split-complementary
#7C8D46 #46598D #7B468D
monochromatic
#343B1D #586432 #7C8D46 #9DB060 #B6C489

Accessibility & contrast

On white

3.65
#7C8D46 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#7C8D46 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8D46
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8D46#FFFFFF#000000##000000
##7C8D461.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#958640
Deuteranopia (green-blind)
#92864A
Tritanopia (blue-blind)
#82877D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7c8d46;
/* rgb */ color: rgb(124, 141, 70);
/* oklch */ color: oklch(61.3% 0.098 120.5);
Tailwind
colors: {
  custom: {
    50: '#a3ae7b',
    500: '#7c8d46',
    950: '#000000',
  },
}
SCSS
$custom: #7c8d46;
$custom-light: #a3ae7b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8d46",
  "rgb": {
    "r": 124,
    "g": 141,
    "b": 70
  },
  "hsl": {
    "h": 74.366,
    "s": 33.649,
    "l": 41.373
  },
  "oklch": {
    "l": 0.61337,
    "c": 0.09831,
    "h": 120.5
  },
  "luminance": 0.23777
}

Semantic roles & 50–950 ramp

primary
#7C8D46
secondary
#8B7FB0
accent
#5ECA78
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#0F1009
muted
#7F7F7B

Preview Lab

Preview with #7C8D46

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

Preview Lab → · Contrast checker → · Palette generator →

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