#7FA64E#7FA64E

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

Color values

HEX#7FA64E
RGBrgb(127, 166, 78)
HSLhsl(87, 36%, 48%)
HSVhsv(87, 53%, 65%)
CMYKcmyk(23.5%, 0%, 53%, 34.9%)
CIE-LABlab(63.62, -28.19, 40.87)
CIE-LCHlch(63.62, 49.65, 124.60°)
OKLaboklab(67.66% -0.0787 0.097)
OKLCHoklch(67.66% 0.125 129.1)
XYZxyz(23.7636, 32.3341, 12.1954)
Luminance0.3234 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA64E #754EA6
analogous
#A6A14E #7FA64E #53A64E
triadic
#7FA64E #4E7FA6 #A64E7F
tetradic
#7FA64E #4EA6A1 #754EA6 #A64E53
square
#7FA64E #4EA6A1 #754EA6 #A64E53
split-complementary
#7FA64E #4E53A6 #A14EA6
monochromatic
#3F5327 #5F7C3A #7FA64E #9DBE74 #BAD19D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FA64E#FFFFFF#000000##000000
##7FA64E1.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)
#AD9C46
Deuteranopia (green-blind)
#A79954
Tritanopia (blue-blind)
#82A092
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7fa64e;
/* rgb */ color: rgb(127, 166, 78);
/* oklch */ color: oklch(67.7% 0.125 129.1);
Tailwind
colors: {
  custom: {
    50: '#a6c082',
    500: '#7fa64e',
    950: '#000000',
  },
}
SCSS
$custom: #7fa64e;
$custom-light: #a6c082;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa64e",
  "rgb": {
    "r": 127,
    "g": 166,
    "b": 78
  },
  "hsl": {
    "h": 86.591,
    "s": 36.066,
    "l": 47.843
  },
  "oklch": {
    "l": 0.67665,
    "c": 0.1249,
    "h": 129.1
  },
  "luminance": 0.32335
}

Semantic roles & 50–950 ramp

primary
#7FA64E
secondary
#A592BE
accent
#5CCC8E
background
#FAFBF8
surface
#F4F7EF
border
#CED0CA
text
#10120A
muted
#7F817C

Preview Lab

Preview with #7FA64E

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

Preview Lab → · Contrast checker → · Palette generator →

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