#7CD842#7CD842

#7CD842 is a light, highly saturated yellow-green. Relative luminance 0.538; OKLCH L 79.6% C 0.203 H 135.8°. Best body text is #000000 at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#7CD842
RGBrgb(124, 216, 66)
HSLhsl(97, 66%, 55%)
HSVhsv(97, 69%, 85%)
CMYKcmyk(42.6%, 0%, 69.4%, 15.3%)
CIE-LABlab(78.34, -52.21, 62.31)
CIE-LCHlch(78.34, 81.29, 129.96°)
OKLaboklab(79.58% -0.1453 0.1413)
OKLCHoklch(79.58% 0.203 135.8)
XYZxyz(33.8506, 53.7882, 13.7517)
Luminance0.5379 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CD842 #9E42D8
analogous
#C7D842 #7CD842 #42D853
triadic
#7CD842 #427CD8 #D8427C
tetradic
#7CD842 #42C7D8 #9E42D8 #D85342
square
#7CD842 #42C7D8 #9E42D8 #D85342
split-complementary
#7CD842 #5342D8 #D842C7
monochromatic
#44841B #5EB726 #7CD842 #9FE275 #C2EDA7

Accessibility & contrast

On white

1.79
#7CD842 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.76
#7CD842 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CD842
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CD842#FFFFFF#000000##000000
##7CD8421.001.7911.7611.76
#FFFFFF1.791.0021.0021.00
#00000011.7621.001.001.00
##00000011.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C72A
Deuteranopia (green-blind)
#D3BF50
Tritanopia (blue-blind)
#79D0BA
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #7cd842;
/* rgb */ color: rgb(124, 216, 66);
/* oklch */ color: oklch(79.6% 0.203 135.8);
Tailwind
colors: {
  custom: {
    50: '#a9e57f',
    500: '#7cd842',
    950: '#000000',
  },
}
SCSS
$custom: #7cd842;
$custom-light: #a9e57f;
$custom-dark: #000000;
JSON
{
  "hex": "#7cd842",
  "rgb": {
    "r": 124,
    "g": 216,
    "b": 66
  },
  "hsl": {
    "h": 96.8,
    "s": 65.789,
    "l": 55.294
  },
  "oklch": {
    "l": 0.79576,
    "c": 0.2027,
    "h": 135.8
  },
  "luminance": 0.5379
}

Semantic roles & 50–950 ramp

primary
#7CD842
secondary
#69338B
accent
#3FE9A7
background
#FDFEFB
surface
#F7FCF2
border
#D0D5CC
text
#10160B
muted
#81847E

Preview Lab

Preview with #7CD842

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

Preview Lab → · Contrast checker → · Palette generator →

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