#7FCA40#7FCA40

#7FCA40 is a light, vivid yellow-green. Relative luminance 0.471; OKLCH L 76.3% C 0.185 H 133.7°. Best body text is #000000 at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#7FCA40
RGBrgb(127, 202, 64)
HSLhsl(93, 57%, 52%)
HSVhsv(93, 68%, 79%)
CMYKcmyk(37.1%, 0%, 68.3%, 20.8%)
CIE-LABlab(74.27, -45.66, 58.89)
CIE-LCHlch(74.27, 74.52, 127.79°)
OKLaboklab(76.28% -0.1278 0.1339)
OKLCHoklch(76.28% 0.185 133.7)
XYZxyz(30.7978, 47.1218, 12.3222)
Luminance0.4712 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FCA40 #8B40CA
analogous
#C4CA40 #7FCA40 #40CA46
triadic
#7FCA40 #407FCA #CA407F
tetradic
#7FCA40 #40C4CA #8B40CA #CA4640
square
#7FCA40 #40C4CA #8B40CA #CA4640
split-complementary
#7FCA40 #4640CA #CA40C4
monochromatic
#44701F #61A02C #7FCA40 #9FD770 #BFE5A0

Accessibility & contrast

On white

2.01
#7FCA40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.42
#7FCA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FCA40
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FCA40#FFFFFF#000000##000000
##7FCA401.002.0110.4210.42
#FFFFFF2.011.0021.0021.00
#00000010.4221.001.001.00
##00000010.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA2C
Deuteranopia (green-blind)
#C8B44C
Tritanopia (blue-blind)
#7FC2AE
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #7fca40;
/* rgb */ color: rgb(127, 202, 64);
/* oklch */ color: oklch(76.3% 0.185 133.7);
Tailwind
colors: {
  custom: {
    50: '#a9da7c',
    500: '#7fca40',
    950: '#000000',
  },
}
SCSS
$custom: #7fca40;
$custom-light: #a9da7c;
$custom-dark: #000000;
JSON
{
  "hex": "#7fca40",
  "rgb": {
    "r": 127,
    "g": 202,
    "b": 64
  },
  "hsl": {
    "h": 92.609,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.76279,
    "c": 0.18511,
    "h": 133.7
  },
  "luminance": 0.47123
}

Semantic roles & 50–950 ramp

primary
#7FCA40
secondary
#B695D1
accent
#48E09B
background
#FAFDF7
surface
#F4FBEE
border
#CED4C9
text
#10150A
muted
#7F837C

Preview Lab

Preview with #7FCA40

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

Preview Lab → · Contrast checker → · Palette generator →

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