#7A9822#7A9822

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

Color values

HEX#7A9822
RGBrgb(122, 152, 34)
HSLhsl(75, 63%, 36%)
HSVhsv(75, 78%, 60%)
CMYKcmyk(19.7%, 0%, 77.6%, 40.4%)
CIE-LABlab(58.70, -26.89, 54.25)
CIE-LCHlch(58.70, 60.55, 116.36°)
OKLaboklab(63.49% -0.0787 0.1197)
OKLCHoklch(63.49% 0.143 123.3)
XYZxyz(19.5433, 26.7094, 5.6389)
Luminance0.2671 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A9822 #402298
analogous
#987B22 #7A9822 #3F9822
triadic
#7A9822 #227A98 #98227A
tetradic
#7A9822 #22987B #402298 #98223F
square
#7A9822 #22987B #402298 #98223F
split-complementary
#7A9822 #223F98 #7B2298
monochromatic
#2A340C #526617 #7A9822 #A2CA2D #BADA5A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A9822#FFFFFF#000000##000000
##7A98221.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)
#A18E03
Deuteranopia (green-blind)
#9D8D2D
Tritanopia (blue-blind)
#809082
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7a9822;
/* rgb */ color: rgb(122, 152, 34);
/* oklch */ color: oklch(63.5% 0.143 123.3);
Tailwind
colors: {
  custom: {
    50: '#a4b667',
    500: '#7a9822',
    950: '#000000',
  },
}
SCSS
$custom: #7a9822;
$custom-light: #a4b667;
$custom-dark: #000000;
JSON
{
  "hex": "#7a9822",
  "rgb": {
    "r": 122,
    "g": 152,
    "b": 34
  },
  "hsl": {
    "h": 75.254,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.63486,
    "c": 0.14327,
    "h": 123.3
  },
  "luminance": 0.2671
}

Semantic roles & 50–950 ramp

primary
#7A9822
secondary
#7257BE
accent
#41E66B
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7A9822

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

Preview Lab → · Contrast checker → · Palette generator →

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