#7C9846#7C9846

#7C9846 is a light, moderate yellow-green. Relative luminance 0.272; OKLCH L 64.0% C 0.114 H 125.2°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#7C9846
RGBrgb(124, 152, 70)
HSLhsl(80, 37%, 44%)
HSVhsv(80, 54%, 60%)
CMYKcmyk(18.4%, 0%, 53.9%, 40.4%)
CIE-LABlab(59.14, -23.33, 39.47)
CIE-LCHlch(59.14, 45.85, 120.59°)
OKLaboklab(63.97% -0.0657 0.0933)
OKLCHoklch(63.97% 0.114 125.2)
XYZxyz(20.6459, 27.1836, 9.9524)
Luminance0.2718 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C9846 #624698
analogous
#988B46 #7C9846 #539846
triadic
#7C9846 #467C98 #98467C
tetradic
#7C9846 #46988B #624698 #984653
square
#7C9846 #46988B #624698 #984653
split-complementary
#7C9846 #465398 #8B4698
monochromatic
#38441F #5A6E33 #7C9846 #9BB764 #B6CB8E

Accessibility & contrast

On white

3.26
#7C9846 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#7C9846 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C9846
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C9846#FFFFFF#000000##000000
##7C98461.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8F3E
Deuteranopia (green-blind)
#9C8E4B
Tritanopia (blue-blind)
#819286
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7c9846;
/* rgb */ color: rgb(124, 152, 70);
/* oklch */ color: oklch(64.0% 0.114 125.2);
Tailwind
colors: {
  custom: {
    50: '#a4b67c',
    500: '#7c9846',
    950: '#000000',
  },
}
SCSS
$custom: #7c9846;
$custom-light: #a4b67c;
$custom-dark: #000000;
JSON
{
  "hex": "#7c9846",
  "rgb": {
    "r": 124,
    "g": 152,
    "b": 70
  },
  "hsl": {
    "h": 80.488,
    "s": 36.937,
    "l": 43.529
  },
  "oklch": {
    "l": 0.63973,
    "c": 0.11406,
    "h": 125.2
  },
  "luminance": 0.27184
}

Semantic roles & 50–950 ramp

primary
#7C9846
secondary
#9584B6
accent
#5BCD82
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#0F1109
muted
#7F807B

Preview Lab

Preview with #7C9846

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

Preview Lab → · Contrast checker → · Palette generator →

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