#7CD940#7CD940

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

Color values

HEX#7CD940
RGBrgb(124, 217, 64)
HSLhsl(96, 67%, 55%)
HSVhsv(96, 71%, 85%)
CMYKcmyk(42.9%, 0%, 70.5%, 14.9%)
CIE-LABlab(78.62, -52.75, 63.34)
CIE-LCHlch(78.62, 82.43, 129.79°)
OKLaboklab(79.81% -0.1469 0.1432)
OKLCHoklch(79.81% 0.205 135.7)
XYZxyz(34.0496, 54.2790, 13.5322)
Luminance0.5428 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CD940 #9D40D9
analogous
#C8D940 #7CD940 #40D951
triadic
#7CD940 #407CD9 #D9407C
tetradic
#7CD940 #40C8D9 #9D40D9 #D95140
square
#7CD940 #40C8D9 #9D40D9 #D95140
split-complementary
#7CD940 #5140D9 #D940C8
monochromatic
#44841A #5EB724 #7CD940 #9FE373 #C2EDA6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7CD940#FFFFFF#000000##000000
##7CD9401.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)
#E1C726
Deuteranopia (green-blind)
#D4C04E
Tritanopia (blue-blind)
#79D1BB
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #7cd940;
/* rgb */ color: rgb(124, 217, 64);
/* oklch */ color: oklch(79.8% 0.205 135.7);
Tailwind
colors: {
  custom: {
    50: '#a9e57e',
    500: '#7cd940',
    950: '#000000',
  },
}
SCSS
$custom: #7cd940;
$custom-light: #a9e57e;
$custom-dark: #000000;
JSON
{
  "hex": "#7cd940",
  "rgb": {
    "r": 124,
    "g": 217,
    "b": 64
  },
  "hsl": {
    "h": 96.471,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.79806,
    "c": 0.20517,
    "h": 135.7
  },
  "luminance": 0.54281
}

Semantic roles & 50–950 ramp

primary
#7CD940
secondary
#68328B
accent
#3EEAA6
background
#FDFEFB
surface
#F7FCF2
border
#D0D5CC
text
#10160A
muted
#81847D

Preview Lab

Preview with #7CD940

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

Preview Lab → · Contrast checker → · Palette generator →

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