#7CC042#7CC042

#7CC042 is a light, vivid yellow-green. Relative luminance 0.424; OKLCH L 73.7% C 0.172 H 133.3°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#7CC042
RGBrgb(124, 192, 66)
HSLhsl(92, 50%, 51%)
HSVhsv(92, 66%, 75%)
CMYKcmyk(35.4%, 0%, 65.6%, 24.7%)
CIE-LABlab(71.13, -42.29, 54.74)
CIE-LCHlch(71.13, 69.17, 127.69°)
OKLaboklab(73.68% -0.1183 0.1254)
OKLCHoklch(73.68% 0.172 133.3)
XYZxyz(28.1447, 42.3765, 11.8498)
Luminance0.4238 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CC042 #8642C0
analogous
#BBC042 #7CC042 #42C047
triadic
#7CC042 #427CC0 #C0427C
tetradic
#7CC042 #42BBC0 #8642C0 #C04742
square
#7CC042 #42BBC0 #8642C0 #C04742
split-complementary
#7CC042 #4742C0 #C042BB
monochromatic
#416622 #5E9431 #7CC042 #9CCF70 #BCDF9E

Accessibility & contrast

On white

2.22
#7CC042 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.48
#7CC042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CC042
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CC042#FFFFFF#000000##000000
##7CC0421.002.229.489.48
#FFFFFF2.221.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B231
Deuteranopia (green-blind)
#BEAC4C
Tritanopia (blue-blind)
#7CB9A6
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #7cc042;
/* rgb */ color: rgb(124, 192, 66);
/* oklch */ color: oklch(73.7% 0.172 133.3);
Tailwind
colors: {
  custom: {
    50: '#a6d37c',
    500: '#7cc042',
    950: '#000000',
  },
}
SCSS
$custom: #7cc042;
$custom-light: #a6d37c;
$custom-dark: #000000;
JSON
{
  "hex": "#7cc042",
  "rgb": {
    "r": 124,
    "g": 192,
    "b": 66
  },
  "hsl": {
    "h": 92.381,
    "s": 50,
    "l": 50.588
  },
  "oklch": {
    "l": 0.73682,
    "c": 0.17244,
    "h": 133.3
  },
  "luminance": 0.42378
}

Semantic roles & 50–950 ramp

primary
#7CC042
secondary
#B193CB
accent
#4EDA99
background
#FAFDF7
surface
#F4FAEE
border
#CED3C9
text
#10140A
muted
#7F837C

Preview Lab

Preview with #7CC042

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

Preview Lab → · Contrast checker → · Palette generator →

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