#7CCC42#7CCC42

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

Color values

HEX#7CCC42
RGBrgb(124, 204, 66)
HSLhsl(95, 58%, 53%)
HSVhsv(95, 68%, 80%)
CMYKcmyk(39.2%, 0%, 67.6%, 20%)
CIE-LABlab(74.74, -47.35, 58.56)
CIE-LCHlch(74.74, 75.31, 128.96°)
OKLaboklab(76.63% -0.1321 0.1335)
OKLCHoklch(76.63% 0.188 134.7)
XYZxyz(30.8878, 47.8626, 12.7641)
Luminance0.4786 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CCC42 #9242CC
analogous
#C1CC42 #7CCC42 #42CC4D
triadic
#7CCC42 #427CCC #CC427C
tetradic
#7CCC42 #42C1CC #9242CC #CC4D42
square
#7CCC42 #42C1CC #9242CC #CC4D42
split-complementary
#7CCC42 #4D42CC #CC42C1
monochromatic
#43741F #5FA42C #7CCC42 #9DD972 #BFE6A2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7CCC42#FFFFFF#000000##000000
##7CCC421.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)
#D4BC2E
Deuteranopia (green-blind)
#C9B64E
Tritanopia (blue-blind)
#7BC4B0
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #7ccc42;
/* rgb */ color: rgb(124, 204, 66);
/* oklch */ color: oklch(76.6% 0.188 134.7);
Tailwind
colors: {
  custom: {
    50: '#a7dc7d',
    500: '#7ccc42',
    950: '#000000',
  },
}
SCSS
$custom: #7ccc42;
$custom-light: #a7dc7d;
$custom-dark: #000000;
JSON
{
  "hex": "#7ccc42",
  "rgb": {
    "r": 124,
    "g": 204,
    "b": 66
  },
  "hsl": {
    "h": 94.783,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.76629,
    "c": 0.18781,
    "h": 134.7
  },
  "luminance": 0.47864
}

Semantic roles & 50–950 ramp

primary
#7CCC42
secondary
#BA97D3
accent
#47E1A0
background
#FAFDF7
surface
#F4FBEE
border
#CED4C9
text
#10150A
muted
#7F837C

Preview Lab

Preview with #7CCC42

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

Preview Lab → · Contrast checker → · Palette generator →

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