#7A9720#7A9720

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

Color values

HEX#7A9720
RGBrgb(122, 151, 32)
HSLhsl(75, 65%, 36%)
HSVhsv(75, 79%, 59%)
CMYKcmyk(19.2%, 0%, 78.8%, 40.8%)
CIE-LABlab(58.39, -26.50, 54.61)
CIE-LCHlch(58.39, 60.70, 115.88°)
OKLaboklab(63.23% -0.0778 0.1201)
OKLCHoklch(63.23% 0.143 122.9)
XYZxyz(19.3536, 26.3750, 5.4375)
Luminance0.2637 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A9720 #3D2097
analogous
#977820 #7A9720 #3E9720
triadic
#7A9720 #207A97 #97207A
tetradic
#7A9720 #209778 #3D2097 #97203E
square
#7A9720 #209778 #3D2097 #97203E
split-complementary
#7A9720 #203E97 #782097
monochromatic
#28320B #516415 #7A9720 #A3C92B #BBDB56

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A9720#FFFFFF#000000##000000
##7A97201.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)
#A08D00
Deuteranopia (green-blind)
#9C8C2C
Tritanopia (blue-blind)
#818F81
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7a9720;
/* rgb */ color: rgb(122, 151, 32);
/* oklch */ color: oklch(63.2% 0.143 122.9);
Tailwind
colors: {
  custom: {
    50: '#a4b566',
    500: '#7a9720',
    950: '#000000',
  },
}
SCSS
$custom: #7a9720;
$custom-light: #a4b566;
$custom-dark: #000000;
JSON
{
  "hex": "#7a9720",
  "rgb": {
    "r": 122,
    "g": 151,
    "b": 32
  },
  "hsl": {
    "h": 74.622,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.6323,
    "c": 0.14311,
    "h": 122.9
  },
  "luminance": 0.26375
}

Semantic roles & 50–950 ramp

primary
#7A9720
secondary
#6E54BF
accent
#40E869
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7A9720

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

Preview Lab → · Contrast checker → · Palette generator →

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