#7AAC2A#7AAC2A

#7AAC2A is a light, vivid yellow-green. Relative luminance 0.338; OKLCH L 68.5% C 0.164 H 128.8°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#7AAC2A
RGBrgb(122, 172, 42)
HSLhsl(83, 61%, 42%)
HSVhsv(83, 76%, 67%)
CMYKcmyk(29.1%, 0%, 75.6%, 32.5%)
CIE-LABlab(64.81, -35.86, 57.37)
CIE-LCHlch(64.81, 67.65, 122.01°)
OKLaboklab(68.45% -0.1026 0.1276)
OKLCHoklch(68.45% 0.164 128.8)
XYZxyz(23.1964, 33.8092, 7.4937)
Luminance0.3381 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AAC2A #5C2AAC
analogous
#AC9D2A #7AAC2A #39AC2A
triadic
#7AAC2A #2A7AAC #AC2A7A
tetradic
#7AAC2A #2AAC9D #5C2AAC #AC2A39
square
#7AAC2A #2AAC9D #5C2AAC #AC2A39
split-complementary
#7AAC2A #2A39AC #9D2AAC
monochromatic
#344A12 #577B1E #7AAC2A #9AD142 #B4DD73

Accessibility & contrast

On white

2.71
#7AAC2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#7AAC2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7AAC2A
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7AAC2A#FFFFFF#000000##000000
##7AAC2A1.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F0C
Deuteranopia (green-blind)
#AE9C37
Tritanopia (blue-blind)
#7EA493
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7aac2a;
/* rgb */ color: rgb(122, 172, 42);
/* oklch */ color: oklch(68.5% 0.164 128.8);
Tailwind
colors: {
  custom: {
    50: '#a5c56d',
    500: '#7aac2a',
    950: '#000000',
  },
}
SCSS
$custom: #7aac2a;
$custom-light: #a5c56d;
$custom-dark: #000000;
JSON
{
  "hex": "#7aac2a",
  "rgb": {
    "r": 122,
    "g": 172,
    "b": 42
  },
  "hsl": {
    "h": 83.077,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.68453,
    "c": 0.16369,
    "h": 128.8
  },
  "luminance": 0.3381
}

Semantic roles & 50–950 ramp

primary
#7AAC2A
secondary
#8F6DC4
accent
#44E481
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101308
muted
#7F827B

Preview Lab

Preview with #7AAC2A

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

Preview Lab → · Contrast checker → · Palette generator →

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