#7FB04A#7FB04A

#7FB04A is a light, vivid yellow-green. Relative luminance 0.361; OKLCH L 70.0% C 0.143 H 130.8°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#7FB04A
RGBrgb(127, 176, 74)
HSLhsl(89, 41%, 49%)
HSVhsv(89, 58%, 69%)
CMYKcmyk(27.8%, 0%, 58%, 31%)
CIE-LABlab(66.56, -33.34, 46.21)
CIE-LCHlch(66.56, 56.98, 125.81°)
OKLaboklab(70.04% -0.0933 0.1082)
OKLCHoklch(70.04% 0.143 130.8)
XYZxyz(25.5135, 36.0564, 12.0926)
Luminance0.3606 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB04A #7B4AB0
analogous
#B0AE4A #7FB04A #4CB04A
triadic
#7FB04A #4A7FB0 #B04A7F
tetradic
#7FB04A #4AB0AE #7B4AB0 #B04A4C
square
#7FB04A #4AB0AE #7B4AB0 #B04A4C
split-complementary
#7FB04A #4A4CB0 #AE4AB0
monochromatic
#415A26 #608538 #7FB04A #9DC473 #BBD69E

Accessibility & contrast

On white

2.56
#7FB04A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#7FB04A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB04A
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB04A#FFFFFF#000000##000000
##7FB04A1.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A43F
Deuteranopia (green-blind)
#B0A151
Tritanopia (blue-blind)
#81A99A
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #7fb04a;
/* rgb */ color: rgb(127, 176, 74);
/* oklch */ color: oklch(70.0% 0.143 130.8);
Tailwind
colors: {
  custom: {
    50: '#a7c880',
    500: '#7fb04a',
    950: '#000000',
  },
}
SCSS
$custom: #7fb04a;
$custom-light: #a7c880;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb04a",
  "rgb": {
    "r": 127,
    "g": 176,
    "b": 74
  },
  "hsl": {
    "h": 88.824,
    "s": 40.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.70035,
    "c": 0.14284,
    "h": 130.8
  },
  "luminance": 0.36057
}

Semantic roles & 50–950 ramp

primary
#7FB04A
secondary
#AA93C3
accent
#57D192
background
#FAFCF8
surface
#F4F8EF
border
#CED1CA
text
#10130A
muted
#7F827C

Preview Lab

Preview with #7FB04A

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

Preview Lab → · Contrast checker → · Palette generator →

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