#7ECF40#7ECF40

#7ECF40 is a light, vivid yellow-green. Relative luminance 0.494; OKLCH L 77.5% C 0.192 H 134.4°. Best body text is #000000 at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#7ECF40
RGBrgb(126, 207, 64)
HSLhsl(94, 60%, 53%)
HSVhsv(94, 69%, 81%)
CMYKcmyk(39.1%, 0%, 69.1%, 18.8%)
CIE-LABlab(75.72, -48.07, 60.38)
CIE-LCHlch(75.72, 77.18, 128.53°)
OKLaboklab(77.45% -0.1343 0.137)
OKLCHoklch(77.45% 0.192 134.4)
XYZxyz(31.8418, 49.4298, 12.7126)
Luminance0.4943 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7ECF40 #9140CF
analogous
#C6CF40 #7ECF40 #40CF49
triadic
#7ECF40 #407ECF #CF407E
tetradic
#7ECF40 #40C6CF #9140CF #CF4940
square
#7ECF40 #40C6CF #9140CF #CF4940
split-complementary
#7ECF40 #4940CF #CF40C6
monochromatic
#44771E #61A82A #7ECF40 #9FDB71 #C0E8A2

Accessibility & contrast

On white

1.93
#7ECF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.89
#7ECF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7ECF40
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7ECF40#FFFFFF#000000##000000
##7ECF401.001.9310.8910.89
#FFFFFF1.931.0021.0021.00
#00000010.8921.001.001.00
##00000010.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF2A
Deuteranopia (green-blind)
#CCB84D
Tritanopia (blue-blind)
#7DC7B2
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #7ecf40;
/* rgb */ color: rgb(126, 207, 64);
/* oklch */ color: oklch(77.5% 0.192 134.4);
Tailwind
colors: {
  custom: {
    50: '#a9de7d',
    500: '#7ecf40',
    950: '#000000',
  },
}
SCSS
$custom: #7ecf40;
$custom-light: #a9de7d;
$custom-dark: #000000;
JSON
{
  "hex": "#7ecf40",
  "rgb": {
    "r": 126,
    "g": 207,
    "b": 64
  },
  "hsl": {
    "h": 93.986,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.77451,
    "c": 0.19188,
    "h": 134.4
  },
  "luminance": 0.49431
}

Semantic roles & 50–950 ramp

primary
#7ECF40
secondary
#B997D4
accent
#45E39E
background
#FAFDF7
surface
#F4FBEE
border
#CED4C9
text
#10150A
muted
#7F837C

Preview Lab

Preview with #7ECF40

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

Preview Lab → · Contrast checker → · Palette generator →

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