#7AA540#7AA540

#7AA540 is a light, vivid yellow-green. Relative luminance 0.314; OKLCH L 66.9% C 0.139 H 129.0°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#7AA540
RGBrgb(122, 165, 64)
HSLhsl(86, 44%, 45%)
HSVhsv(86, 61%, 65%)
CMYKcmyk(26.1%, 0%, 61.2%, 35.3%)
CIE-LABlab(62.86, -31.03, 46.54)
CIE-LCHlch(62.86, 55.94, 123.70°)
OKLaboklab(66.92% -0.0875 0.1079)
OKLCHoklch(66.92% 0.139 129)
XYZxyz(22.4065, 31.4175, 9.7332)
Luminance0.3142 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AA540 #6B40A5
analogous
#A59E40 #7AA540 #47A540
triadic
#7AA540 #407AA5 #A5407A
tetradic
#7AA540 #40A59E #6B40A5 #A54047
square
#7AA540 #40A59E #6B40A5 #A54047
split-complementary
#7AA540 #4047A5 #9E40A5
monochromatic
#394D1E #59792F #7AA540 #98C261 #B5D38D

Accessibility & contrast

On white

2.88
#7AA540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#7AA540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7AA540
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7AA540#FFFFFF#000000##000000
##7AA5401.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9A35
Deuteranopia (green-blind)
#A69747
Tritanopia (blue-blind)
#7D9E8F
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #7aa540;
/* rgb */ color: rgb(122, 165, 64);
/* oklch */ color: oklch(66.9% 0.139 129.0);
Tailwind
colors: {
  custom: {
    50: '#a3c079',
    500: '#7aa540',
    950: '#000000',
  },
}
SCSS
$custom: #7aa540;
$custom-light: #a3c079;
$custom-dark: #000000;
JSON
{
  "hex": "#7aa540",
  "rgb": {
    "r": 122,
    "g": 165,
    "b": 64
  },
  "hsl": {
    "h": 85.545,
    "s": 44.105,
    "l": 44.902
  },
  "oklch": {
    "l": 0.66921,
    "c": 0.13888,
    "h": 129
  },
  "luminance": 0.31418
}

Semantic roles & 50–950 ramp

primary
#7AA540
secondary
#9C83BE
accent
#54D48A
background
#FAFBF7
surface
#F4F7EE
border
#CED0C9
text
#0F1209
muted
#7F817B

Preview Lab

Preview with #7AA540

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

Preview Lab → · Contrast checker → · Palette generator →

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