#7FC942#7FC942

#7FC942 is a light, vivid yellow-green. Relative luminance 0.467; OKLCH L 76.1% C 0.182 H 133.7°. Best body text is #000000 at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#7FC942
RGBrgb(127, 201, 66)
HSLhsl(93, 56%, 52%)
HSVhsv(93, 67%, 79%)
CMYKcmyk(36.8%, 0%, 67.2%, 21.2%)
CIE-LABlab(73.98, -45.09, 57.81)
CIE-LCHlch(73.98, 73.32, 127.95°)
OKLaboklab(76.05% -0.1261 0.1319)
OKLCHoklch(76.05% 0.182 133.7)
XYZxyz(30.6219, 46.6773, 12.5494)
Luminance0.4668 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FC942 #8C42C9
analogous
#C3C942 #7FC942 #42C948
triadic
#7FC942 #427FC9 #C9427F
tetradic
#7FC942 #42C3C9 #8C42C9 #C94842
square
#7FC942 #42C3C9 #8C42C9 #C94842
split-complementary
#7FC942 #4842C9 #C942C3
monochromatic
#447020 #61A02E #7FC942 #9FD772 #BFE4A1

Accessibility & contrast

On white

2.03
#7FC942 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.34
#7FC942 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FC942
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FC942#FFFFFF#000000##000000
##7FC9421.002.0310.3410.34
#FFFFFF2.031.0021.0021.00
#00000010.3421.001.001.00
##00000010.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA2F
Deuteranopia (green-blind)
#C7B44E
Tritanopia (blue-blind)
#7FC1AE
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #7fc942;
/* rgb */ color: rgb(127, 201, 66);
/* oklch */ color: oklch(76.1% 0.182 133.7);
Tailwind
colors: {
  custom: {
    50: '#a9da7d',
    500: '#7fc942',
    950: '#000000',
  },
}
SCSS
$custom: #7fc942;
$custom-light: #a9da7d;
$custom-dark: #000000;
JSON
{
  "hex": "#7fc942",
  "rgb": {
    "r": 127,
    "g": 201,
    "b": 66
  },
  "hsl": {
    "h": 92.889,
    "s": 55.556,
    "l": 52.353
  },
  "oklch": {
    "l": 0.76051,
    "c": 0.18248,
    "h": 133.7
  },
  "luminance": 0.46679
}

Semantic roles & 50–950 ramp

primary
#7FC942
secondary
#B696D1
accent
#49DF9B
background
#FAFDF7
surface
#F4FAEE
border
#CED3C9
text
#10150A
muted
#7F837C

Preview Lab

Preview with #7FC942

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

Preview Lab → · Contrast checker → · Palette generator →

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