#7FC542#7FC542

#7FC542 is a light, vivid yellow-green. Relative luminance 0.448; OKLCH L 75.1% C 0.177 H 133.2°. Best body text is #000000 at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#7FC542
RGBrgb(127, 197, 66)
HSLhsl(92, 53%, 52%)
HSVhsv(92, 66%, 77%)
CMYKcmyk(35.5%, 0%, 66.5%, 22.7%)
CIE-LABlab(72.78, -43.39, 56.54)
CIE-LCHlch(72.78, 71.27, 127.50°)
OKLaboklab(75.07% -0.1215 0.1292)
OKLCHoklch(75.07% 0.177 133.2)
XYZxyz(29.7015, 44.8366, 12.2426)
Luminance0.4484 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FC542 #8842C5
analogous
#C1C542 #7FC542 #42C547
triadic
#7FC542 #427FC5 #C5427F
tetradic
#7FC542 #42C1C5 #8842C5 #C54742
square
#7FC542 #42C1C5 #8842C5 #C54742
split-complementary
#7FC542 #4742C5 #C542C1
monochromatic
#446C21 #619A2F #7FC542 #9FD371 #BEE2A0

Accessibility & contrast

On white

2.11
#7FC542 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.97
#7FC542 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FC542
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FC542#FFFFFF#000000##000000
##7FC5421.002.119.979.97
#FFFFFF2.111.0021.0021.00
#0000009.9721.001.001.00
##0000009.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB630
Deuteranopia (green-blind)
#C3B14D
Tritanopia (blue-blind)
#7FBDAA
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #7fc542;
/* rgb */ color: rgb(127, 197, 66);
/* oklch */ color: oklch(75.1% 0.177 133.2);
Tailwind
colors: {
  custom: {
    50: '#a9d77d',
    500: '#7fc542',
    950: '#000000',
  },
}
SCSS
$custom: #7fc542;
$custom-light: #a9d77d;
$custom-dark: #000000;
JSON
{
  "hex": "#7fc542",
  "rgb": {
    "r": 127,
    "g": 197,
    "b": 66
  },
  "hsl": {
    "h": 92.061,
    "s": 53.036,
    "l": 51.569
  },
  "oklch": {
    "l": 0.75073,
    "c": 0.17736,
    "h": 133.2
  },
  "luminance": 0.44838
}

Semantic roles & 50–950 ramp

primary
#7FC542
secondary
#B395CE
accent
#4BDC99
background
#FAFDF7
surface
#F4FAEE
border
#CED3C9
text
#10140A
muted
#7F837C

Preview Lab

Preview with #7FC542

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

Preview Lab → · Contrast checker → · Palette generator →

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