#7FAA3B#7FAA3B

#7FAA3B is a light, vivid yellow-green. Relative luminance 0.336; OKLCH L 68.4% C 0.147 H 127.9°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#7FAA3B
RGBrgb(127, 170, 59)
HSLhsl(83, 48%, 45%)
HSVhsv(83, 65%, 67%)
CMYKcmyk(25.3%, 0%, 65.3%, 33.3%)
CIE-LABlab(64.63, -31.86, 50.75)
CIE-LCHlch(64.63, 59.92, 122.12°)
OKLaboklab(68.42% -0.0905 0.1161)
OKLCHoklch(68.42% 0.147 127.9)
XYZxyz(23.9165, 33.5768, 9.3577)
Luminance0.3358 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FAA3B #663BAA
analogous
#AA9E3B #7FAA3B #48AA3B
triadic
#7FAA3B #3B7FAA #AA3B7F
tetradic
#7FAA3B #3BAA9E #663BAA #AA3B48
square
#7FAA3B #3BAA9E #663BAA #AA3B48
split-complementary
#7FAA3B #3B48AA #9E3BAA
monochromatic
#3B4F1B #5D7D2B #7FAA3B #9DC65C #B8D689

Accessibility & contrast

On white

2.72
#7FAA3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#7FAA3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FAA3B
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FAA3B#FFFFFF#000000##000000
##7FAA3B1.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29F2D
Deuteranopia (green-blind)
#AC9C44
Tritanopia (blue-blind)
#83A393
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7faa3b;
/* rgb */ color: rgb(127, 170, 59);
/* oklch */ color: oklch(68.4% 0.147 127.9);
Tailwind
colors: {
  custom: {
    50: '#a7c376',
    500: '#7faa3b',
    950: '#000000',
  },
}
SCSS
$custom: #7faa3b;
$custom-light: #a7c376;
$custom-dark: #000000;
JSON
{
  "hex": "#7faa3b",
  "rgb": {
    "r": 127,
    "g": 170,
    "b": 59
  },
  "hsl": {
    "h": 83.243,
    "s": 48.472,
    "l": 44.902
  },
  "oklch": {
    "l": 0.68419,
    "c": 0.1472,
    "h": 127.9
  },
  "luminance": 0.33577
}

Semantic roles & 50–950 ramp

primary
#7FAA3B
secondary
#9980C0
accent
#50D885
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101209
muted
#7F817B

Preview Lab

Preview with #7FAA3B

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

Preview Lab → · Contrast checker → · Palette generator →

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