#7A9620#7A9620

#7A9620 is a light, vivid yellow-green. Relative luminance 0.261; OKLCH L 63.0% C 0.142 H 122.6°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#7A9620
RGBrgb(122, 150, 32)
HSLhsl(74, 65%, 36%)
HSVhsv(74, 79%, 59%)
CMYKcmyk(18.7%, 0%, 78.7%, 41.2%)
CIE-LABlab(58.09, -26.01, 54.33)
CIE-LCHlch(58.09, 60.23, 115.58°)
OKLaboklab(62.99% -0.0765 0.1195)
OKLCHoklch(62.99% 0.142 122.6)
XYZxyz(19.1934, 26.0545, 5.3841)
Luminance0.2606 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A9620 #3C2096
analogous
#967720 #7A9620 #3F9620
triadic
#7A9620 #207A96 #96207A
tetradic
#7A9620 #209677 #3C2096 #96203F
square
#7A9620 #209677 #3C2096 #96203F
split-complementary
#7A9620 #203F96 #772096
monochromatic
#28310A #516415 #7A9620 #A3C82B #BBDB56

Accessibility & contrast

On white

3.38
#7A9620 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#7A9620 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A9620
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A9620#FFFFFF#000000##000000
##7A96201.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#9C8C2C
Tritanopia (blue-blind)
#818E80
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7a9620;
/* rgb */ color: rgb(122, 150, 32);
/* oklch */ color: oklch(63.0% 0.142 122.6);
Tailwind
colors: {
  custom: {
    50: '#a4b566',
    500: '#7a9620',
    950: '#000000',
  },
}
SCSS
$custom: #7a9620;
$custom-light: #a4b566;
$custom-dark: #000000;
JSON
{
  "hex": "#7a9620",
  "rgb": {
    "r": 122,
    "g": 150,
    "b": 32
  },
  "hsl": {
    "h": 74.237,
    "s": 64.835,
    "l": 35.686
  },
  "oklch": {
    "l": 0.62985,
    "c": 0.14189,
    "h": 122.6
  },
  "luminance": 0.26055
}

Semantic roles & 50–950 ramp

primary
#7A9620
secondary
#6D53BE
accent
#40E868
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7A9620

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

Preview Lab → · Contrast checker → · Palette generator →

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