#7EC931#7EC931

#7EC931 is a light, vivid yellow-green. Relative luminance 0.464; OKLCH L 75.9% C 0.193 H 132.8°. Best body text is #000000 at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#7EC931
RGBrgb(126, 201, 49)
HSLhsl(90, 61%, 49%)
HSVhsv(90, 76%, 79%)
CMYKcmyk(37.3%, 0%, 75.6%, 21.2%)
CIE-LABlab(73.82, -46.57, 63.79)
CIE-LCHlch(73.82, 78.98, 126.13°)
OKLaboklab(75.87% -0.1313 0.142)
OKLCHoklch(75.87% 0.193 132.8)
XYZxyz(30.0448, 46.4293, 10.2838)
Luminance0.4643 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EC931 #7C31C9
analogous
#C9C831 #7EC931 #32C931
triadic
#7EC931 #317EC9 #C9317E
tetradic
#7EC931 #31C9C8 #7C31C9 #C93132
square
#7EC931 #31C9C8 #7C31C9 #C93132
split-complementary
#7EC931 #3132C9 #C831C9
monochromatic
#406719 #5F9825 #7EC931 #9CD85F #BBE490

Accessibility & contrast

On white

2.04
#7EC931 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.29
#7EC931 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EC931
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EC931#FFFFFF#000000##000000
##7EC9311.002.0410.2910.29
#FFFFFF2.041.0021.0021.00
#00000010.2921.001.001.00
##00000010.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B90B
Deuteranopia (green-blind)
#C7B341
Tritanopia (blue-blind)
#7FC1AC
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #7ec931;
/* rgb */ color: rgb(126, 201, 49);
/* oklch */ color: oklch(75.9% 0.193 132.8);
Tailwind
colors: {
  custom: {
    50: '#a9da74',
    500: '#7ec931',
    950: '#000000',
  },
}
SCSS
$custom: #7ec931;
$custom-light: #a9da74;
$custom-dark: #000000;
JSON
{
  "hex": "#7ec931",
  "rgb": {
    "r": 126,
    "g": 201,
    "b": 49
  },
  "hsl": {
    "h": 89.605,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.75872,
    "c": 0.19342,
    "h": 132.8
  },
  "luminance": 0.46431
}

Semantic roles & 50–950 ramp

primary
#7EC931
secondary
#AA87CF
accent
#44E493
background
#FAFDF7
surface
#F4FAED
border
#CED3C8
text
#101509
muted
#7F837B

Preview Lab

Preview with #7EC931

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

Preview Lab → · Contrast checker → · Palette generator →

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