#7EC031#7EC031

#7EC031 is a light, vivid yellow-green. Relative luminance 0.424; OKLCH L 73.7% C 0.182 H 131.6°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#7EC031
RGBrgb(126, 192, 49)
HSLhsl(88, 59%, 47%)
HSVhsv(88, 74%, 75%)
CMYKcmyk(34.4%, 0%, 74.5%, 24.7%)
CIE-LABlab(71.12, -42.77, 61.17)
CIE-LCHlch(71.12, 74.64, 124.96°)
OKLaboklab(73.66% -0.121 0.1365)
OKLCHoklch(73.66% 0.182 131.6)
XYZxyz(28.0079, 42.3556, 9.6049)
Luminance0.4236 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EC031 #7331C0
analogous
#C0BA31 #7EC031 #37C031
triadic
#7EC031 #317EC0 #C0317E
tetradic
#7EC031 #31C0BA #7331C0 #C03137
square
#7EC031 #31C0BA #7331C0 #C03137
split-complementary
#7EC031 #3137C0 #BA31C0
monochromatic
#3E5E18 #5E8F25 #7EC031 #9CD559 #B9E18A

Accessibility & contrast

On white

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

On black

9.47
#7EC031 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EC031
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EC031#FFFFFF#000000##000000
##7EC0311.002.229.479.47
#FFFFFF2.221.0021.0021.00
#0000009.4721.001.001.00
##0000009.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B112
Deuteranopia (green-blind)
#BFAC3F
Tritanopia (blue-blind)
#80B8A5
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #7ec031;
/* rgb */ color: rgb(126, 192, 49);
/* oklch */ color: oklch(73.7% 0.182 131.6);
Tailwind
colors: {
  custom: {
    50: '#a8d373',
    500: '#7ec031',
    950: '#000000',
  },
}
SCSS
$custom: #7ec031;
$custom-light: #a8d373;
$custom-dark: #000000;
JSON
{
  "hex": "#7ec031",
  "rgb": {
    "r": 126,
    "g": 192,
    "b": 49
  },
  "hsl": {
    "h": 87.692,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.73661,
    "c": 0.18247,
    "h": 131.6
  },
  "luminance": 0.42357
}

Semantic roles & 50–950 ramp

primary
#7EC031
secondary
#A482CB
accent
#45E38E
background
#FAFDF7
surface
#F4FAED
border
#CED3C8
text
#101409
muted
#7F837B

Preview Lab

Preview with #7EC031

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

Preview Lab → · Contrast checker → · Palette generator →

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