#7ECB51#7ECB51

#7ECB51 is a light, vivid yellow-green. Relative luminance 0.477; OKLCH L 76.6% C 0.174 H 135.7°. Best body text is #000000 at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#7ECB51
RGBrgb(126, 203, 81)
HSLhsl(98, 54%, 56%)
HSVhsv(98, 60%, 80%)
CMYKcmyk(37.9%, 0%, 60.1%, 20.4%)
CIE-LABlab(74.66, -44.97, 52.24)
CIE-LCHlch(74.66, 68.93, 130.72°)
OKLaboklab(76.63% -0.1246 0.1218)
OKLCHoklch(76.63% 0.174 135.7)
XYZxyz(31.4446, 47.7400, 15.3409)
Luminance0.4774 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7ECB51 #9E51CB
analogous
#BBCB51 #7ECB51 #51CB61
triadic
#7ECB51 #517ECB #CB517E
tetradic
#7ECB51 #51BBCB #9E51CB #CB6151
square
#7ECB51 #51BBCB #9E51CB #CB6151
split-complementary
#7ECB51 #6151CB #CB51BB
monochromatic
#457C25 #60AC33 #7ECB51 #A1D980 #C4E7AF

Accessibility & contrast

On white

1.99
#7ECB51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.55
#7ECB51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7ECB51
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7ECB51#FFFFFF#000000##000000
##7ECB511.001.9910.5510.55
#FFFFFF1.991.0021.0021.00
#00000010.5521.001.001.00
##00000010.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC44
Deuteranopia (green-blind)
#C7B55A
Tritanopia (blue-blind)
#7CC4B1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #7ecb51;
/* rgb */ color: rgb(126, 203, 81);
/* oklch */ color: oklch(76.6% 0.174 135.7);
Tailwind
colors: {
  custom: {
    50: '#a8db86',
    500: '#7ecb51',
    950: '#000000',
  },
}
SCSS
$custom: #7ecb51;
$custom-light: #a8db86;
$custom-dark: #000000;
JSON
{
  "hex": "#7ecb51",
  "rgb": {
    "r": 126,
    "g": 203,
    "b": 81
  },
  "hsl": {
    "h": 97.869,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.76632,
    "c": 0.17427,
    "h": 135.7
  },
  "luminance": 0.47742
}

Semantic roles & 50–950 ramp

primary
#7ECB51
secondary
#C3A3D5
accent
#4ADDA7
background
#FAFDF8
surface
#F4FBF0
border
#CED4CB
text
#10150B
muted
#7F837C

Preview Lab

Preview with #7ECB51

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

Preview Lab → · Contrast checker → · Palette generator →

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