#7C9920#7C9920

#7C9920 is a light, vivid yellow-green. Relative luminance 0.272; OKLCH L 63.9% C 0.145 H 122.8°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#7C9920
RGBrgb(124, 153, 32)
HSLhsl(74, 65%, 36%)
HSVhsv(74, 79%, 60%)
CMYKcmyk(19%, 0%, 79.1%, 40%)
CIE-LABlab(59.13, -26.63, 55.34)
CIE-LCHlch(59.13, 61.42, 115.70°)
OKLaboklab(63.87% -0.0783 0.1216)
OKLCHoklch(63.87% 0.145 122.8)
XYZxyz(19.9644, 27.1717, 5.5591)
Luminance0.2717 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C9920 #3D2099
analogous
#997A20 #7C9920 #409920
triadic
#7C9920 #207C99 #99207C
tetradic
#7C9920 #20997A #3D2099 #992040
square
#7C9920 #20997A #3D2099 #992040
split-complementary
#7C9920 #204099 #7A2099
monochromatic
#2A340B #536615 #7C9920 #A5CC2B #BCDC57

Accessibility & contrast

On white

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

On black

6.43
#7C9920 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C9920
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C9920#FFFFFF#000000##000000
##7C99201.003.266.436.43
#FFFFFF3.261.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F00
Deuteranopia (green-blind)
#9F8E2C
Tritanopia (blue-blind)
#839183
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7c9920;
/* rgb */ color: rgb(124, 153, 32);
/* oklch */ color: oklch(63.9% 0.145 122.8);
Tailwind
colors: {
  custom: {
    50: '#a5b766',
    500: '#7c9920',
    950: '#000000',
  },
}
SCSS
$custom: #7c9920;
$custom-light: #a5b766;
$custom-dark: #000000;
JSON
{
  "hex": "#7c9920",
  "rgb": {
    "r": 124,
    "g": 153,
    "b": 32
  },
  "hsl": {
    "h": 74.38,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.63865,
    "c": 0.14463,
    "h": 122.8
  },
  "luminance": 0.27172
}

Semantic roles & 50–950 ramp

primary
#7C9920
secondary
#6F55C0
accent
#3FE868
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7C9920

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

Preview Lab → · Contrast checker → · Palette generator →

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