#7CC842#7CC842

#7CC842 is a light, vivid yellow-green. Relative luminance 0.460; OKLCH L 75.6% C 0.183 H 134.3°. Best body text is #000000 at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#7CC842
RGBrgb(124, 200, 66)
HSLhsl(94, 55%, 52%)
HSVhsv(94, 67%, 78%)
CMYKcmyk(38%, 0%, 67%, 21.6%)
CIE-LABlab(73.54, -45.69, 57.30)
CIE-LCHlch(73.54, 73.28, 128.57°)
OKLaboklab(75.65% -0.1276 0.1308)
OKLCHoklch(75.65% 0.183 134.3)
XYZxyz(29.9492, 45.9856, 12.4513)
Luminance0.4599 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CC842 #8E42C8
analogous
#BFC842 #7CC842 #42C84B
triadic
#7CC842 #427CC8 #C8427C
tetradic
#7CC842 #42BFC8 #8E42C8 #C84B42
square
#7CC842 #42BFC8 #8E42C8 #C84B42
split-complementary
#7CC842 #4B42C8 #C842BF
monochromatic
#436F20 #5F9F2E #7CC842 #9DD671 #BEE4A1

Accessibility & contrast

On white

2.06
#7CC842 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.20
#7CC842 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CC842
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CC842#FFFFFF#000000##000000
##7CC8421.002.0610.2010.20
#FFFFFF2.061.0021.0021.00
#00000010.2021.001.001.00
##00000010.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B92F
Deuteranopia (green-blind)
#C5B24E
Tritanopia (blue-blind)
#7BC0AD
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #7cc842;
/* rgb */ color: rgb(124, 200, 66);
/* oklch */ color: oklch(75.6% 0.183 134.3);
Tailwind
colors: {
  custom: {
    50: '#a7d97d',
    500: '#7cc842',
    950: '#000000',
  },
}
SCSS
$custom: #7cc842;
$custom-light: #a7d97d;
$custom-dark: #000000;
JSON
{
  "hex": "#7cc842",
  "rgb": {
    "r": 124,
    "g": 200,
    "b": 66
  },
  "hsl": {
    "h": 94.03,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.75647,
    "c": 0.18274,
    "h": 134.3
  },
  "luminance": 0.45987
}

Semantic roles & 50–950 ramp

primary
#7CC842
secondary
#B796D0
accent
#4ADE9E
background
#FAFDF7
surface
#F4FAEE
border
#CED3C9
text
#10150A
muted
#7F837C

Preview Lab

Preview with #7CC842

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

Preview Lab → · Contrast checker → · Palette generator →

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