#7A9420#7A9420

#7A9420 is a light, vivid yellow-green. Relative luminance 0.254; OKLCH L 62.5% C 0.139 H 121.9°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#7A9420
RGBrgb(122, 148, 32)
HSLhsl(73, 64%, 35%)
HSVhsv(73, 78%, 58%)
CMYKcmyk(17.6%, 0%, 78.4%, 42%)
CIE-LABlab(57.48, -25.02, 53.77)
CIE-LCHlch(57.48, 59.31, 114.95°)
OKLaboklab(62.5% -0.0738 0.1184)
OKLCHoklch(62.5% 0.139 121.9)
XYZxyz(18.8770, 25.4216, 5.2786)
Luminance0.2542 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A9420 #3A2094
analogous
#947420 #7A9420 #409420
triadic
#7A9420 #207A94 #94207A
tetradic
#7A9420 #209474 #3A2094 #942040
square
#7A9420 #209474 #3A2094 #942040
split-complementary
#7A9420 #204094 #742094
monochromatic
#272F0A #516215 #7A9420 #A3C62B #BCDA54

Accessibility & contrast

On white

3.45
#7A9420 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#7A9420 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A9420
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A9420#FFFFFF#000000##000000
##7A94201.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B01
Deuteranopia (green-blind)
#9A8A2B
Tritanopia (blue-blind)
#818C7E
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7a9420;
/* rgb */ color: rgb(122, 148, 32);
/* oklch */ color: oklch(62.5% 0.139 121.9);
Tailwind
colors: {
  custom: {
    50: '#a4b366',
    500: '#7a9420',
    950: '#000000',
  },
}
SCSS
$custom: #7a9420;
$custom-light: #a4b366;
$custom-dark: #000000;
JSON
{
  "hex": "#7a9420",
  "rgb": {
    "r": 122,
    "g": 148,
    "b": 32
  },
  "hsl": {
    "h": 73.448,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.62497,
    "c": 0.13946,
    "h": 121.9
  },
  "luminance": 0.25422
}

Semantic roles & 50–950 ramp

primary
#7A9420
secondary
#6A52BE
accent
#40E766
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7A9420

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

Preview Lab → · Contrast checker → · Palette generator →

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