#7C9720#7C9720

#7C9720 is a light, vivid yellow-green. Relative luminance 0.265; OKLCH L 63.4% C 0.142 H 122.1°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#7C9720
RGBrgb(124, 151, 32)
HSLhsl(74, 65%, 36%)
HSVhsv(74, 79%, 59%)
CMYKcmyk(17.9%, 0%, 78.8%, 40.8%)
CIE-LABlab(58.53, -25.65, 54.79)
CIE-LCHlch(58.53, 60.50, 115.09°)
OKLaboklab(63.38% -0.0756 0.1204)
OKLCHoklch(63.38% 0.142 122.1)
XYZxyz(19.6398, 26.5225, 5.4509)
Luminance0.2652 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C9720 #3B2097
analogous
#977620 #7C9720 #419720
triadic
#7C9720 #207C97 #97207C
tetradic
#7C9720 #209776 #3B2097 #972041
square
#7C9720 #209776 #3B2097 #972041
split-complementary
#7C9720 #204197 #762097
monochromatic
#29320B #536415 #7C9720 #A5C92B #BDDB56

Accessibility & contrast

On white

3.33
#7C9720 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#7C9720 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C9720
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C9720#FFFFFF#000000##000000
##7C97201.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D00
Deuteranopia (green-blind)
#9D8D2C
Tritanopia (blue-blind)
#838F81
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7c9720;
/* rgb */ color: rgb(124, 151, 32);
/* oklch */ color: oklch(63.4% 0.142 122.1);
Tailwind
colors: {
  custom: {
    50: '#a5b566',
    500: '#7c9720',
    950: '#000000',
  },
}
SCSS
$custom: #7c9720;
$custom-light: #a5b566;
$custom-dark: #000000;
JSON
{
  "hex": "#7c9720",
  "rgb": {
    "r": 124,
    "g": 151,
    "b": 32
  },
  "hsl": {
    "h": 73.613,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.63377,
    "c": 0.14221,
    "h": 122.1
  },
  "luminance": 0.26523
}

Semantic roles & 50–950 ramp

primary
#7C9720
secondary
#6C54BF
accent
#40E866
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7C9720

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

Preview Lab → · Contrast checker → · Palette generator →

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