#7FC842#7FC842

#7FC842 is a light, vivid yellow-green. Relative luminance 0.462; OKLCH L 75.8% C 0.181 H 133.6°. Best body text is #000000 at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#7FC842
RGBrgb(127, 200, 66)
HSLhsl(93, 55%, 52%)
HSVhsv(93, 67%, 78%)
CMYKcmyk(36.5%, 0%, 67%, 21.6%)
CIE-LABlab(73.68, -44.67, 57.50)
CIE-LCHlch(73.68, 72.81, 127.84°)
OKLaboklab(75.81% -0.125 0.1312)
OKLCHoklch(75.81% 0.181 133.6)
XYZxyz(30.3895, 46.2126, 12.4719)
Luminance0.4621 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FC842 #8B42C8
analogous
#C2C842 #7FC842 #42C848
triadic
#7FC842 #427FC8 #C8427F
tetradic
#7FC842 #42C2C8 #8B42C8 #C84842
square
#7FC842 #42C2C8 #8B42C8 #C84842
split-complementary
#7FC842 #4842C8 #C842C2
monochromatic
#446F20 #619F2E #7FC842 #9FD671 #BFE4A1

Accessibility & contrast

On white

2.05
#7FC842 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.24
#7FC842 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FC842
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FC842#FFFFFF#000000##000000
##7FC8421.002.0510.2410.24
#FFFFFF2.051.0021.0021.00
#00000010.2421.001.001.00
##00000010.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B92F
Deuteranopia (green-blind)
#C6B34D
Tritanopia (blue-blind)
#7FC0AD
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #7fc842;
/* rgb */ color: rgb(127, 200, 66);
/* oklch */ color: oklch(75.8% 0.181 133.6);
Tailwind
colors: {
  custom: {
    50: '#a9d97d',
    500: '#7fc842',
    950: '#000000',
  },
}
SCSS
$custom: #7fc842;
$custom-light: #a9d97d;
$custom-dark: #000000;
JSON
{
  "hex": "#7fc842",
  "rgb": {
    "r": 127,
    "g": 200,
    "b": 66
  },
  "hsl": {
    "h": 92.687,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.75806,
    "c": 0.18121,
    "h": 133.6
  },
  "luminance": 0.46214
}

Semantic roles & 50–950 ramp

primary
#7FC842
secondary
#B696D0
accent
#4ADE9B
background
#FAFDF7
surface
#F4FAEE
border
#CED3C9
text
#10140A
muted
#7F837C

Preview Lab

Preview with #7FC842

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

Preview Lab → · Contrast checker → · Palette generator →

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