#7FCA42#7FCA42

#7FCA42 is a light, vivid yellow-green. Relative luminance 0.471; OKLCH L 76.3% C 0.184 H 133.8°. Best body text is #000000 at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#7FCA42
RGBrgb(127, 202, 66)
HSLhsl(93, 56%, 53%)
HSVhsv(93, 67%, 79%)
CMYKcmyk(37.1%, 0%, 67.3%, 20.8%)
CIE-LABlab(74.28, -45.51, 58.13)
CIE-LCHlch(74.28, 73.82, 128.06°)
OKLaboklab(76.3% -0.1273 0.1325)
OKLCHoklch(76.3% 0.184 133.8)
XYZxyz(30.8557, 47.1450, 12.6273)
Luminance0.4715 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FCA42 #8D42CA
analogous
#C3CA42 #7FCA42 #42CA49
triadic
#7FCA42 #427FCA #CA427F
tetradic
#7FCA42 #42C3CA #8D42CA #CA4942
square
#7FCA42 #42C3CA #8D42CA #CA4942
split-complementary
#7FCA42 #4942CA #CA42C3
monochromatic
#457220 #61A22D #7FCA42 #9FD772 #C0E5A2

Accessibility & contrast

On white

2.01
#7FCA42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.43
#7FCA42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FCA42
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FCA42#FFFFFF#000000##000000
##7FCA421.002.0110.4310.43
#FFFFFF2.011.0021.0021.00
#00000010.4321.001.001.00
##00000010.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB2F
Deuteranopia (green-blind)
#C7B44E
Tritanopia (blue-blind)
#7FC2AE
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #7fca42;
/* rgb */ color: rgb(127, 202, 66);
/* oklch */ color: oklch(76.3% 0.184 133.8);
Tailwind
colors: {
  custom: {
    50: '#a9da7d',
    500: '#7fca42',
    950: '#000000',
  },
}
SCSS
$custom: #7fca42;
$custom-light: #a9da7d;
$custom-dark: #000000;
JSON
{
  "hex": "#7fca42",
  "rgb": {
    "r": 127,
    "g": 202,
    "b": 66
  },
  "hsl": {
    "h": 93.088,
    "s": 56.198,
    "l": 52.549
  },
  "oklch": {
    "l": 0.76296,
    "c": 0.18374,
    "h": 133.8
  },
  "luminance": 0.47146
}

Semantic roles & 50–950 ramp

primary
#7FCA42
secondary
#B796D1
accent
#48DF9C
background
#FAFDF7
surface
#F4FBEE
border
#CED4C9
text
#10150A
muted
#7F837C

Preview Lab

Preview with #7FCA42

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

Preview Lab → · Contrast checker → · Palette generator →

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