#7AAC2F#7AAC2F

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

Color values

HEX#7AAC2F
RGBrgb(122, 172, 47)
HSLhsl(84, 57%, 43%)
HSVhsv(84, 73%, 67%)
CMYKcmyk(29.1%, 0%, 72.7%, 32.5%)
CIE-LABlab(64.84, -35.56, 55.63)
CIE-LCHlch(64.84, 66.03, 122.59°)
OKLaboklab(68.49% -0.1014 0.1247)
OKLCHoklch(68.49% 0.161 129.1)
XYZxyz(23.2916, 33.8472, 7.9948)
Luminance0.3385 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AAC2F #612FAC
analogous
#AC9F2F #7AAC2F #3BAC2F
triadic
#7AAC2F #2F7AAC #AC2F7A
tetradic
#7AAC2F #2FAC9F #612FAC #AC2F3B
square
#7AAC2F #2FAC9F #612FAC #AC2F3B
split-complementary
#7AAC2F #2F3BAC #9F2FAC
monochromatic
#364C15 #587C22 #7AAC2F #99CE4B #B4DB7B

Accessibility & contrast

On white

2.70
#7AAC2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#7AAC2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7AAC2F
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7AAC2F#FFFFFF#000000##000000
##7AAC2F1.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A018
Deuteranopia (green-blind)
#AD9C3A
Tritanopia (blue-blind)
#7EA494
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7aac2f;
/* rgb */ color: rgb(122, 172, 47);
/* oklch */ color: oklch(68.5% 0.161 129.1);
Tailwind
colors: {
  custom: {
    50: '#a4c570',
    500: '#7aac2f',
    950: '#000000',
  },
}
SCSS
$custom: #7aac2f;
$custom-light: #a4c570;
$custom-dark: #000000;
JSON
{
  "hex": "#7aac2f",
  "rgb": {
    "r": 122,
    "g": 172,
    "b": 47
  },
  "hsl": {
    "h": 84,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.68488,
    "c": 0.16071,
    "h": 129.1
  },
  "luminance": 0.33848
}

Semantic roles & 50–950 ramp

primary
#7AAC2F
secondary
#9374C3
accent
#47E085
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7AAC2F

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

Preview Lab → · Contrast checker → · Palette generator →

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