#7AAA42#7AAA42

#7AAA42 is a light, vivid yellow-green. Relative luminance 0.333; OKLCH L 68.2% C 0.144 H 130.3°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#7AAA42
RGBrgb(122, 170, 66)
HSLhsl(88, 44%, 46%)
HSVhsv(88, 61%, 67%)
CMYKcmyk(28.2%, 0%, 61.2%, 33.3%)
CIE-LABlab(64.39, -33.19, 47.34)
CIE-LCHlch(64.39, 57.81, 125.04°)
OKLaboklab(68.17% -0.0932 0.1098)
OKLCHoklch(68.17% 0.144 130.3)
XYZxyz(23.3839, 33.2797, 10.3448)
Luminance0.3328 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AAA42 #7242AA
analogous
#AAA642 #7AAA42 #46AA42
triadic
#7AAA42 #427AAA #AA427A
tetradic
#7AAA42 #42AAA6 #7242AA #AA4246
square
#7AAA42 #42AAA6 #7242AA #AA4246
split-complementary
#7AAA42 #4246AA #A642AA
monochromatic
#3B5220 #5A7E31 #7AAA42 #98C366 #B6D592

Accessibility & contrast

On white

2.74
#7AAA42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#7AAA42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7AAA42
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7AAA42#FFFFFF#000000##000000
##7AAA421.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19E36
Deuteranopia (green-blind)
#AB9B4A
Tritanopia (blue-blind)
#7DA394
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7aaa42;
/* rgb */ color: rgb(122, 170, 66);
/* oklch */ color: oklch(68.2% 0.144 130.3);
Tailwind
colors: {
  custom: {
    50: '#a3c37a',
    500: '#7aaa42',
    950: '#000000',
  },
}
SCSS
$custom: #7aaa42;
$custom-light: #a3c37a;
$custom-dark: #000000;
JSON
{
  "hex": "#7aaa42",
  "rgb": {
    "r": 122,
    "g": 170,
    "b": 66
  },
  "hsl": {
    "h": 87.692,
    "s": 44.068,
    "l": 46.275
  },
  "oklch": {
    "l": 0.68167,
    "c": 0.14405,
    "h": 130.3
  },
  "luminance": 0.3328
}

Semantic roles & 50–950 ramp

primary
#7AAA42
secondary
#A288C0
accent
#54D48F
background
#FAFCF7
surface
#F4F8EE
border
#CED1C9
text
#0F1209
muted
#7F817B

Preview Lab

Preview with #7AAA42

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

Preview Lab → · Contrast checker → · Palette generator →

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