#7D9721#7D9721

#7D9721 is a light, vivid yellow-green. Relative luminance 0.266; OKLCH L 63.5% C 0.141 H 121.7°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#7D9721
RGBrgb(125, 151, 33)
HSLhsl(73, 64%, 36%)
HSVhsv(73, 78%, 59%)
CMYKcmyk(17.2%, 0%, 78.1%, 40.8%)
CIE-LABlab(58.60, -25.18, 54.56)
CIE-LCHlch(58.60, 60.09, 114.77°)
OKLaboklab(63.46% -0.0743 0.1201)
OKLCHoklch(63.46% 0.141 121.7)
XYZxyz(19.7989, 26.6030, 5.5304)
Luminance0.2660 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9721 #3B2197
analogous
#977621 #7D9721 #429721
triadic
#7D9721 #217D97 #97217D
tetradic
#7D9721 #219776 #3B2197 #972142
square
#7D9721 #219776 #3B2197 #972142
split-complementary
#7D9721 #214297 #762197
monochromatic
#2A330B #536516 #7D9721 #A7C92C #BEDA58

Accessibility & contrast

On white

3.32
#7D9721 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#7D9721 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9721
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9721#FFFFFF#000000##000000
##7D97211.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d9721;
/* rgb */ color: rgb(125, 151, 33);
/* oklch */ color: oklch(63.5% 0.141 121.7);
Tailwind
colors: {
  custom: {
    50: '#a6b567',
    500: '#7d9721',
    950: '#000000',
  },
}
SCSS
$custom: #7d9721;
$custom-light: #a6b567;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9721",
  "rgb": {
    "r": 125,
    "g": 151,
    "b": 33
  },
  "hsl": {
    "h": 73.22,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.63458,
    "c": 0.14122,
    "h": 121.7
  },
  "luminance": 0.26603
}

Semantic roles & 50–950 ramp

primary
#7D9721
secondary
#6C55BE
accent
#41E765
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7D9721

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

Preview Lab → · Contrast checker → · Palette generator →

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