#7A9721#7A9721

#7A9721 is a light, vivid yellow-green. Relative luminance 0.264; OKLCH L 63.2% C 0.143 H 123.0°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#7A9721
RGBrgb(122, 151, 33)
HSLhsl(75, 64%, 36%)
HSVhsv(75, 78%, 59%)
CMYKcmyk(19.2%, 0%, 78.1%, 40.8%)
CIE-LABlab(58.40, -26.45, 54.29)
CIE-LCHlch(58.40, 60.39, 115.97°)
OKLaboklab(63.24% -0.0776 0.1196)
OKLCHoklch(63.24% 0.143 123)
XYZxyz(19.3674, 26.3805, 5.5102)
Luminance0.2638 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A9721 #3E2197
analogous
#977921 #7A9721 #3F9721
triadic
#7A9721 #217A97 #97217A
tetradic
#7A9721 #219779 #3E2197 #97213F
square
#7A9721 #219779 #3E2197 #97213F
split-complementary
#7A9721 #213F97 #792197
monochromatic
#29330B #516516 #7A9721 #A3C92C #BADA58

Accessibility & contrast

On white

3.35
#7A9721 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#7A9721 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A9721
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A9721#FFFFFF#000000##000000
##7A97211.003.356.286.28
#FFFFFF3.351.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D01
Deuteranopia (green-blind)
#9C8C2D
Tritanopia (blue-blind)
#818F81
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7a9721;
/* rgb */ color: rgb(122, 151, 33);
/* oklch */ color: oklch(63.2% 0.143 123.0);
Tailwind
colors: {
  custom: {
    50: '#a4b567',
    500: '#7a9721',
    950: '#000000',
  },
}
SCSS
$custom: #7a9721;
$custom-light: #a4b567;
$custom-dark: #000000;
JSON
{
  "hex": "#7a9721",
  "rgb": {
    "r": 122,
    "g": 151,
    "b": 33
  },
  "hsl": {
    "h": 74.746,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.63236,
    "c": 0.14259,
    "h": 123
  },
  "luminance": 0.26381
}

Semantic roles & 50–950 ramp

primary
#7A9721
secondary
#6F55BE
accent
#41E76A
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7A9721

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

Preview Lab → · Contrast checker → · Palette generator →

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