#7AAA2F#7AAA2F

#7AAA2F is a light, vivid yellow-green. Relative luminance 0.331; OKLCH L 68.0% C 0.158 H 128.7°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#7AAA2F
RGBrgb(122, 170, 47)
HSLhsl(83, 57%, 43%)
HSVhsv(83, 72%, 67%)
CMYKcmyk(28.2%, 0%, 72.4%, 33.3%)
CIE-LABlab(64.24, -34.65, 55.03)
CIE-LCHlch(64.24, 65.03, 122.20°)
OKLaboklab(68% -0.0989 0.1235)
OKLCHoklch(68% 0.158 128.7)
XYZxyz(22.9138, 33.0917, 7.8689)
Luminance0.3309 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AAA2F #5F2FAA
analogous
#AA9D2F #7AAA2F #3CAA2F
triadic
#7AAA2F #2F7AAA #AA2F7A
tetradic
#7AAA2F #2FAA9D #5F2FAA #AA2F3C
square
#7AAA2F #2FAA9D #5F2FAA #AA2F3C
split-complementary
#7AAA2F #2F3CAA #9D2FAA
monochromatic
#354A14 #587A22 #7AAA2F #9ACD49 #B4DA79

Accessibility & contrast

On white

2.76
#7AAA2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#7AAA2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7AAA2F
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7AAA2F#FFFFFF#000000##000000
##7AAA2F1.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E19
Deuteranopia (green-blind)
#AC9B3A
Tritanopia (blue-blind)
#7EA292
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7aaa2f;
/* rgb */ color: rgb(122, 170, 47);
/* oklch */ color: oklch(68.0% 0.158 128.7);
Tailwind
colors: {
  custom: {
    50: '#a4c370',
    500: '#7aaa2f',
    950: '#000000',
  },
}
SCSS
$custom: #7aaa2f;
$custom-light: #a4c370;
$custom-dark: #000000;
JSON
{
  "hex": "#7aaa2f",
  "rgb": {
    "r": 122,
    "g": 170,
    "b": 47
  },
  "hsl": {
    "h": 83.415,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.67995,
    "c": 0.15816,
    "h": 128.7
  },
  "luminance": 0.33092
}

Semantic roles & 50–950 ramp

primary
#7AAA2F
secondary
#9272C2
accent
#48E083
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7AAA2F

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

Preview Lab → · Contrast checker → · Palette generator →

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