#7CCB40#7CCB40

#7CCB40 is a light, vivid yellow-green. Relative luminance 0.474; OKLCH L 76.4% C 0.188 H 134.4°. Best body text is #000000 at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#7CCB40
RGBrgb(124, 203, 64)
HSLhsl(94, 57%, 52%)
HSVhsv(94, 68%, 80%)
CMYKcmyk(38.9%, 0%, 68.5%, 20.4%)
CIE-LABlab(74.42, -47.09, 59.01)
CIE-LCHlch(74.42, 75.50, 128.59°)
OKLaboklab(76.37% -0.1315 0.1342)
OKLCHoklch(76.37% 0.188 134.4)
XYZxyz(30.5929, 47.3656, 12.3800)
Luminance0.4737 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CCB40 #8F40CB
analogous
#C1CB40 #7CCB40 #40CB4A
triadic
#7CCB40 #407CCB #CB407C
tetradic
#7CCB40 #40C1CB #8F40CB #CB4A40
square
#7CCB40 #40C1CB #8F40CB #CB4A40
split-complementary
#7CCB40 #4A40CB #CB40C1
monochromatic
#43721F #5FA22C #7CCB40 #9DD870 #BEE5A0

Accessibility & contrast

On white

2.01
#7CCB40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.47
#7CCB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CCB40
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CCB40#FFFFFF#000000##000000
##7CCB401.002.0110.4710.47
#FFFFFF2.011.0021.0021.00
#00000010.4721.001.001.00
##00000010.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB2B
Deuteranopia (green-blind)
#C8B54C
Tritanopia (blue-blind)
#7BC3AF
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #7ccb40;
/* rgb */ color: rgb(124, 203, 64);
/* oklch */ color: oklch(76.4% 0.188 134.4);
Tailwind
colors: {
  custom: {
    50: '#a7db7c',
    500: '#7ccb40',
    950: '#000000',
  },
}
SCSS
$custom: #7ccb40;
$custom-light: #a7db7c;
$custom-dark: #000000;
JSON
{
  "hex": "#7ccb40",
  "rgb": {
    "r": 124,
    "g": 203,
    "b": 64
  },
  "hsl": {
    "h": 94.101,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.76367,
    "c": 0.1879,
    "h": 134.4
  },
  "luminance": 0.47367
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7CCB40

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

Preview Lab → · Contrast checker → · Palette generator →

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