#7FAA2F#7FAA2F

#7FAA2F is a light, vivid yellow-green. Relative luminance 0.335; OKLCH L 68.3% C 0.156 H 127.1°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#7FAA2F
RGBrgb(127, 170, 47)
HSLhsl(81, 57%, 43%)
HSVhsv(81, 72%, 67%)
CMYKcmyk(25.3%, 0%, 72.4%, 33.3%)
CIE-LABlab(64.54, -32.70, 55.43)
CIE-LCHlch(64.54, 64.36, 120.54°)
OKLaboklab(68.32% -0.0938 0.1242)
OKLCHoklch(68.32% 0.156 127.1)
XYZxyz(23.6403, 33.4663, 7.9029)
Luminance0.3347 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FAA2F #5A2FAA
analogous
#AA982F #7FAA2F #41AA2F
triadic
#7FAA2F #2F7FAA #AA2F7F
tetradic
#7FAA2F #2FAA98 #5A2FAA #AA2F41
square
#7FAA2F #2FAA98 #5A2FAA #AA2F41
split-complementary
#7FAA2F #2F41AA #982FAA
monochromatic
#374A14 #5B7A22 #7FAA2F #9FCD49 #B8DA79

Accessibility & contrast

On white

2.73
#7FAA2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#7FAA2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FAA2F
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FAA2F#FFFFFF#000000##000000
##7FAA2F1.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E19
Deuteranopia (green-blind)
#AD9C3A
Tritanopia (blue-blind)
#84A292
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7faa2f;
/* rgb */ color: rgb(127, 170, 47);
/* oklch */ color: oklch(68.3% 0.156 127.1);
Tailwind
colors: {
  custom: {
    50: '#a8c370',
    500: '#7faa2f',
    950: '#000000',
  },
}
SCSS
$custom: #7faa2f;
$custom-light: #a8c370;
$custom-dark: #000000;
JSON
{
  "hex": "#7faa2f",
  "rgb": {
    "r": 127,
    "g": 170,
    "b": 47
  },
  "hsl": {
    "h": 80.976,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.68319,
    "c": 0.15565,
    "h": 127.1
  },
  "luminance": 0.33467
}

Semantic roles & 50–950 ramp

primary
#7FAA2F
secondary
#8E72C2
accent
#48E07D
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FAA2F

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

Preview Lab → · Contrast checker → · Palette generator →

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