#7EC531#7EC531

#7EC531 is a light, vivid yellow-green. Relative luminance 0.446; OKLCH L 74.9% C 0.189 H 132.2°. Best body text is #000000 at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#7EC531
RGBrgb(126, 197, 49)
HSLhsl(89, 60%, 48%)
HSVhsv(89, 75%, 77%)
CMYKcmyk(36%, 0%, 75.1%, 22.7%)
CIE-LABlab(72.62, -44.90, 62.63)
CIE-LCHlch(72.62, 77.06, 125.64°)
OKLaboklab(74.89% -0.1268 0.1396)
OKLCHoklch(74.89% 0.189 132.2)
XYZxyz(29.1245, 44.5887, 9.9771)
Luminance0.4459 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EC531 #7831C5
analogous
#C5C231 #7EC531 #34C531
triadic
#7EC531 #317EC5 #C5317E
tetradic
#7EC531 #31C5C2 #7831C5 #C53134
square
#7EC531 #31C5C2 #7831C5 #C53134
split-complementary
#7EC531 #3134C5 #C231C5
monochromatic
#3F6319 #5F9425 #7EC531 #9CD75D #BAE38E

Accessibility & contrast

On white

2.12
#7EC531 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.92
#7EC531 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EC531
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EC531#FFFFFF#000000##000000
##7EC5311.002.129.929.92
#FFFFFF2.121.0021.0021.00
#0000009.9221.001.001.00
##0000009.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB60F
Deuteranopia (green-blind)
#C4B040
Tritanopia (blue-blind)
#7FBDA9
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #7ec531;
/* rgb */ color: rgb(126, 197, 49);
/* oklch */ color: oklch(74.9% 0.189 132.2);
Tailwind
colors: {
  custom: {
    50: '#a9d774',
    500: '#7ec531',
    950: '#000000',
  },
}
SCSS
$custom: #7ec531;
$custom-light: #a9d774;
$custom-dark: #000000;
JSON
{
  "hex": "#7ec531",
  "rgb": {
    "r": 126,
    "g": 197,
    "b": 49
  },
  "hsl": {
    "h": 88.784,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.74889,
    "c": 0.18858,
    "h": 132.2
  },
  "luminance": 0.4459
}

Semantic roles & 50–950 ramp

primary
#7EC531
secondary
#A785CD
accent
#44E391
background
#FAFDF7
surface
#F4FAED
border
#CED3C8
text
#101409
muted
#7F837B

Preview Lab

Preview with #7EC531

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

Preview Lab → · Contrast checker → · Palette generator →

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