#7CC040#7CC040

#7CC040 is a light, vivid yellow-green. Relative luminance 0.424; OKLCH L 73.7% C 0.174 H 133.1°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#7CC040
RGBrgb(124, 192, 64)
HSLhsl(92, 50%, 50%)
HSVhsv(92, 67%, 75%)
CMYKcmyk(35.4%, 0%, 66.7%, 24.7%)
CIE-LABlab(71.11, -42.45, 55.54)
CIE-LCHlch(71.11, 69.90, 127.40°)
OKLaboklab(73.66% -0.1189 0.1269)
OKLCHoklch(73.66% 0.174 133.1)
XYZxyz(28.0868, 42.3533, 11.5446)
Luminance0.4235 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CC040 #8440C0
analogous
#BCC040 #7CC040 #40C044
triadic
#7CC040 #407CC0 #C0407C
tetradic
#7CC040 #40BCC0 #8440C0 #C04440
square
#7CC040 #40BCC0 #8440C0 #C04440
split-complementary
#7CC040 #4440C0 #C040BC
monochromatic
#416421 #5E9230 #7CC040 #9CCF6E #BBDE9C

Accessibility & contrast

On white

2.22
#7CC040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.47
#7CC040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CC040
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CC040#FFFFFF#000000##000000
##7CC0401.002.229.479.47
#FFFFFF2.221.0021.0021.00
#0000009.4721.001.001.00
##0000009.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B22E
Deuteranopia (green-blind)
#BEAC4B
Tritanopia (blue-blind)
#7DB9A6
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #7cc040;
/* rgb */ color: rgb(124, 192, 64);
/* oklch */ color: oklch(73.7% 0.174 133.1);
Tailwind
colors: {
  custom: {
    50: '#a6d37b',
    500: '#7cc040',
    950: '#000000',
  },
}
SCSS
$custom: #7cc040;
$custom-light: #a6d37b;
$custom-dark: #000000;
JSON
{
  "hex": "#7cc040",
  "rgb": {
    "r": 124,
    "g": 192,
    "b": 64
  },
  "hsl": {
    "h": 91.875,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.73664,
    "c": 0.17389,
    "h": 133.1
  },
  "luminance": 0.42355
}

Semantic roles & 50–950 ramp

primary
#7CC040
secondary
#B091CB
accent
#4EDA98
background
#FAFDF7
surface
#F4FAEE
border
#CED3C9
text
#10140A
muted
#7F837C

Preview Lab

Preview with #7CC040

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

Preview Lab → · Contrast checker → · Palette generator →

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