#7FCA2A#7FCA2A

#7FCA2A is a light, vivid yellow-green. Relative luminance 0.469; OKLCH L 76.1% C 0.198 H 132.3°. Best body text is #000000 at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#7FCA2A
RGBrgb(127, 202, 42)
HSLhsl(88, 66%, 48%)
HSVhsv(88, 79%, 79%)
CMYKcmyk(37.1%, 0%, 79.2%, 20.8%)
CIE-LABlab(74.14, -47.00, 66.24)
CIE-LCHlch(74.14, 81.22, 125.36°)
OKLaboklab(76.13% -0.133 0.1461)
OKLCHoklch(76.13% 0.198 132.3)
XYZxyz(30.2905, 46.9189, 9.6503)
Luminance0.4692 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FCA2A #752ACA
analogous
#CAC52A #7FCA2A #2FCA2A
triadic
#7FCA2A #2A7FCA #CA2A7F
tetradic
#7FCA2A #2ACAC5 #752ACA #CA2A2F
square
#7FCA2A #2ACAC5 #752ACA #CA2A2F
split-complementary
#7FCA2A #2A2FCA #C52ACA
monochromatic
#3F6515 #5F971F #7FCA2A #9DDC55 #BAE688

Accessibility & contrast

On white

2.02
#7FCA2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.38
#7FCA2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FCA2A
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FCA2A#FFFFFF#000000##000000
##7FCA2A1.002.0210.3810.38
#FFFFFF2.021.0021.0021.00
#00000010.3821.001.001.00
##00000010.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BA00
Deuteranopia (green-blind)
#C9B43C
Tritanopia (blue-blind)
#80C2AD
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #7fca2a;
/* rgb */ color: rgb(127, 202, 42);
/* oklch */ color: oklch(76.1% 0.198 132.3);
Tailwind
colors: {
  custom: {
    50: '#aada71',
    500: '#7fca2a',
    950: '#000000',
  },
}
SCSS
$custom: #7fca2a;
$custom-light: #aada71;
$custom-dark: #000000;
JSON
{
  "hex": "#7fca2a",
  "rgb": {
    "r": 127,
    "g": 202,
    "b": 42
  },
  "hsl": {
    "h": 88.125,
    "s": 65.574,
    "l": 47.843
  },
  "oklch": {
    "l": 0.76131,
    "c": 0.19756,
    "h": 132.3
  },
  "luminance": 0.4692
}

Semantic roles & 50–950 ramp

primary
#7FCA2A
secondary
#A580D0
accent
#3FE98F
background
#FBFDF7
surface
#F6FBED
border
#D0D4C8
text
#111509
muted
#80837B

Preview Lab

Preview with #7FCA2A

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

Preview Lab → · Contrast checker → · Palette generator →

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