#7FCC42#7FCC42

#7FCC42 is a light, vivid yellow-green. Relative luminance 0.481; OKLCH L 76.8% C 0.186 H 134.1°. Best body text is #000000 at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#7FCC42
RGBrgb(127, 204, 66)
HSLhsl(93, 58%, 53%)
HSVhsv(93, 68%, 80%)
CMYKcmyk(37.7%, 0%, 67.6%, 20%)
CIE-LABlab(74.88, -46.35, 58.76)
CIE-LCHlch(74.88, 74.84, 128.27°)
OKLaboklab(76.79% -0.1295 0.1339)
OKLCHoklch(76.79% 0.186 134.1)
XYZxyz(31.3280, 48.0896, 12.7847)
Luminance0.4809 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FCC42 #8F42CC
analogous
#C4CC42 #7FCC42 #42CC4A
triadic
#7FCC42 #427FCC #CC427F
tetradic
#7FCC42 #42C4CC #8F42CC #CC4A42
square
#7FCC42 #42C4CC #8F42CC #CC4A42
split-complementary
#7FCC42 #4A42CC #CC42C4
monochromatic
#45741F #61A42C #7FCC42 #A0D972 #C0E6A2

Accessibility & contrast

On white

1.98
#7FCC42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.62
#7FCC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FCC42
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FCC42#FFFFFF#000000##000000
##7FCC421.001.9810.6210.62
#FFFFFF1.981.0021.0021.00
#00000010.6221.001.001.00
##00000010.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC2E
Deuteranopia (green-blind)
#C9B64E
Tritanopia (blue-blind)
#7EC4B0
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #7fcc42;
/* rgb */ color: rgb(127, 204, 66);
/* oklch */ color: oklch(76.8% 0.186 134.1);
Tailwind
colors: {
  custom: {
    50: '#a9dc7d',
    500: '#7fcc42',
    950: '#000000',
  },
}
SCSS
$custom: #7fcc42;
$custom-light: #a9dc7d;
$custom-dark: #000000;
JSON
{
  "hex": "#7fcc42",
  "rgb": {
    "r": 127,
    "g": 204,
    "b": 66
  },
  "hsl": {
    "h": 93.478,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.76785,
    "c": 0.18628,
    "h": 134.1
  },
  "luminance": 0.48091
}

Semantic roles & 50–950 ramp

primary
#7FCC42
secondary
#B897D3
accent
#47E19D
background
#FAFDF7
surface
#F4FBEE
border
#CED4C9
text
#10150A
muted
#7F837C

Preview Lab

Preview with #7FCC42

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

Preview Lab → · Contrast checker → · Palette generator →

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