#7EC251#7EC251

#7EC251 is a light, vivid yellow-green. Relative luminance 0.436; OKLCH L 74.4% C 0.162 H 134.7°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#7EC251
RGBrgb(126, 194, 81)
HSLhsl(96, 48%, 54%)
HSVhsv(96, 58%, 76%)
CMYKcmyk(35.1%, 0%, 58.2%, 23.9%)
CIE-LABlab(71.97, -41.10, 49.18)
CIE-LCHlch(71.97, 64.09, 129.89°)
OKLaboklab(74.44% -0.114 0.1153)
OKLCHoklch(74.44% 0.162 134.7)
XYZxyz(29.3805, 43.6120, 14.6529)
Luminance0.4361 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EC251 #9551C2
analogous
#B7C251 #7EC251 #51C25D
triadic
#7EC251 #517EC2 #C2517E
tetradic
#7EC251 #51B7C2 #9551C2 #C25D51
square
#7EC251 #51B7C2 #9551C2 #C25D51
split-complementary
#7EC251 #5D51C2 #C251B7
monochromatic
#457128 #609E37 #7EC251 #A0D27E #C1E2AC

Accessibility & contrast

On white

2.16
#7EC251 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.72
#7EC251 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EC251
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EC251#FFFFFF#000000##000000
##7EC2511.002.169.729.72
#FFFFFF2.161.0021.0021.00
#0000009.7221.001.001.00
##0000009.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B445
Deuteranopia (green-blind)
#BFAE59
Tritanopia (blue-blind)
#7DBBA9
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #7ec251;
/* rgb */ color: rgb(126, 194, 81);
/* oklch */ color: oklch(74.4% 0.162 134.7);
Tailwind
colors: {
  custom: {
    50: '#a7d585',
    500: '#7ec251',
    950: '#000000',
  },
}
SCSS
$custom: #7ec251;
$custom-light: #a7d585;
$custom-dark: #000000;
JSON
{
  "hex": "#7ec251",
  "rgb": {
    "r": 126,
    "g": 194,
    "b": 81
  },
  "hsl": {
    "h": 96.106,
    "s": 48.085,
    "l": 53.922
  },
  "oklch": {
    "l": 0.74437,
    "c": 0.16213,
    "h": 134.7
  },
  "luminance": 0.43613
}

Semantic roles & 50–950 ramp

primary
#7EC251
secondary
#BC9FD0
accent
#50D8A2
background
#FAFDF8
surface
#F4FAEF
border
#CED3CA
text
#10140B
muted
#7F837C

Preview Lab

Preview with #7EC251

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

Preview Lab → · Contrast checker → · Palette generator →

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