#7A9820#7A9820

#7A9820 is a light, vivid yellow-green. Relative luminance 0.267; OKLCH L 63.5% C 0.144 H 123.2°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#7A9820
RGBrgb(122, 152, 32)
HSLhsl(75, 65%, 36%)
HSVhsv(75, 79%, 60%)
CMYKcmyk(19.7%, 0%, 78.9%, 40.4%)
CIE-LABlab(58.69, -26.98, 54.89)
CIE-LCHlch(58.69, 61.16, 116.18°)
OKLaboklab(63.48% -0.0791 0.1207)
OKLCHoklch(63.48% 0.144 123.2)
XYZxyz(19.5152, 26.6982, 5.4914)
Luminance0.2670 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A9820 #3E2098
analogous
#987A20 #7A9820 #3E9820
triadic
#7A9820 #207A98 #98207A
tetradic
#7A9820 #20987A #3E2098 #98203E
square
#7A9820 #20987A #3E2098 #98203E
split-complementary
#7A9820 #203E98 #7A2098
monochromatic
#29330B #516515 #7A9820 #A3CB2B #BADC57

Accessibility & contrast

On white

3.31
#7A9820 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#7A9820 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A9820
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A9820#FFFFFF#000000##000000
##7A98201.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E00
Deuteranopia (green-blind)
#9D8D2C
Tritanopia (blue-blind)
#809082
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7a9820;
/* rgb */ color: rgb(122, 152, 32);
/* oklch */ color: oklch(63.5% 0.144 123.2);
Tailwind
colors: {
  custom: {
    50: '#a4b666',
    500: '#7a9820',
    950: '#000000',
  },
}
SCSS
$custom: #7a9820;
$custom-light: #a4b666;
$custom-dark: #000000;
JSON
{
  "hex": "#7a9820",
  "rgb": {
    "r": 122,
    "g": 152,
    "b": 32
  },
  "hsl": {
    "h": 75,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.63475,
    "c": 0.14434,
    "h": 123.2
  },
  "luminance": 0.26698
}

Semantic roles & 50–950 ramp

primary
#7A9820
secondary
#6F54BF
accent
#40E86A
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7A9820

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

Preview Lab → · Contrast checker → · Palette generator →

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