#7FA64A#7FA64A

#7FA64A is a light, vivid yellow-green. Relative luminance 0.323; OKLCH L 67.6% C 0.129 H 128.5°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#7FA64A
RGBrgb(127, 166, 74)
HSLhsl(85, 38%, 47%)
HSVhsv(85, 55%, 65%)
CMYKcmyk(23.5%, 0%, 55.4%, 34.9%)
CIE-LABlab(63.57, -28.61, 42.76)
CIE-LCHlch(63.57, 51.45, 123.79°)
OKLaboklab(67.61% -0.0802 0.1007)
OKLCHoklch(67.61% 0.129 128.5)
XYZxyz(23.6245, 32.2784, 11.4629)
Luminance0.3228 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA64A #714AA6
analogous
#A69F4A #7FA64A #51A64A
triadic
#7FA64A #4A7FA6 #A64A7F
tetradic
#7FA64A #4AA69F #714AA6 #A64A51
square
#7FA64A #4AA69F #714AA6 #A64A51
split-complementary
#7FA64A #4A51A6 #9F4AA6
monochromatic
#3E5124 #5F7C37 #7FA64A #9DBF6F #BAD199

Accessibility & contrast

On white

2.82
#7FA64A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#7FA64A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA64A
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA64A#FFFFFF#000000##000000
##7FA64A1.002.827.467.46
#FFFFFF2.821.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9C41
Deuteranopia (green-blind)
#A89950
Tritanopia (blue-blind)
#829F92
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7fa64a;
/* rgb */ color: rgb(127, 166, 74);
/* oklch */ color: oklch(67.6% 0.129 128.5);
Tailwind
colors: {
  custom: {
    50: '#a6c07f',
    500: '#7fa64a',
    950: '#000000',
  },
}
SCSS
$custom: #7fa64a;
$custom-light: #a6c07f;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa64a",
  "rgb": {
    "r": 127,
    "g": 166,
    "b": 74
  },
  "hsl": {
    "h": 85.435,
    "s": 38.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.67613,
    "c": 0.12875,
    "h": 128.5
  },
  "luminance": 0.32279
}

Semantic roles & 50–950 ramp

primary
#7FA64A
secondary
#A28EBE
accent
#5ACE8B
background
#FAFBF7
surface
#F4F7EE
border
#CED0C9
text
#10120A
muted
#7F817C

Preview Lab

Preview with #7FA64A

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

Preview Lab → · Contrast checker → · Palette generator →

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