#7C9936#7C9936

#7C9936 is a light, vivid yellow-green. Relative luminance 0.273; OKLCH L 64.0% C 0.130 H 124.0°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#7C9936
RGBrgb(124, 153, 54)
HSLhsl(78, 48%, 41%)
HSVhsv(78, 65%, 60%)
CMYKcmyk(19%, 0%, 64.7%, 40%)
CIE-LABlab(59.28, -25.28, 47.12)
CIE-LCHlch(59.28, 53.47, 118.21°)
OKLaboklab(64.03% -0.0726 0.1078)
OKLCHoklch(64.03% 0.13 124)
XYZxyz(20.3694, 27.3337, 7.6921)
Luminance0.2733 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C9936 #533699
analogous
#998436 #7C9936 #4A9936
triadic
#7C9936 #367C99 #99367C
tetradic
#7C9936 #369984 #533699 #99364A
square
#7C9936 #369984 #533699 #99364A
split-complementary
#7C9936 #364A99 #843699
monochromatic
#333F16 #576C26 #7C9936 #9EC04C #B7D07A

Accessibility & contrast

On white

3.25
#7C9936 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#7C9936 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C9936
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C9936#FFFFFF#000000##000000
##7C99361.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1902A
Deuteranopia (green-blind)
#9E8E3D
Tritanopia (blue-blind)
#829284
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7c9936;
/* rgb */ color: rgb(124, 153, 54);
/* oklch */ color: oklch(64.0% 0.130 124.0);
Tailwind
colors: {
  custom: {
    50: '#a4b772',
    500: '#7c9936',
    950: '#000000',
  },
}
SCSS
$custom: #7c9936;
$custom-light: #a4b772;
$custom-dark: #000000;
JSON
{
  "hex": "#7c9936",
  "rgb": {
    "r": 124,
    "g": 153,
    "b": 54
  },
  "hsl": {
    "h": 77.576,
    "s": 47.826,
    "l": 40.588
  },
  "oklch": {
    "l": 0.64033,
    "c": 0.12998,
    "h": 124
  },
  "luminance": 0.27334
}

Semantic roles & 50–950 ramp

primary
#7C9936
secondary
#8772B9
accent
#50D778
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#0F1108
muted
#7F807B

Preview Lab

Preview with #7C9936

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

Preview Lab → · Contrast checker → · Palette generator →

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