#7CCC40#7CCC40

#7CCC40 is a light, vivid yellow-green. Relative luminance 0.478; OKLCH L 76.6% C 0.189 H 134.5°. Best body text is #000000 at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#7CCC40
RGBrgb(124, 204, 64)
HSLhsl(94, 58%, 53%)
HSVhsv(94, 69%, 80%)
CMYKcmyk(39.2%, 0%, 68.6%, 20%)
CIE-LABlab(74.72, -47.51, 59.32)
CIE-LCHlch(74.72, 76.00, 128.69°)
OKLaboklab(76.61% -0.1327 0.1348)
OKLCHoklch(76.61% 0.189 134.5)
XYZxyz(30.8298, 47.8394, 12.4590)
Luminance0.4784 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CCC40 #9040CC
analogous
#C2CC40 #7CCC40 #40CC4A
triadic
#7CCC40 #407CCC #CC407C
tetradic
#7CCC40 #40C2CC #9040CC #CC4A40
square
#7CCC40 #40C2CC #9040CC #CC4A40
split-complementary
#7CCC40 #4A40CC #CC40C2
monochromatic
#43731F #5FA32C #7CCC40 #9DD970 #BEE6A1

Accessibility & contrast

On white

1.99
#7CCC40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.57
#7CCC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CCC40
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CCC40#FFFFFF#000000##000000
##7CCC401.001.9910.5710.57
#FFFFFF1.991.0021.0021.00
#00000010.5721.001.001.00
##00000010.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC2B
Deuteranopia (green-blind)
#C9B64C
Tritanopia (blue-blind)
#7BC4B0
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #7ccc40;
/* rgb */ color: rgb(124, 204, 64);
/* oklch */ color: oklch(76.6% 0.189 134.5);
Tailwind
colors: {
  custom: {
    50: '#a8dc7c',
    500: '#7ccc40',
    950: '#000000',
  },
}
SCSS
$custom: #7ccc40;
$custom-light: #a8dc7c;
$custom-dark: #000000;
JSON
{
  "hex": "#7ccc40",
  "rgb": {
    "r": 124,
    "g": 204,
    "b": 64
  },
  "hsl": {
    "h": 94.286,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.76612,
    "c": 0.18916,
    "h": 134.5
  },
  "luminance": 0.47841
}

Semantic roles & 50–950 ramp

primary
#7CCC40
secondary
#B895D2
accent
#47E19F
background
#FAFDF7
surface
#F4FBEE
border
#CED4C9
text
#10150A
muted
#7F837C

Preview Lab

Preview with #7CCC40

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

Preview Lab → · Contrast checker → · Palette generator →

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