#7FA64F#7FA64F

#7FA64F is a light, vivid yellow-green. Relative luminance 0.323; OKLCH L 67.7% C 0.124 H 129.2°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#7FA64F
RGBrgb(127, 166, 79)
HSLhsl(87, 36%, 48%)
HSVhsv(87, 52%, 65%)
CMYKcmyk(23.5%, 0%, 52.4%, 34.9%)
CIE-LABlab(63.63, -28.08, 40.39)
CIE-LCHlch(63.63, 49.19, 124.81°)
OKLaboklab(67.68% -0.0783 0.096)
OKLCHoklch(67.68% 0.124 129.2)
XYZxyz(23.7997, 32.3485, 12.3856)
Luminance0.3235 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA64F #764FA6
analogous
#A6A14F #7FA64F #53A64F
triadic
#7FA64F #4F7FA6 #A64F7F
tetradic
#7FA64F #4FA6A1 #764FA6 #A64F53
square
#7FA64F #4FA6A1 #764FA6 #A64F53
split-complementary
#7FA64F #4F53A6 #A14FA6
monochromatic
#405328 #5F7D3B #7FA64F #9DBD75 #BAD19E

Accessibility & contrast

On white

2.81
#7FA64F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#7FA64F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA64F
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA64F#FFFFFF#000000##000000
##7FA64F1.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9C47
Deuteranopia (green-blind)
#A79954
Tritanopia (blue-blind)
#82A092
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7fa64f;
/* rgb */ color: rgb(127, 166, 79);
/* oklch */ color: oklch(67.7% 0.124 129.2);
Tailwind
colors: {
  custom: {
    50: '#a6c083',
    500: '#7fa64f',
    950: '#000000',
  },
}
SCSS
$custom: #7fa64f;
$custom-light: #a6c083;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa64f",
  "rgb": {
    "r": 127,
    "g": 166,
    "b": 79
  },
  "hsl": {
    "h": 86.897,
    "s": 35.51,
    "l": 48.039
  },
  "oklch": {
    "l": 0.67678,
    "c": 0.1239,
    "h": 129.2
  },
  "luminance": 0.32349
}

Semantic roles & 50–950 ramp

primary
#7FA64F
secondary
#A693BE
accent
#5CCC8E
background
#FAFBF8
surface
#F4F7EF
border
#CED0CA
text
#10120B
muted
#7F817C

Preview Lab

Preview with #7FA64F

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

Preview Lab → · Contrast checker → · Palette generator →

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