#7CE040#7CE040

#7CE040 is a light, highly saturated yellow-green. Relative luminance 0.580; OKLCH L 81.5% C 0.214 H 136.3°. Best body text is #000000 at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#7CE040
RGBrgb(124, 224, 64)
HSLhsl(98, 72%, 56%)
HSVhsv(98, 71%, 88%)
CMYKcmyk(44.6%, 0%, 71.4%, 12.2%)
CIE-LABlab(80.72, -55.49, 65.46)
CIE-LCHlch(80.72, 85.81, 130.29°)
OKLaboklab(81.52% -0.1543 0.1477)
OKLCHoklch(81.52% 0.214 136.3)
XYZxyz(35.8923, 57.9643, 14.1465)
Luminance0.5797 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CE040 #A440E0
analogous
#CCE040 #7CE040 #40E054
triadic
#7CE040 #407CE0 #E0407C
tetradic
#7CE040 #40CCE0 #A440E0 #E05440
square
#7CE040 #40CCE0 #A440E0 #E05440
split-complementary
#7CE040 #5440E0 #E040CC
monochromatic
#448E17 #5DC320 #7CE040 #A0E975 #C4F1A9

Accessibility & contrast

On white

1.67
#7CE040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.59
#7CE040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CE040
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CE040#FFFFFF#000000##000000
##7CE0401.001.6712.5912.59
#FFFFFF1.671.0021.0021.00
#00000012.5921.001.001.00
##00000012.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CE24
Deuteranopia (green-blind)
#DAC550
Tritanopia (blue-blind)
#78D8C1
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #7ce040;
/* rgb */ color: rgb(124, 224, 64);
/* oklch */ color: oklch(81.5% 0.214 136.3);
Tailwind
colors: {
  custom: {
    50: '#aaea7e',
    500: '#7ce040',
    950: '#000000',
  },
}
SCSS
$custom: #7ce040;
$custom-light: #aaea7e;
$custom-dark: #000000;
JSON
{
  "hex": "#7ce040",
  "rgb": {
    "r": 124,
    "g": 224,
    "b": 64
  },
  "hsl": {
    "h": 97.5,
    "s": 72.072,
    "l": 56.471
  },
  "oklch": {
    "l": 0.81524,
    "c": 0.21358,
    "h": 136.3
  },
  "luminance": 0.57967
}

Semantic roles & 50–950 ramp

primary
#7CE040
secondary
#6E3194
accent
#39EFAB
background
#FDFEFB
surface
#F7FDF2
border
#D0D5CC
text
#11160B
muted
#81847E

Preview Lab

Preview with #7CE040

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

Preview Lab → · Contrast checker → · Palette generator →

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