#7CC240#7CC240

#7CC240 is a light, vivid yellow-green. Relative luminance 0.432; OKLCH L 74.2% C 0.176 H 133.4°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#7CC240
RGBrgb(124, 194, 64)
HSLhsl(92, 52%, 51%)
HSVhsv(92, 67%, 76%)
CMYKcmyk(36.1%, 0%, 67%, 23.9%)
CIE-LABlab(71.72, -43.31, 56.17)
CIE-LCHlch(71.72, 70.93, 127.63°)
OKLaboklab(74.16% -0.1212 0.1282)
OKLCHoklch(74.16% 0.176 133.4)
XYZxyz(28.5289, 43.2376, 11.6920)
Luminance0.4324 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CC240 #8640C2
analogous
#BDC240 #7CC240 #40C245
triadic
#7CC240 #407CC2 #C2407C
tetradic
#7CC240 #40BDC2 #8640C2 #C24540
square
#7CC240 #40BDC2 #8640C2 #C24540
split-complementary
#7CC240 #4540C2 #C240BD
monochromatic
#416721 #5E9530 #7CC240 #9CD16E #BCE09D

Accessibility & contrast

On white

2.18
#7CC240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.65
#7CC240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CC240
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CC240#FFFFFF#000000##000000
##7CC2401.002.189.659.65
#FFFFFF2.181.0021.0021.00
#0000009.6521.001.001.00
##0000009.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB32E
Deuteranopia (green-blind)
#C0AE4B
Tritanopia (blue-blind)
#7CBAA8
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #7cc240;
/* rgb */ color: rgb(124, 194, 64);
/* oklch */ color: oklch(74.2% 0.176 133.4);
Tailwind
colors: {
  custom: {
    50: '#a7d57b',
    500: '#7cc240',
    950: '#000000',
  },
}
SCSS
$custom: #7cc240;
$custom-light: #a7d57b;
$custom-dark: #000000;
JSON
{
  "hex": "#7cc240",
  "rgb": {
    "r": 124,
    "g": 194,
    "b": 64
  },
  "hsl": {
    "h": 92.308,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.74155,
    "c": 0.17646,
    "h": 133.4
  },
  "luminance": 0.43239
}

Semantic roles & 50–950 ramp

primary
#7CC240
secondary
#B192CC
accent
#4DDB99
background
#FAFDF7
surface
#F4FAEE
border
#CED3C9
text
#10140A
muted
#7F837C

Preview Lab

Preview with #7CC240

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

Preview Lab → · Contrast checker → · Palette generator →

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