#7EC02B#7EC02B

#7EC02B is a light, vivid yellow-green. Relative luminance 0.423; OKLCH L 73.6% C 0.186 H 131.2°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#7EC02B
RGBrgb(126, 192, 43)
HSLhsl(87, 63%, 46%)
HSVhsv(87, 78%, 75%)
CMYKcmyk(34.4%, 0%, 77.6%, 24.7%)
CIE-LABlab(71.08, -43.10, 63.08)
CIE-LCHlch(71.08, 76.40, 124.34°)
OKLaboklab(73.62% -0.1223 0.1396)
OKLCHoklch(73.62% 0.186 131.2)
XYZxyz(27.8896, 42.3083, 8.9819)
Luminance0.4231 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EC02B #6D2BC0
analogous
#C0B72B #7EC02B #34C02B
triadic
#7EC02B #2B7EC0 #C02B7E
tetradic
#7EC02B #2BC0B7 #6D2BC0 #C02B34
square
#7EC02B #2BC0B7 #6D2BC0 #C02B34
split-complementary
#7EC02B #2B34C0 #B72BC0
monochromatic
#3C5C15 #5D8E20 #7EC02B #9CD850 #B8E382

Accessibility & contrast

On white

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

On black

9.46
#7EC02B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EC02B
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EC02B#FFFFFF#000000##000000
##7EC02B1.002.229.469.46
#FFFFFF2.221.0021.0021.00
#0000009.4621.001.001.00
##0000009.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B100
Deuteranopia (green-blind)
#C0AC3B
Tritanopia (blue-blind)
#80B8A4
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #7ec02b;
/* rgb */ color: rgb(126, 192, 43);
/* oklch */ color: oklch(73.6% 0.186 131.2);
Tailwind
colors: {
  custom: {
    50: '#a9d370',
    500: '#7ec02b',
    950: '#000000',
  },
}
SCSS
$custom: #7ec02b;
$custom-light: #a9d370;
$custom-dark: #000000;
JSON
{
  "hex": "#7ec02b",
  "rgb": {
    "r": 126,
    "g": 192,
    "b": 43
  },
  "hsl": {
    "h": 86.577,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.73624,
    "c": 0.18565,
    "h": 131.2
  },
  "luminance": 0.42309
}

Semantic roles & 50–950 ramp

primary
#7EC02B
secondary
#9F7BCC
accent
#41E68A
background
#FAFDF7
surface
#F4FAED
border
#CED3C8
text
#101408
muted
#7F837B

Preview Lab

Preview with #7EC02B

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

Preview Lab → · Contrast checker → · Palette generator →

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