#7FC342#7FC342

#7FC342 is a light, vivid yellow-green. Relative luminance 0.439; OKLCH L 74.6% C 0.175 H 133.0°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#7FC342
RGBrgb(127, 195, 66)
HSLhsl(92, 52%, 51%)
HSVhsv(92, 66%, 76%)
CMYKcmyk(34.9%, 0%, 66.2%, 23.5%)
CIE-LABlab(72.18, -42.53, 55.91)
CIE-LCHlch(72.18, 70.25, 127.26°)
OKLaboklab(74.58% -0.1192 0.1279)
OKLCHoklch(74.58% 0.175 133)
XYZxyz(29.2504, 43.9344, 12.0922)
Luminance0.4394 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FC342 #8642C3
analogous
#BFC342 #7FC342 #42C345
triadic
#7FC342 #427FC3 #C3427F
tetradic
#7FC342 #42BFC3 #8642C3 #C34542
square
#7FC342 #42BFC3 #8642C3 #C34542
split-complementary
#7FC342 #4542C3 #C342BF
monochromatic
#436921 #619830 #7FC342 #9ED270 #BEE09F

Accessibility & contrast

On white

2.15
#7FC342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.79
#7FC342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FC342
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FC342#FFFFFF#000000##000000
##7FC3421.002.159.799.79
#FFFFFF2.151.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB431
Deuteranopia (green-blind)
#C1AF4D
Tritanopia (blue-blind)
#80BBA9
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #7fc342;
/* rgb */ color: rgb(127, 195, 66);
/* oklch */ color: oklch(74.6% 0.175 133.0);
Tailwind
colors: {
  custom: {
    50: '#a9d57d',
    500: '#7fc342',
    950: '#000000',
  },
}
SCSS
$custom: #7fc342;
$custom-light: #a9d57d;
$custom-dark: #000000;
JSON
{
  "hex": "#7fc342",
  "rgb": {
    "r": 127,
    "g": 195,
    "b": 66
  },
  "hsl": {
    "h": 91.628,
    "s": 51.807,
    "l": 51.176
  },
  "oklch": {
    "l": 0.74584,
    "c": 0.17479,
    "h": 133
  },
  "luminance": 0.43936
}

Semantic roles & 50–950 ramp

primary
#7FC342
secondary
#B294CD
accent
#4DDB98
background
#FAFDF7
surface
#F4FAEE
border
#CED3C9
text
#10140A
muted
#7F837C

Preview Lab

Preview with #7FC342

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

Preview Lab → · Contrast checker → · Palette generator →

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