#7A9D22#7A9D22

#7A9D22 is a light, vivid yellow-green. Relative luminance 0.284; OKLCH L 64.7% C 0.149 H 124.8°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#7A9D22
RGBrgb(122, 157, 34)
HSLhsl(77, 64%, 37%)
HSVhsv(77, 78%, 62%)
CMYKcmyk(22.3%, 0%, 78.3%, 38.4%)
CIE-LABlab(60.22, -29.30, 55.66)
CIE-LCHlch(60.22, 62.91, 117.76°)
OKLaboklab(64.71% -0.0853 0.1227)
OKLCHoklch(64.71% 0.149 124.8)
XYZxyz(20.3719, 28.3668, 5.9151)
Luminance0.2837 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A9D22 #45229D
analogous
#9D8222 #7A9D22 #3D9D22
triadic
#7A9D22 #227A9D #9D227A
tetradic
#7A9D22 #229D82 #45229D #9D223D
square
#7A9D22 #229D82 #45229D #9D223D
split-complementary
#7A9D22 #223D9D #82229D
monochromatic
#2C380C #536B17 #7A9D22 #A1CF2D #B8DC5D

Accessibility & contrast

On white

3.15
#7A9D22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#7A9D22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A9D22
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A9D22#FFFFFF#000000##000000
##7A9D221.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#A1912E
Tritanopia (blue-blind)
#809586
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7a9d22;
/* rgb */ color: rgb(122, 157, 34);
/* oklch */ color: oklch(64.7% 0.149 124.8);
Tailwind
colors: {
  custom: {
    50: '#a4ba68',
    500: '#7a9d22',
    950: '#000000',
  },
}
SCSS
$custom: #7a9d22;
$custom-light: #a4ba68;
$custom-dark: #000000;
JSON
{
  "hex": "#7a9d22",
  "rgb": {
    "r": 122,
    "g": 157,
    "b": 34
  },
  "hsl": {
    "h": 77.073,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.64712,
    "c": 0.14943,
    "h": 124.8
  },
  "luminance": 0.28367
}

Semantic roles & 50–950 ramp

primary
#7A9D22
secondary
#775AC1
accent
#40E770
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7A9D22

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

Preview Lab → · Contrast checker → · Palette generator →

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