#7AAA40#7AAA40

#7AAA40 is a light, vivid yellow-green. Relative luminance 0.333; OKLCH L 68.1% C 0.146 H 130.1°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#7AAA40
RGBrgb(122, 170, 64)
HSLhsl(87, 45%, 46%)
HSVhsv(87, 62%, 67%)
CMYKcmyk(28.2%, 0%, 62.4%, 33.3%)
CIE-LABlab(64.37, -33.37, 48.21)
CIE-LCHlch(64.37, 58.63, 124.69°)
OKLaboklab(68.15% -0.0939 0.1114)
OKLCHoklch(68.15% 0.146 130.1)
XYZxyz(23.3260, 33.2566, 10.0397)
Luminance0.3326 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AAA40 #7040AA
analogous
#AAA540 #7AAA40 #45AA40
triadic
#7AAA40 #407AAA #AA407A
tetradic
#7AAA40 #40AAA5 #7040AA #AA4045
square
#7AAA40 #40AAA5 #7040AA #AA4045
split-complementary
#7AAA40 #4045AA #A540AA
monochromatic
#3A511F #5A7E2F #7AAA40 #98C463 #B5D58F

Accessibility & contrast

On white

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

On black

7.65
#7AAA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7AAA40
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7AAA40#FFFFFF#000000##000000
##7AAA401.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7aaa40;
/* rgb */ color: rgb(122, 170, 64);
/* oklch */ color: oklch(68.1% 0.146 130.1);
Tailwind
colors: {
  custom: {
    50: '#a4c379',
    500: '#7aaa40',
    950: '#000000',
  },
}
SCSS
$custom: #7aaa40;
$custom-light: #a4c379;
$custom-dark: #000000;
JSON
{
  "hex": "#7aaa40",
  "rgb": {
    "r": 122,
    "g": 170,
    "b": 64
  },
  "hsl": {
    "h": 87.17,
    "s": 45.299,
    "l": 45.882
  },
  "oklch": {
    "l": 0.68146,
    "c": 0.14572,
    "h": 130.1
  },
  "luminance": 0.33257
}

Semantic roles & 50–950 ramp

primary
#7AAA40
secondary
#A086C0
accent
#53D58E
background
#FAFCF7
surface
#F4F8EE
border
#CED1C9
text
#0F1209
muted
#7F817B

Preview Lab

Preview with #7AAA40

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

Preview Lab → · Contrast checker → · Palette generator →

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