#7C9721#7C9721

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

Color values

HEX#7C9721
RGBrgb(124, 151, 33)
HSLhsl(74, 64%, 36%)
HSVhsv(74, 78%, 59%)
CMYKcmyk(17.9%, 0%, 78.1%, 40.8%)
CIE-LABlab(58.53, -25.60, 54.47)
CIE-LCHlch(58.53, 60.19, 115.17°)
OKLaboklab(63.38% -0.0754 0.1199)
OKLCHoklch(63.38% 0.142 122.2)
XYZxyz(19.6536, 26.5281, 5.5236)
Luminance0.2653 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C9721 #3C2197
analogous
#977721 #7C9721 #419721
triadic
#7C9721 #217C97 #97217C
tetradic
#7C9721 #219777 #3C2197 #972141
square
#7C9721 #219777 #3C2197 #972141
split-complementary
#7C9721 #214197 #772197
monochromatic
#2A330B #536516 #7C9721 #A5C92C #BDDA58

Accessibility & contrast

On white

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

On black

6.31
#7C9721 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C9721
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C9721#FFFFFF#000000##000000
##7C97211.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c9721;
/* rgb */ color: rgb(124, 151, 33);
/* oklch */ color: oklch(63.4% 0.142 122.2);
Tailwind
colors: {
  custom: {
    50: '#a5b567',
    500: '#7c9721',
    950: '#000000',
  },
}
SCSS
$custom: #7c9721;
$custom-light: #a5b567;
$custom-dark: #000000;
JSON
{
  "hex": "#7c9721",
  "rgb": {
    "r": 124,
    "g": 151,
    "b": 33
  },
  "hsl": {
    "h": 73.729,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.63383,
    "c": 0.14167,
    "h": 122.2
  },
  "luminance": 0.26528
}

Semantic roles & 50–950 ramp

primary
#7C9721
secondary
#6D55BE
accent
#41E767
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7C9721

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

Preview Lab → · Contrast checker → · Palette generator →

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