#7AA52F#7AA52F

#7AA52F is a light, vivid yellow-green. Relative luminance 0.313; OKLCH L 66.8% C 0.152 H 127.6°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#7AA52F
RGBrgb(122, 165, 47)
HSLhsl(82, 56%, 42%)
HSVhsv(82, 72%, 65%)
CMYKcmyk(26.1%, 0%, 71.5%, 35.3%)
CIE-LABlab(62.72, -32.34, 53.51)
CIE-LCHlch(62.72, 62.53, 121.15°)
OKLaboklab(66.77% -0.0926 0.1203)
OKLCHoklch(66.77% 0.152 127.6)
XYZxyz(21.9943, 31.2526, 7.5624)
Luminance0.3125 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AA52F #5A2FA5
analogous
#A5952F #7AA52F #3FA52F
triadic
#7AA52F #2F7AA5 #A52F7A
tetradic
#7AA52F #2FA595 #5A2FA5 #A52F3F
square
#7AA52F #2FA595 #5A2FA5 #A52F3F
split-complementary
#7AA52F #2F3FA5 #952FA5
monochromatic
#344614 #577521 #7AA52F #9ACB47 #B4D876

Accessibility & contrast

On white

2.90
#7AA52F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#7AA52F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7AA52F
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7AA52F#FFFFFF#000000##000000
##7AA52F1.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9A1B
Deuteranopia (green-blind)
#A79739
Tritanopia (blue-blind)
#7E9D8E
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #7aa52f;
/* rgb */ color: rgb(122, 165, 47);
/* oklch */ color: oklch(66.8% 0.152 127.6);
Tailwind
colors: {
  custom: {
    50: '#a4c06f',
    500: '#7aa52f',
    950: '#000000',
  },
}
SCSS
$custom: #7aa52f;
$custom-light: #a4c06f;
$custom-dark: #000000;
JSON
{
  "hex": "#7aa52f",
  "rgb": {
    "r": 122,
    "g": 165,
    "b": 47
  },
  "hsl": {
    "h": 81.864,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.66765,
    "c": 0.15177,
    "h": 127.6
  },
  "luminance": 0.31253
}

Semantic roles & 50–950 ramp

primary
#7AA52F
secondary
#8D70C0
accent
#49DF80
background
#FAFBF7
surface
#F4F7ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7AA52F

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

Preview Lab → · Contrast checker → · Palette generator →

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