#7FC742#7FC742

#7FC742 is a light, vivid yellow-green. Relative luminance 0.458; OKLCH L 75.6% C 0.180 H 133.5°. Best body text is #000000 at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#7FC742
RGBrgb(127, 199, 66)
HSLhsl(92, 54%, 52%)
HSVhsv(92, 67%, 78%)
CMYKcmyk(36.2%, 0%, 66.8%, 22%)
CIE-LABlab(73.38, -44.24, 57.18)
CIE-LCHlch(73.38, 72.30, 127.73°)
OKLaboklab(75.56% -0.1238 0.1305)
OKLCHoklch(75.56% 0.18 133.5)
XYZxyz(30.1587, 45.7509, 12.3950)
Luminance0.4575 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FC742 #8A42C7
analogous
#C2C742 #7FC742 #42C748
triadic
#7FC742 #427FC7 #C7427F
tetradic
#7FC742 #42C2C7 #8A42C7 #C74842
square
#7FC742 #42C2C7 #8A42C7 #C74842
split-complementary
#7FC742 #4842C7 #C742C2
monochromatic
#446E21 #619D2F #7FC742 #9FD571 #BFE3A0

Accessibility & contrast

On white

2.07
#7FC742 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.15
#7FC742 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FC742
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FC742#FFFFFF#000000##000000
##7FC7421.002.0710.1510.15
#FFFFFF2.071.0021.0021.00
#00000010.1521.001.001.00
##00000010.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB830
Deuteranopia (green-blind)
#C5B24D
Tritanopia (blue-blind)
#7FBFAC
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #7fc742;
/* rgb */ color: rgb(127, 199, 66);
/* oklch */ color: oklch(75.6% 0.180 133.5);
Tailwind
colors: {
  custom: {
    50: '#a9d87d',
    500: '#7fc742',
    950: '#000000',
  },
}
SCSS
$custom: #7fc742;
$custom-light: #a9d87d;
$custom-dark: #000000;
JSON
{
  "hex": "#7fc742",
  "rgb": {
    "r": 127,
    "g": 199,
    "b": 66
  },
  "hsl": {
    "h": 92.481,
    "s": 54.286,
    "l": 51.961
  },
  "oklch": {
    "l": 0.75562,
    "c": 0.17992,
    "h": 133.5
  },
  "luminance": 0.45752
}

Semantic roles & 50–950 ramp

primary
#7FC742
secondary
#B595D0
accent
#4ADE9A
background
#FAFDF7
surface
#F4FAEE
border
#CED3C9
text
#10140A
muted
#7F837C

Preview Lab

Preview with #7FC742

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

Preview Lab → · Contrast checker → · Palette generator →

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