#7CD942#7CD942

#7CD942 is a light, highly saturated yellow-green. Relative luminance 0.543; OKLCH L 79.8% C 0.204 H 135.9°. Best body text is #000000 at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#7CD942
RGBrgb(124, 217, 66)
HSLhsl(97, 67%, 55%)
HSVhsv(97, 70%, 85%)
CMYKcmyk(42.9%, 0%, 69.6%, 14.9%)
CIE-LABlab(78.64, -52.61, 62.62)
CIE-LCHlch(78.64, 81.78, 130.04°)
OKLaboklab(79.82% -0.1464 0.142)
OKLCHoklch(79.82% 0.204 135.9)
XYZxyz(34.1075, 54.3022, 13.8374)
Luminance0.5430 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CD942 #9F42D9
analogous
#C7D942 #7CD942 #42D953
triadic
#7CD942 #427CD9 #D9427C
tetradic
#7CD942 #42C7D9 #9F42D9 #D95342
square
#7CD942 #42C7D9 #9F42D9 #D95342
split-complementary
#7CD942 #5342D9 #D942C7
monochromatic
#44861B #5EB925 #7CD942 #9FE375 #C3EDA8

Accessibility & contrast

On white

1.77
#7CD942 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.86
#7CD942 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CD942
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CD942#FFFFFF#000000##000000
##7CD9421.001.7711.8611.86
#FFFFFF1.771.0021.0021.00
#00000011.8621.001.001.00
##00000011.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C72A
Deuteranopia (green-blind)
#D4C050
Tritanopia (blue-blind)
#79D1BB
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #7cd942;
/* rgb */ color: rgb(124, 217, 66);
/* oklch */ color: oklch(79.8% 0.204 135.9);
Tailwind
colors: {
  custom: {
    50: '#a9e57f',
    500: '#7cd942',
    950: '#000000',
  },
}
SCSS
$custom: #7cd942;
$custom-light: #a9e57f;
$custom-dark: #000000;
JSON
{
  "hex": "#7cd942",
  "rgb": {
    "r": 124,
    "g": 217,
    "b": 66
  },
  "hsl": {
    "h": 96.954,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.79821,
    "c": 0.20392,
    "h": 135.9
  },
  "luminance": 0.54304
}

Semantic roles & 50–950 ramp

primary
#7CD942
secondary
#6A338C
accent
#3EE9A8
background
#FDFEFB
surface
#F7FCF2
border
#D0D5CC
text
#10160B
muted
#81847E

Preview Lab

Preview with #7CD942

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

Preview Lab → · Contrast checker → · Palette generator →

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