#7A9C22#7A9C22

#7A9C22 is a light, vivid yellow-green. Relative luminance 0.280; OKLCH L 64.5% C 0.148 H 124.5°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#7A9C22
RGBrgb(122, 156, 34)
HSLhsl(77, 64%, 37%)
HSVhsv(77, 78%, 61%)
CMYKcmyk(21.8%, 0%, 78.2%, 38.8%)
CIE-LABlab(59.92, -28.82, 55.38)
CIE-LCHlch(59.92, 62.43, 117.49°)
OKLaboklab(64.47% -0.084 0.1221)
OKLCHoklch(64.47% 0.148 124.5)
XYZxyz(20.2034, 28.0298, 5.8590)
Luminance0.2803 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A9C22 #44229C
analogous
#9C8122 #7A9C22 #3D9C22
triadic
#7A9C22 #227A9C #9C227A
tetradic
#7A9C22 #229C81 #44229C #9C223D
square
#7A9C22 #229C81 #44229C #9C223D
split-complementary
#7A9C22 #223D9C #81229C
monochromatic
#2B380C #536A17 #7A9C22 #A1CE2D #B8DC5D

Accessibility & contrast

On white

3.18
#7A9C22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#7A9C22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A9C22
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A9C22#FFFFFF#000000##000000
##7A9C221.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#A1902E
Tritanopia (blue-blind)
#809485
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7a9c22;
/* rgb */ color: rgb(122, 156, 34);
/* oklch */ color: oklch(64.5% 0.148 124.5);
Tailwind
colors: {
  custom: {
    50: '#a4b968',
    500: '#7a9c22',
    950: '#000000',
  },
}
SCSS
$custom: #7a9c22;
$custom-light: #a4b968;
$custom-dark: #000000;
JSON
{
  "hex": "#7a9c22",
  "rgb": {
    "r": 122,
    "g": 156,
    "b": 34
  },
  "hsl": {
    "h": 76.721,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.64467,
    "c": 0.1482,
    "h": 124.5
  },
  "luminance": 0.2803
}

Semantic roles & 50–950 ramp

primary
#7A9C22
secondary
#765AC0
accent
#41E76F
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7A9C22

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

Preview Lab → · Contrast checker → · Palette generator →

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