#7AAF40#7AAF40

#7AAF40 is a light, vivid yellow-green. Relative luminance 0.352; OKLCH L 69.4% C 0.152 H 131.1°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#7AAF40
RGBrgb(122, 175, 64)
HSLhsl(89, 46%, 47%)
HSVhsv(89, 63%, 69%)
CMYKcmyk(30.3%, 0%, 63.4%, 31.4%)
CIE-LABlab(65.88, -35.67, 49.87)
CIE-LCHlch(65.88, 61.31, 125.57°)
OKLaboklab(69.37% -0.1002 0.115)
OKLCHoklch(69.37% 0.153 131.1)
XYZxyz(24.2812, 35.1669, 10.3581)
Luminance0.3517 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AAF40 #7540AF
analogous
#AFAD40 #7AAF40 #42AF40
triadic
#7AAF40 #407AAF #AF407A
tetradic
#7AAF40 #40AFAD #7540AF #AF4042
square
#7AAF40 #40AFAD #7540AF #AF4042
split-complementary
#7AAF40 #4042AF #AD40AF
monochromatic
#3C551F #5B8230 #7AAF40 #98C765 #B6D792

Accessibility & contrast

On white

2.61
#7AAF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#7AAF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7AAF40
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7AAF40#FFFFFF#000000##000000
##7AAF401.002.618.038.03
#FFFFFF2.611.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A333
Deuteranopia (green-blind)
#AF9F49
Tritanopia (blue-blind)
#7CA898
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #7aaf40;
/* rgb */ color: rgb(122, 175, 64);
/* oklch */ color: oklch(69.4% 0.152 131.1);
Tailwind
colors: {
  custom: {
    50: '#a4c77a',
    500: '#7aaf40',
    950: '#000000',
  },
}
SCSS
$custom: #7aaf40;
$custom-light: #a4c77a;
$custom-dark: #000000;
JSON
{
  "hex": "#7aaf40",
  "rgb": {
    "r": 122,
    "g": 175,
    "b": 64
  },
  "hsl": {
    "h": 88.649,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.69372,
    "c": 0.1525,
    "h": 131.1
  },
  "luminance": 0.35168
}

Semantic roles & 50–950 ramp

primary
#7AAF40
secondary
#A488C3
accent
#52D691
background
#FAFCF7
surface
#F4F8EE
border
#CED1C9
text
#0F1309
muted
#7F827B

Preview Lab

Preview with #7AAF40

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

Preview Lab → · Contrast checker → · Palette generator →

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