#7FCF42#7FCF42

#7FCF42 is a light, vivid yellow-green. Relative luminance 0.495; OKLCH L 77.5% C 0.190 H 134.4°. Best body text is #000000 at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#7FCF42
RGBrgb(127, 207, 66)
HSLhsl(94, 59%, 54%)
HSVhsv(94, 68%, 81%)
CMYKcmyk(38.6%, 0%, 68.1%, 18.8%)
CIE-LABlab(75.78, -47.59, 59.70)
CIE-LCHlch(75.78, 76.35, 128.56°)
OKLaboklab(77.52% -0.1329 0.1358)
OKLCHoklch(77.52% 0.19 134.4)
XYZxyz(32.0480, 49.5294, 13.0247)
Luminance0.4953 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FCF42 #9242CF
analogous
#C5CF42 #7FCF42 #42CF4B
triadic
#7FCF42 #427FCF #CF427F
tetradic
#7FCF42 #42C5CF #9242CF #CF4B42
square
#7FCF42 #42C5CF #9242CF #CF4B42
split-complementary
#7FCF42 #4B42CF #CF42C5
monochromatic
#45781F #61A92B #7FCF42 #A0DB73 #C1E8A4

Accessibility & contrast

On white

1.93
#7FCF42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.91
#7FCF42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FCF42
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FCF42#FFFFFF#000000##000000
##7FCF421.001.9310.9110.91
#FFFFFF1.931.0021.0021.00
#00000010.9121.001.001.00
##00000010.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF2D
Deuteranopia (green-blind)
#CCB84E
Tritanopia (blue-blind)
#7EC7B3
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #7fcf42;
/* rgb */ color: rgb(127, 207, 66);
/* oklch */ color: oklch(77.5% 0.190 134.4);
Tailwind
colors: {
  custom: {
    50: '#aade7e',
    500: '#7fcf42',
    950: '#000000',
  },
}
SCSS
$custom: #7fcf42;
$custom-light: #aade7e;
$custom-dark: #000000;
JSON
{
  "hex": "#7fcf42",
  "rgb": {
    "r": 127,
    "g": 207,
    "b": 66
  },
  "hsl": {
    "h": 94.043,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.77519,
    "c": 0.19006,
    "h": 134.4
  },
  "luminance": 0.49531
}

Semantic roles & 50–950 ramp

primary
#7FCF42
secondary
#BA98D5
accent
#45E39F
background
#FAFDF8
surface
#F4FBEF
border
#CED4CA
text
#10150A
muted
#7F837C

Preview Lab

Preview with #7FCF42

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

Preview Lab → · Contrast checker → · Palette generator →

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