#7FC42A#7FC42A

#7FC42A is a light, vivid yellow-green. Relative luminance 0.442; OKLCH L 74.7% C 0.190 H 131.5°. Best body text is #000000 at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#7FC42A
RGBrgb(127, 196, 42)
HSLhsl(87, 65%, 47%)
HSVhsv(87, 79%, 77%)
CMYKcmyk(35.2%, 0%, 78.6%, 23.1%)
CIE-LABlab(72.33, -44.49, 64.57)
CIE-LCHlch(72.33, 78.41, 124.57°)
OKLaboklab(74.66% -0.1262 0.1426)
OKLCHoklch(74.66% 0.19 131.5)
XYZxyz(28.9100, 44.1579, 9.1901)
Luminance0.4416 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FC42A #6F2AC4
analogous
#C4BC2A #7FC42A #32C42A
triadic
#7FC42A #2A7FC4 #C42A7F
tetradic
#7FC42A #2AC4BC #6F2AC4 #C42A32
square
#7FC42A #2AC4BC #6F2AC4 #C42A32
split-complementary
#7FC42A #2A32C4 #BC2AC4
monochromatic
#3E5F14 #5E921F #7FC42A #9DDA51 #B9E584

Accessibility & contrast

On white

2.14
#7FC42A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.83
#7FC42A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FC42A
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FC42A#FFFFFF#000000##000000
##7FC42A1.002.149.839.83
#FFFFFF2.141.0021.0021.00
#0000009.8321.001.001.00
##0000009.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB500
Deuteranopia (green-blind)
#C3B03B
Tritanopia (blue-blind)
#81BCA8
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #7fc42a;
/* rgb */ color: rgb(127, 196, 42);
/* oklch */ color: oklch(74.7% 0.190 131.5);
Tailwind
colors: {
  custom: {
    50: '#aad671',
    500: '#7fc42a',
    950: '#000000',
  },
}
SCSS
$custom: #7fc42a;
$custom-light: #aad671;
$custom-dark: #000000;
JSON
{
  "hex": "#7fc42a",
  "rgb": {
    "r": 127,
    "g": 196,
    "b": 42
  },
  "hsl": {
    "h": 86.883,
    "s": 64.706,
    "l": 46.667
  },
  "oklch": {
    "l": 0.74657,
    "c": 0.19044,
    "h": 131.5
  },
  "luminance": 0.44159
}

Semantic roles & 50–950 ramp

primary
#7FC42A
secondary
#A17CCE
accent
#40E88B
background
#FAFDF7
surface
#F5FAED
border
#CFD3C8
text
#111408
muted
#80837B

Preview Lab

Preview with #7FC42A

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

Preview Lab → · Contrast checker → · Palette generator →

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